shithub: libvpx

Download patch

ref: 4702bb26be21d4a9ec129c89e711ebf79265033e
parent: e1809501d0eaef5b61e84be8973aaacb5cf12ddc
parent: bde2e4aa3674f8761b7e5b71f2e2e8af2244f36a
author: Johann Koenig <johannkoenig@google.com>
date: Thu Jul 20 11:17:26 EDT 2017

Merge "quantize test: eob is output"

--- 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_);