Commit e8204e33 authored by Hui Su's avatar Hui Su

intrabc: disable it for sub8x8 4:1 partitions

Disable it for sub8x8 4:1 partitions (4x16 and 16x4), because of
conflict with cfl.

Enable it for all the other sub8x8 partitions sizes.

BUG=aomedia:998

Change-Id: Ifdd907f0ac1f987981e81c166eb71978e6ea27c3
parent 4be6cb32
......@@ -72,7 +72,9 @@ static INLINE int av1_use_angle_delta(BLOCK_SIZE bsize) {
#if CONFIG_INTRABC
static INLINE int av1_allow_intrabc(BLOCK_SIZE bsize,
const AV1_COMMON *const cm) {
return (bsize >= BLOCK_8X8 || bsize == BLOCK_4X4) &&
// TODO(huisu@google.com): intrabc is disabled for BLOCK_4X16 and
// BLOCK_16X4 because of onflict between cfl.
return bsize != BLOCK_4X16 && bsize != BLOCK_16X4 &&
cm->allow_screen_content_tools;
}
#endif // CONFIG_INTRABC
......
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