]> granicus.if.org Git - libvpx/commitdiff
Make recursive txfm partitioning use uniform quantizer
authorJingning Han <jingning@google.com>
Thu, 23 Jun 2016 19:15:17 +0000 (12:15 -0700)
committerJingning Han <jingning@google.com>
Thu, 23 Jun 2016 22:23:43 +0000 (15:23 -0700)
Replace the expanded zero-bin quantizer with uniform quantizer in
the recursive transform block partitioning scheme. This improves
the compression performance by 0.4% for lowres.

Change-Id: I1c32ce9ebba0f0760e36a2c5bd20f2f5887ea5b4

vp10/encoder/rdopt.c

index bda9065b04d6b7da6c4e1bfbe2d5dbfe990b5444..a742b1e809e82493c3b96ace7af6fe4e3bd48309 100644 (file)
@@ -3060,8 +3060,7 @@ void vp10_tx_block_rd_b(const VP10_COMP *cpi, MACROBLOCK *x, TX_SIZE tx_size,
     max_blocks_wide += xd->mb_to_right_edge >> (5 + pd->subsampling_x);
 
   vp10_xform_quant(x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
-                   VP10_XFORM_QUANT_B);
-
+                   VP10_XFORM_QUANT_FP);
   vp10_optimize_b(x, plane, block, tx_size, coeff_ctx);
 
   // TODO(any): Use dist_block to compute distortion