diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-06-22 15:22:38 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-07-03 20:35:32 +0200 |
commit | abc54c25befa2f2ca4ecea23d4feb12922e6c44f (patch) | |
tree | 5ee602b90a0da4b77ffed38c3df2e4ddbbb119dc /libavcodec/rv10.c | |
parent | 60f51bdaac29121fca429274dfa2d8431999d571 (diff) | |
download | ffmpeg-abc54c25befa2f2ca4ecea23d4feb12922e6c44f.tar.gz |
avcodec/mpegvideo: Move loop_filter to {H263Dec,MPVEnc,VC1}Context
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 677db1cd42..b4545f7624 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -186,7 +186,7 @@ static int rv20_decode_picture_header(RVDecContext *rv, int whole_size) } if (RV_GET_MINOR_VER(rv->sub_id) >= 2) - h->c.loop_filter = get_bits1(&h->gb) && !h->c.avctx->lowres; + h->loop_filter = get_bits1(&h->gb) && !h->c.avctx->lowres; if (RV_GET_MINOR_VER(rv->sub_id) <= 1) seq = get_bits(&h->gb, 8) << 7; @@ -292,7 +292,7 @@ static int rv20_decode_picture_header(RVDecContext *rv, int whole_size) h->c.c_dc_scale_table = ff_mpeg1_dc_scale_table; } if (!h->c.avctx->lowres) - h->c.loop_filter = 1; + h->loop_filter = 1; if (h->c.avctx->debug & FF_DEBUG_PICT_INFO) { av_log(h->c.avctx, AV_LOG_INFO, @@ -517,7 +517,7 @@ static int rv10_decode_packet(AVCodecContext *avctx, const uint8_t *buf, if (h->c.pict_type != AV_PICTURE_TYPE_B) ff_h263_update_motion_val(&h->c); ff_mpv_reconstruct_mb(&h->c, h->block); - if (h->c.loop_filter) + if (h->loop_filter) ff_h263_loop_filter(&h->c); if (++h->c.mb_x == h->c.mb_width) { |