ref: bde2e4aa3674f8761b7e5b71f2e2e8af2244f36a
parent: 89a116f4cbcb2340ea51c7484a7503005823fed7
author: Johann <johannkoenig@google.com>
date: Tue Jul 18 10:20:14 EDT 2017
quantize test: eob is output eob values are generated by the function. Change-Id: I8ce92100e83022bff99888a5a7e6ef378c49fda3
--- a/test/vp9_quantize_test.cc
+++ b/test/vp9_quantize_test.cc
@@ -105,8 +105,6 @@
const TX_TYPE tx_type = (TX_TYPE)((i >> 2) % 3);
const scan_order *scan_order = &vp9_scan_orders[sz][tx_type];
const int count = (4 << sz) * (4 << sz); // 16, 64, 256
- eob = rnd.Rand16();
- ref_eob = eob;
coeff.Set(&rnd, 0, max_value_);
for (int j = 0; j < 2; j++) {
// Values determined by deconstructing vp9_init_quantizer().
@@ -179,8 +177,6 @@
const TX_TYPE tx_type = (TX_TYPE)(i % 4);
const scan_order *scan_order = &vp9_scan_orders[sz][tx_type];
const int count = (4 << sz) * (4 << sz); // 1024
- eob = rnd.Rand16();
- ref_eob = eob;
coeff.Set(&rnd, 0, max_value_);
for (int j = 0; j < 2; j++) {
zbin_ptr[j] = rnd.RandRange(1200);
@@ -245,8 +241,6 @@
TX_TYPE tx_type = (TX_TYPE)((i >> 2) % 3);
const scan_order *scan_order = &vp9_scan_orders[sz][tx_type];
int count = (4 << sz) * (4 << sz); // 16, 64, 256
- eob = rnd.Rand16();
- ref_eob = eob;
// Two random entries
coeff.Set(0);
coeff.TopLeftPixel()[rnd(count)] = rnd.RandRange(max_value_);
@@ -314,8 +308,6 @@
TX_TYPE tx_type = (TX_TYPE)(i % 4);
const scan_order *scan_order = &vp9_scan_orders[sz][tx_type];
int count = (4 << sz) * (4 << sz); // 1024
- eob = rnd.Rand16();
- ref_eob = eob;
coeff.Set(0);
// Two random entries
coeff.TopLeftPixel()[rnd(count)] = rnd.RandRange(max_value_);