]> granicus.if.org Git - libvpx/commitdiff
Fix a bug with ext-intra when skip_recode is enabled
authorhui su <huisu@google.com>
Tue, 19 Jan 2016 22:51:07 +0000 (14:51 -0800)
committerhui su <huisu@google.com>
Tue, 19 Jan 2016 22:54:31 +0000 (14:54 -0800)
Change-Id: I906945d61254149b315a6de81ac6373ed31791e6

vp10/encoder/encodemb.c

index 68cf93298dbf2fe1b3b2686584c309032d8bceaa..e359b9367c3071d2b87a49ba90958bbc708806fa 100644 (file)
@@ -766,12 +766,17 @@ void vp10_encode_block_intra(int plane, int block, int blk_row, int blk_col,
                      src_stride, dst, dst_stride);
 #endif  // CONFIG_VP9_HIGHBITDEPTH
 
+#if CONFIG_EXT_INTRA
+  vp10_xform_quant(x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
+                   VP10_XFORM_QUANT_B);
+#else
   if (!x->skip_recode)
     vp10_xform_quant(x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
                      VP10_XFORM_QUANT_B);
   else
     vp10_xform_quant(x, plane, block, blk_row, blk_col, plane_bsize, tx_size,
                      VP10_XFORM_QUANT_SKIP_QUANT);
+#endif  // CONFIG_EXT_INTRA
 
   if (*eob) {
     // inverse transform