ref: 2c9d78f0b0cdf193774e23a2e5c06ce60428b68f
parent: d8dbd853e9496dae01e06333a1d8433f11a441cc
author: Jingning Han <[email protected]>
date: Mon Mar 25 07:27:14 EDT 2019
Unify the transform and quantization process Unify the transform and quantization process for 4x4 - 16x16 transform block sizes. This doesn't affect the encoding speed visibly. Remove it to reduce the maintenance load. Change-Id: Ifbf20bf8554ecf7970a6279a2b783b1c58fac6e4
--- 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);