[FFmpeg-cvslog] avcodec/vc1: fix condition guarding overlap filter on I picture
Jerome Borsboom
git at videolan.org
Fri Jun 29 02:27:56 EEST 2018
ffmpeg | branch: master | Jerome Borsboom <jerome.borsboom at carpalis.nl> | Wed Jun 20 13:10:58 2018 +0200| [1cf6129d13a33ab43c4e403f342a5756b69482ea] | committer: Carl Eugen Hoyos
avcodec/vc1: fix condition guarding overlap filter on I picture
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>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1cf6129d13a33ab43c4e403f342a5756b69482ea
---
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 5427de4ec6..7ca7527026 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)
More information about the ffmpeg-cvslog
mailing list