mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:58:14 +03:00
libvpx build opts exp
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
# Note: libvpx Makefiles do not support spaces in paths (SRC_PATH_BARE). If the repo
|
# Note: libvpx Makefiles do not support spaces in paths (SRC_PATH_BARE). If the repo
|
||||||
# path contains spaces, this script builds under /tmp and copies libvpx.a back.
|
# path contains spaces, this script builds under /tmp and copies libvpx.a back.
|
||||||
#
|
#
|
||||||
set -euo pipefail
|
#set -euo pipefail
|
||||||
|
|
||||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||||
ABI="${1:-arm64-v8a}"
|
ABI="${1:-arm64-v8a}"
|
||||||
@@ -93,7 +93,19 @@ if [[ ! -f Makefile ]]; then
|
|||||||
--enable-vp9 \
|
--enable-vp9 \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--extra-cflags="-fPIC -O2"
|
--extra-cflags="-fPIC -O2" \
|
||||||
|
--enable-multi-res-encoding \
|
||||||
|
--enable-vp9-temporal-denoising \
|
||||||
|
--enable-onthefly-bitpacking \
|
||||||
|
--enable-error-concealment \
|
||||||
|
--enable-realtime-only \
|
||||||
|
--enable-postproc \
|
||||||
|
--enable-vp9-postproc \
|
||||||
|
--enable-multithread \
|
||||||
|
--enable-spatial-resampling \
|
||||||
|
--disable-debug-libs \
|
||||||
|
--disable-docs \
|
||||||
|
--enable-external-build
|
||||||
fi
|
fi
|
||||||
make -j"$(nproc)" libvpx.a
|
make -j"$(nproc)" libvpx.a
|
||||||
cp -f libvpx.a "$OUT/libvpx.a"
|
cp -f libvpx.a "$OUT/libvpx.a"
|
||||||
|
|||||||
Reference in New Issue
Block a user