shithub: libvpx

Download patch

ref: d14306c16c118e19f435a6adf829697b0024136f
parent: 0d2299c1ee04b9fb7c30e3ad555bf12e95157dfa
parent: 2c9d78f0b0cdf193774e23a2e5c06ce60428b68f
author: Jingning Han <jingning@google.com>
date: Mon Mar 25 19:49:52 EDT 2019

Merge "Unify the transform and quantization process"

--- a/vp9/encoder/vp9_encodemb.c
+++ b/vp9/encoder/vp9_encodemb.c
@@ -404,9 +404,11 @@
                       scan_order->iscan);
       break;
     case TX_8X8:
-      vp9_fdct8x8_quant(src_diff, diff_stride, coeff, 64, x->skip_block,
-                        p->round_fp, p->quant_fp, qcoeff, dqcoeff, pd->dequant,
-                        eob, scan_order->scan, scan_order->iscan);
+      vpx_fdct8x8(src_diff, coeff, diff_stride);
+      vp9_quantize_fp(coeff, 64, x->skip_block, p->round_fp, p->quant_fp,
+                      qcoeff, dqcoeff, pd->dequant, eob, scan_order->scan,
+                      scan_order->iscan);
+
       break;
     default:
       assert(tx_size == TX_4X4);