Commit 52d2b405 authored by Jingning Han's avatar Jingning Han

Make var-tx support YUV444 format

Properly scale the chroma block size accroding to the YUV format.

BUG=aomedia:522

Change-Id: I2c42763394eea6383f81443bf1098fe05f448bd5
parent 42b903f6
......@@ -4475,7 +4475,8 @@ static int inter_block_uvrd(const AV1_COMP *cpi, MACROBLOCK *x,
#if CONFIG_CB4X4 && !CONFIG_CHROMA_2X2
if (x->skip_chroma_rd) return is_cost_valid;
bsize = AOMMAX(BLOCK_8X8, bsize);
bsize = scale_chroma_bsize(mbmi->sb_type, xd->plane[1].subsampling_x,
xd->plane[1].subsampling_y);
#endif // CONFIG_CB4X4 && !CONFIG_CHROMA_2X2
#if CONFIG_EXT_TX && CONFIG_RECT_TX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment