diff options
Diffstat (limited to 'test/fdct4x4_test.cc')
-rw-r--r-- | test/fdct4x4_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fdct4x4_test.cc b/test/fdct4x4_test.cc index 327793623..1270dae94 100644 --- a/test/fdct4x4_test.cc +++ b/test/fdct4x4_test.cc @@ -170,8 +170,9 @@ class Trans4x4TestBase { for (int i = 0; i < count_test_block; ++i) { // Initialize a test block with input range [-mask_, mask_]. - for (int j = 0; j < kNumCoeffs; ++j) + for (int j = 0; j < kNumCoeffs; ++j) { input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); + } fwd_txfm_ref(input_block, output_ref_block, pitch_, tx_type_); ASM_REGISTER_STATE_CHECK(RunFwdTxfm(input_block, output_block, pitch_)); |