summaryrefslogtreecommitdiff
path: root/test/fdct4x4_test.cc
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-08-08 20:12:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-08-08 20:12:42 +0000
commitcfd92dab18639c7f1198393ce04613e6d2b126eb (patch)
tree3875dc00655001eba8016ac83677ea31bfc7ae5b /test/fdct4x4_test.cc
parent6a8d4631a8b28c2fb0be87467d38174ea3c04e95 (diff)
parent2c17d54681bf6f529fac713d37075e8060e0c72a (diff)
downloadlibvpx-cfd92dab18639c7f1198393ce04613e6d2b126eb.tar
libvpx-cfd92dab18639c7f1198393ce04613e6d2b126eb.tar.gz
libvpx-cfd92dab18639c7f1198393ce04613e6d2b126eb.tar.bz2
libvpx-cfd92dab18639c7f1198393ce04613e6d2b126eb.zip
Merge changes from topic 'clang-tidy'
* changes: *_perf_test.cc: correct DoDecode signature test: apply clang-tidy google-readability-braces-around-statements
Diffstat (limited to 'test/fdct4x4_test.cc')
-rw-r--r--test/fdct4x4_test.cc3
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_));