From f5477702884a315d24822cf52e983155e2fce82d Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Mon, 18 May 2026 14:43:14 +0200 Subject: [PATCH] libvpx build opts exp --- scripts/build-native-codecs.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/build-native-codecs.sh b/scripts/build-native-codecs.sh index df94e6b..0da3d07 100755 --- a/scripts/build-native-codecs.sh +++ b/scripts/build-native-codecs.sh @@ -12,7 +12,7 @@ # 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. # -set -euo pipefail +#set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" ABI="${1:-arm64-v8a}" @@ -93,7 +93,19 @@ if [[ ! -f Makefile ]]; then --enable-vp9 \ --enable-static \ --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 make -j"$(nproc)" libvpx.a cp -f libvpx.a "$OUT/libvpx.a"