From: hui su Date: Tue, 19 Jan 2016 22:51:07 +0000 (-0800) Subject: Fix a bug with ext-intra when skip_recode is enabled X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2778b1cbb967df70c5a9ec69391b3679b592ea6e;p=libvpx Fix a bug with ext-intra when skip_recode is enabled Change-Id: I906945d61254149b315a6de81ac6373ed31791e6 --- diff --git a/vp10/encoder/encodemb.c b/vp10/encoder/encodemb.c index 68cf93298..e359b9367 100644 --- a/vp10/encoder/encodemb.c +++ b/vp10/encoder/encodemb.c @@ -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