ref: 357adb68b21c825475e8f8142d66797bd8a8c5b4
parent: 1092cc7f1a0c08b6a19a8e4cc0cc04dd990e4601
author: Johann <johannkoenig@google.com>
date: Tue Aug 8 10:21:58 EDT 2017
quantize test: check skip_block Not all sizes were tested previously. Only 4x4 and 32x32 Change-Id: I4b4beab1b92a810a097a7306de04cc9e0e260315
--- a/test/vp9_quantize_test.cc
+++ b/test/vp9_quantize_test.cc
@@ -141,7 +141,9 @@
uint16_t eob, ref_eob;
for (int i = 0; i < number_of_iterations; ++i) {
- const int skip_block = i == 0;
+ // Test skip block for the first three iterations to catch all the different
+ // sizes.
+ const int skip_block = i < 3;
TX_SIZE sz;
if (max_size_ == 16) {
sz = (TX_SIZE)(i % 3); // TX_4X4, TX_8X8 TX_16X16
@@ -195,7 +197,7 @@
uint16_t eob, ref_eob;
for (int i = 0; i < number_of_iterations; ++i) {
- int skip_block = i == 0;
+ int skip_block = i < 3;
TX_SIZE sz;
if (max_size_ == 16) {
sz = (TX_SIZE)(i % 3); // TX_4X4, TX_8X8 TX_16X16