OLD | NEW |
(Empty) | |
| 1 # Introduction |
| 2 |
| 3 For test purposes, environment variables can be set to control libyuv behavior.
These should only be used for testing, to narrow down bugs or to test performan
ce. |
| 4 |
| 5 # CPU |
| 6 |
| 7 By default the cpu is detected and the most advanced form of SIMD is used. But
you can disable instruction sets selectively, or completely, falling back on C c
ode. Set the variable to 1 to disable the specified instruction set. |
| 8 |
| 9 LIBYUV_DISABLE_ASM |
| 10 LIBYUV_DISABLE_X86 |
| 11 LIBYUV_DISABLE_SSE2 |
| 12 LIBYUV_DISABLE_SSSE3 |
| 13 LIBYUV_DISABLE_SSE41 |
| 14 LIBYUV_DISABLE_SSE42 |
| 15 LIBYUV_DISABLE_AVX |
| 16 LIBYUV_DISABLE_AVX2 |
| 17 LIBYUV_DISABLE_AVX3 |
| 18 LIBYUV_DISABLE_ERMS |
| 19 LIBYUV_DISABLE_FMA3 |
| 20 LIBYUV_DISABLE_MIPS_DSPR2 |
| 21 LIBYUV_DISABLE_NEON |
| 22 |
| 23 # Test Width/Height/Repeat |
| 24 |
| 25 The unittests default to a small image (32x18) to run fast. This can be set by
environment variable to test a specific resolutions. |
| 26 You can also repeat the test a specified number of iterations, allowing benchmar
king and profiling. |
| 27 |
| 28 set LIBYUV_WIDTH=1280 |
| 29 set LIBYUV_HEIGHT=720 |
| 30 set LIBYUV_REPEAT=999 |
| 31 set LIBYUV_FLAGS=-1 |
| 32 set LIBYUV_CPU_INFO=-1 |
OLD | NEW |