]> granicus.if.org Git - libvpx/commitdiff
Align the quantizers for inter/inter modes in the first pass coding
authorJingning Han <jingning@google.com>
Mon, 18 Jul 2016 17:14:13 +0000 (10:14 -0700)
committerJingning Han <jingning@google.com>
Mon, 18 Jul 2016 17:16:03 +0000 (10:16 -0700)
Use regular extended zero bin quantizer for both inter and intra
modes in the first pass. This doesn't affect lowres and midres
significantly, but would bring back 0.9% coding gains for hdres.

Change-Id: Ifa5977fa7b141fc5be595c0f3a4fc81a93f6606f

vp10/encoder/encodemb.c

index 34428a7ef8e73b00d33b01bd77c4e6c83c51165b..aceb10f1b6b2ed0534b775a5e450bb27ce9e408d 100644 (file)
@@ -1111,7 +1111,7 @@ static void encode_block_pass1(int plane, int block, int blk_row, int blk_col,
                           tx_size, ctx);
 #else
   vp10_xform_quant(x, plane, block, blk_row, blk_col, plane_bsize,
-                   tx_size, VP10_XFORM_QUANT_FP);
+                   tx_size, VP10_XFORM_QUANT_B);
 #endif  // CONFIG_NEW_QUANT
 
   if (p->eobs[block] > 0) {