Commit f28b8cfe authored by Jingning Han's avatar Jingning Han

Fix inter predictor route condition

Fix a bug introduced in the previous commit that effectively
disables chroma-sub8x8.

Change-Id: I521fdc1f15f5bed5272081217e70d1e2549c7ecd
parent d4668821
......@@ -933,7 +933,7 @@ void build_inter_predictors(const AV1_COMMON *cm, MACROBLOCKD *xd, int plane,
#if CONFIG_CHROMA_SUB8X8
const BLOCK_SIZE bsize = mi->mbmi.sb_type;
int sub8x8_inter = (bw < 4) || (bh < 4);
int sub8x8_inter = bsize < BLOCK_8X8 && plane;
const int row_start = (block_size_high[bsize] == 4) ? -1 : 0;
const int col_start = (block_size_wide[bsize] == 4) ? -1 : 0;
......
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