Fix a bug with ext-intra when skip_recode is enabled

Change-Id: I906945d61254149b315a6de81ac6373ed31791e6
This commit is contained in:
hui su
2016-01-19 14:51:07 -08:00
parent 63b57c311d
commit 2778b1cbb9

View 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