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 18 matching lines...) Expand all Loading... |
29 --cpu=CPU tune for the specified CPU (ARM: cortex-a8, X8
6: sse3) | 29 --cpu=CPU tune for the specified CPU (ARM: cortex-a8, X8
6: sse3) |
30 --libc=PATH path to alternate libc | 30 --libc=PATH path to alternate libc |
31 --size-limit=WxH max size to allow in the decoder | 31 --size-limit=WxH max size to allow in the decoder |
32 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred] | 32 --as={yasm|nasm|auto} use specified assembler [auto, yasm preferred] |
33 --sdk-path=PATH path to root of sdk (android builds only) | 33 --sdk-path=PATH path to root of sdk (android builds only) |
34 ${toggle_fast_unaligned} don't use unaligned accesses, even when | 34 ${toggle_fast_unaligned} don't use unaligned accesses, even when |
35 supported by hardware [auto] | 35 supported by hardware [auto] |
36 ${toggle_codec_srcs} in/exclude codec library source code | 36 ${toggle_codec_srcs} in/exclude codec library source code |
37 ${toggle_debug_libs} in/exclude debug version of libraries | 37 ${toggle_debug_libs} in/exclude debug version of libraries |
38 ${toggle_static_msvcrt} use static MSVCRT (VS builds only) | 38 ${toggle_static_msvcrt} use static MSVCRT (VS builds only) |
| 39 ${toggle_vp9_highbitdepth} use VP9 high bit depth (10/12) profiles |
39 ${toggle_vp8} VP8 codec support | 40 ${toggle_vp8} VP8 codec support |
40 ${toggle_vp9} VP9 codec support | 41 ${toggle_vp9} VP9 codec support |
41 ${toggle_internal_stats} output of encoder internal stats for debug, if
supported (encoders) | 42 ${toggle_internal_stats} output of encoder internal stats for debug, if
supported (encoders) |
42 ${toggle_mem_tracker} track memory usage | 43 ${toggle_mem_tracker} track memory usage |
43 ${toggle_postproc} postprocessing | 44 ${toggle_postproc} postprocessing |
44 ${toggle_vp9_postproc} vp9 specific postprocessing | 45 ${toggle_vp9_postproc} vp9 specific postprocessing |
45 ${toggle_multithread} multithreaded encoding and decoding | 46 ${toggle_multithread} multithreaded encoding and decoding |
46 ${toggle_spatial_resampling} spatial sampling (scaling) support | 47 ${toggle_spatial_resampling} spatial sampling (scaling) support |
47 ${toggle_realtime_only} enable this option while building for real-tim
e encoding | 48 ${toggle_realtime_only} enable this option while building for real-tim
e encoding |
48 ${toggle_onthefly_bitpacking} enable on-the-fly bitpacking in real-time enco
ding | 49 ${toggle_onthefly_bitpacking} enable on-the-fly bitpacking in real-time enco
ding |
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 ## | 781 ## |
781 ## END APPLICATION SPECIFIC CONFIGURATION | 782 ## END APPLICATION SPECIFIC CONFIGURATION |
782 ## | 783 ## |
783 CONFIGURE_ARGS="$@" | 784 CONFIGURE_ARGS="$@" |
784 process "$@" | 785 process "$@" |
785 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 786 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
786 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 787 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
787 static const char* const cfg = "$CONFIGURE_ARGS"; | 788 static const char* const cfg = "$CONFIGURE_ARGS"; |
788 const char *vpx_codec_build_config(void) {return cfg;} | 789 const char *vpx_codec_build_config(void) {return cfg;} |
789 EOF | 790 EOF |
OLD | NEW |