From 2778b1cbb967df70c5a9ec69391b3679b592ea6e Mon Sep 17 00:00:00 2001 From: hui su Date: Tue, 19 Jan 2016 14:51:07 -0800 Subject: [PATCH] Fix a bug with ext-intra when skip_recode is enabled Change-Id: I906945d61254149b315a6de81ac6373ed31791e6 --- vp10/encoder/encodemb.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.40.0