ref: 355432b0d2c3d700022ab1f6858a9ce58074a46c
parent: 96ec8a425b5dde7eb2d747146af4da10c26bd4b4
parent: 1c48915233ffd62f5bfc9ffe660c87b4552aacaf
author: Johann Koenig <johannkoenig@google.com>
date: Wed Jun 21 17:16:23 EDT 2017
Merge "dct tests: align InvAccuracyCheck buffers"
--- a/test/dct_test.cc
+++ b/test/dct_test.cc
@@ -307,13 +307,13 @@
const int count_test_block = 1000;
Buffer<int16_t> in = Buffer<int16_t>(size_, size_, 4);
ASSERT_TRUE(in.Init());
- Buffer<tran_low_t> coeff = Buffer<tran_low_t>(size_, size_, 0);
+ Buffer<tran_low_t> coeff = Buffer<tran_low_t>(size_, size_, 0, 16);
ASSERT_TRUE(coeff.Init());
- Buffer<uint8_t> dst = Buffer<uint8_t>(size_, size_, 0);
+ Buffer<uint8_t> dst = Buffer<uint8_t>(size_, size_, 0, 16);
ASSERT_TRUE(dst.Init());
Buffer<uint8_t> src = Buffer<uint8_t>(size_, size_, 0);
ASSERT_TRUE(src.Init());
- Buffer<uint16_t> dst16 = Buffer<uint16_t>(size_, size_, 0);
+ Buffer<uint16_t> dst16 = Buffer<uint16_t>(size_, size_, 0, 16);
ASSERT_TRUE(dst16.Init());
Buffer<uint16_t> src16 = Buffer<uint16_t>(size_, size_, 0);
ASSERT_TRUE(src16.Init());