Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: third_party/libvpx/generate_gni.sh

Issue 2319813002: Add vp9 high bit depth option (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libvpx/libvpx_srcs.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libvpx/generate_gni.sh
diff --git a/third_party/libvpx/generate_gni.sh b/third_party/libvpx/generate_gni.sh
index 1516235af91ce61cfeee386b8f740bba2c340315..ab0ffd7ce38e1fbb8ff3f9f39d96cbb3866ddfa1 100755
--- a/third_party/libvpx/generate_gni.sh
+++ b/third_party/libvpx/generate_gni.sh
@@ -13,8 +13,10 @@
#
# The following optional flags are supported:
# --disable-avx : AVX+AVX2 support is disabled.
-# --only-configs: Excludes generation of GN and GYP files (i.e. only
-# configuration headers are generated).
+# --only-configs : Excludes generation of GN and GYP files (i.e. only
+# configuration headers are generated).
+# --enable-vp9-highbitdepth : Allow for high bit depth internal, 10 and 12 bit
+# vp9 encode and decode.
export LC_ALL=C
BASE_DIR=$(pwd)
@@ -33,6 +35,10 @@ case $i in
ONLY_CONFIGS=true
shift
;;
+ --enable-vp9-highbitdepth)
+ HIGHBD="--enable-vp9-highbitdepth"
+ shift
+ ;;
*)
echo "Unknown option: $i"
exit 1
@@ -306,7 +312,7 @@ cp -R $LIBVPX_SRC_DIR $TEMP_DIR
cd $TEMP_DIR
echo "Generate config files."
-all_platforms="--enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 $DISABLE_AVX --as=yasm"
+all_platforms="--enable-external-build --enable-postproc --disable-install-srcs --enable-multi-res-encoding --enable-temporal-denoising --disable-unit-tests --disable-install-docs --disable-examples --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 $DISABLE_AVX --as=yasm $HIGHBD"
jzern 2016/09/07 23:27:37 for now we only want to do this for x86 where we h
gen_config_files linux/ia32 "--target=x86-linux-gcc --disable-ccache --enable-pic --enable-realtime-only ${all_platforms}"
gen_config_files linux/x64 "--target=x86_64-linux-gcc --disable-ccache --enable-pic --enable-realtime-only ${all_platforms}"
gen_config_files linux/arm "--target=armv7-linux-gcc --enable-pic --enable-realtime-only --disable-install-bins --disable-install-libs --disable-neon ${all_platforms}"
« no previous file with comments | « no previous file | third_party/libvpx/libvpx_srcs.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698