[FFmpeg-devel] [PATCH 1/3] avcodec/vc1: fix condition guarding overlap filter on I picture
Jerome Borsboom
jerome.borsboom at carpalis.nl
Wed Jun 20 14:10:58 EEST 2018
The overlap filter needs to run when PQUANT is 9 or higher, irrespective
of CONDOVER.
Signed-off-by: Jerome Borsboom <jerome.borsboom at carpalis.nl>
---
This patch set should fix decoding of the SA10125.vc1 test file to make it
bit-equal to the reference decoder.
libavcodec/vc1_block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c
index c620566f78..b58b71b3e0 100644
--- a/libavcodec/vc1_block.c
+++ b/libavcodec/vc1_block.c
@@ -2726,7 +2726,7 @@ static void vc1_decode_i_blocks_adv(VC1Context *v)
v->vc1dsp.vc1_inv_trans_8x8(block[k]);
}
- if (v->overlap && v->condover != CONDOVER_NONE)
+ if (v->overlap && (v->pq >= 9 || v->condover != CONDOVER_NONE))
ff_vc1_i_overlap_filter(v);
vc1_put_blocks_clamped(v, 1);
if (v->s.loop_filter)
--
2.13.6
More information about the ffmpeg-devel
mailing list