OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 ## | 2 ## |
3 ## configure | 3 ## configure |
4 ## | 4 ## |
5 ## This script is the front-end to the build system. It provides a similar | 5 ## This script is the front-end to the build system. It provides a similar |
6 ## interface to standard configure scripts with some extra bits for dealing | 6 ## interface to standard configure scripts with some extra bits for dealing |
7 ## with toolchains that differ from the standard POSIX interface and | 7 ## with toolchains that differ from the standard POSIX interface and |
8 ## for extracting subsets of the source tree. In theory, reusable parts | 8 ## for extracting subsets of the source tree. In theory, reusable parts |
9 ## of this script were intended to live in build/make/configure.sh, | 9 ## of this script were intended to live in build/make/configure.sh, |
10 ## but in practice, the line is pretty blurry. | 10 ## but in practice, the line is pretty blurry. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 ${toggle_coefficient_range_checking} | 51 ${toggle_coefficient_range_checking} |
52 enable decoder to check if intermediate | 52 enable decoder to check if intermediate |
53 transform coefficients are in valid range | 53 transform coefficients are in valid range |
54 ${toggle_runtime_cpu_detect} runtime cpu detection | 54 ${toggle_runtime_cpu_detect} runtime cpu detection |
55 ${toggle_shared} shared library support | 55 ${toggle_shared} shared library support |
56 ${toggle_static} static library support | 56 ${toggle_static} static library support |
57 ${toggle_small} favor smaller size over speed | 57 ${toggle_small} favor smaller size over speed |
58 ${toggle_postproc_visualizer} macro block / block level visualizers | 58 ${toggle_postproc_visualizer} macro block / block level visualizers |
59 ${toggle_multi_res_encoding} enable multiple-resolution encoding | 59 ${toggle_multi_res_encoding} enable multiple-resolution encoding |
60 ${toggle_temporal_denoising} enable temporal denoising and disable the spat
ial denoiser | 60 ${toggle_temporal_denoising} enable temporal denoising and disable the spat
ial denoiser |
| 61 ${toggle_vp9_highbitdepth} enable 10/12 bit support in VP9 |
61 ${toggle_vp9_temporal_denoising} | 62 ${toggle_vp9_temporal_denoising} |
62 enable vp9 temporal denoising | 63 enable vp9 temporal denoising |
63 ${toggle_webm_io} enable input from and output to WebM container | 64 ${toggle_webm_io} enable input from and output to WebM container |
64 ${toggle_libyuv} enable libyuv | 65 ${toggle_libyuv} enable libyuv |
65 | 66 |
66 Codecs: | 67 Codecs: |
67 Codecs can be selectively enabled or disabled individually, or by family: | 68 Codecs can be selectively enabled or disabled individually, or by family: |
68 --disable-<codec> | 69 --disable-<codec> |
69 is equivalent to: | 70 is equivalent to: |
70 --disable-<codec>-encoder | 71 --disable-<codec>-encoder |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 ## | 782 ## |
782 ## END APPLICATION SPECIFIC CONFIGURATION | 783 ## END APPLICATION SPECIFIC CONFIGURATION |
783 ## | 784 ## |
784 CONFIGURE_ARGS="$@" | 785 CONFIGURE_ARGS="$@" |
785 process "$@" | 786 process "$@" |
786 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 787 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
787 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 788 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
788 static const char* const cfg = "$CONFIGURE_ARGS"; | 789 static const char* const cfg = "$CONFIGURE_ARGS"; |
789 const char *vpx_codec_build_config(void) {return cfg;} | 790 const char *vpx_codec_build_config(void) {return cfg;} |
790 EOF | 791 EOF |
OLD | NEW |