diff --git a/README.chromium b/README.chromium index dab7b4292..23d3af2db 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1595 +Version: 1596 License: BSD License File: LICENSE diff --git a/docs/getting_started.md b/docs/getting_started.md index d4b7a9b78..7cd56167f 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -180,7 +180,7 @@ Running test as benchmark: Running test with C code: - util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --release --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=0 --libyuv_cpu_info=0" + util/android/test_runner.py gtest -s libyuv_unittest -t 7200 --verbose --release --gtest_filter=* -a "--libyuv_width=1280 --libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=1 --libyuv_cpu_info=1" #### Building with GN diff --git a/include/libyuv/cpu_id.h b/include/libyuv/cpu_id.h index 2ccc3e7dd..dfb7445e2 100644 --- a/include/libyuv/cpu_id.h +++ b/include/libyuv/cpu_id.h @@ -62,7 +62,7 @@ static __inline int TestCpuFlag(int test_flag) { // For testing, allow CPU flags to be disabled. // ie MaskCpuFlags(~kCpuHasSSSE3) to disable SSSE3. // MaskCpuFlags(-1) to enable all cpu specific optimizations. -// MaskCpuFlags(0) to disable all cpu specific optimizations. +// MaskCpuFlags(1) to disable all cpu specific optimizations. LIBYUV_API void MaskCpuFlags(int enable_flags); diff --git a/include/libyuv/version.h b/include/libyuv/version.h index a38da9354..11cf4a2fe 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1595 +#define LIBYUV_VERSION 1596 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/unit_test/unit_test.cc b/unit_test/unit_test.cc index 95398285c..e75510fd7 100644 --- a/unit_test/unit_test.cc +++ b/unit_test/unit_test.cc @@ -25,9 +25,10 @@ unsigned int fastrand_seed = 0xfb; DEFINE_int32(libyuv_width, 0, "width of test image."); DEFINE_int32(libyuv_height, 0, "height of test image."); DEFINE_int32(libyuv_repeat, 0, "number of times to repeat test."); -DEFINE_int32(libyuv_flags, 0, "cpu flags for reference code. 0 = C -1 = asm"); -DEFINE_int32(libyuv_cpu_info, -1, - "cpu flags for benchmark code. -1 = SIMD, 1 = C"); +DEFINE_int32(libyuv_flags, 0, + "cpu flags for reference code. 1 = C, -1 = SIMD"); +DEFINE_int32(libyuv_cpu_info, 0, + "cpu flags for benchmark code. 1 = C, -1 = SIMD"); // For quicker unittests, default is 128 x 72. But when benchmarking, // default to 720p. Allow size to specify.