aboutsummaryrefslogtreecommitdiff
path: root/unit_test/unit_test.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2016-05-27 18:02:47 -0700
committerFrank Barchard <fbarchard@google.com>2016-05-27 18:02:47 -0700
commitb00d40160a5a5d78a014ebbbdc4ced728d0f9cc5 (patch)
tree5a9c97835bbc8311aa89be75314b8743ce0925bd /unit_test/unit_test.cc
parentade85fb55c062d759269b06050feaa1f956c80ca (diff)
downloadlibyuv-b00d40160a5a5d78a014ebbbdc4ced728d0f9cc5.tar.gz
make unittest allocator align to 64 bytes.
blur requires memory be aligned. change the unittest allocator to guarantee 64 byte alignment. re-enable blur any test that fails if memory is unaligned. TBR=harryjin@google.com BUG=libyuv:596,libyuv:594 TESTED=local build passes with row.h removed from tests. Review URL: https://codereview.chromium.org/2019753002 .
Diffstat (limited to 'unit_test/unit_test.cc')
-rw-r--r--unit_test/unit_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_test/unit_test.cc b/unit_test/unit_test.cc
index c98c285c..95398285 100644
--- a/unit_test/unit_test.cc
+++ b/unit_test/unit_test.cc
@@ -34,7 +34,7 @@ DEFINE_int32(libyuv_cpu_info, -1,
// Set flags to -1 for benchmarking to avoid slower C code.
LibYUVConvertTest::LibYUVConvertTest() :
- benchmark_iterations_(BENCHMARK_ITERATIONS), benchmark_width_(130),
+ benchmark_iterations_(BENCHMARK_ITERATIONS), benchmark_width_(128),
benchmark_height_(72), disable_cpu_flags_(1), benchmark_cpu_info_(-1) {
const char* repeat = getenv("LIBYUV_REPEAT");
if (repeat) {