From 54646e7be790e21cb0a98f38a5e971076a23289b Mon Sep 17 00:00:00 2001 From: siivonek Date: Fri, 15 Oct 2021 13:15:15 +0200 Subject: [PATCH] Disable intra reference filtering if MRL is used. --- src/intra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intra.c b/src/intra.c index f32bf985..2bd01583 100644 --- a/src/intra.c +++ b/src/intra.c @@ -561,7 +561,7 @@ void kvz_intra_predict( uint8_t multi_ref_index = color == COLOR_Y ? multi_ref_idx : 0; const kvz_intra_ref *used_ref = &refs->ref; - if (cfg->intra_smoothing_disabled || color != COLOR_Y || mode == 1 || width == 4) { + if (cfg->intra_smoothing_disabled || color != COLOR_Y || mode == 1 || width == 4 || multi_ref_index) { // For chroma, DC and 4x4 blocks, always use unfiltered reference. } else if (mode == 0) { // Otherwise, use filtered for planar.