Commit 222f9d72 authored by Joe Young's avatar Joe Young

[chroma_sub8x8] Fix to chroma boundary calc

Disable the 2 sample adjustment when chroma_sub8x8 is enabled.

Bdrate: midres: -0.02, cif: -0.0

Change-Id: If86a64b49a2f5b284bc833f36d9f8a05235741bc
parent 2fc23095
......@@ -2689,7 +2689,7 @@ static void predict_intra_block_helper(const MACROBLOCKD *xd, int wpx, int hpx,
assert(txwpx == txhpx);
#endif // !(CONFIG_RECT_INTRA_PRED && CONFIG_RECT_TX &&
// (CONFIG_VAR_TX || CONFIG_EXT_TX))
#if CONFIG_CB4X4 && !CONFIG_CHROMA_2X2
#if CONFIG_CB4X4 && !CONFIG_CHROMA_2X2 && !CONFIG_CHROMA_SUB8X8
const int xr_chr_offset = (pd->subsampling_x && bsize < BLOCK_8X8) ? 2 : 0;
const int yd_chr_offset = (pd->subsampling_y && bsize < BLOCK_8X8) ? 2 : 0;
#else
......
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