diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-20 15:08:36 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-02-23 02:01:18 +0100 |
commit | fc64b2ee5d5de9fc9675781c34dbfd585fb2cbd9 (patch) | |
tree | 96f97636ea4b049157c0e9f9dad74a5dcf7a4c67 /libavcodec/mpv_reconstruct_mb_template.c | |
parent | 5826166836e3e94d2a5e249e5a82e06f3285aece (diff) | |
download | ffmpeg-fc64b2ee5d5de9fc9675781c34dbfd585fb2cbd9.tar.gz |
avcodec/mpegvideo_enc: Don't reset intra buffers in mpv_reconstruct_mb()
It is not part of reconstructing the macroblock.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpv_reconstruct_mb_template.c')
-rw-r--r-- | libavcodec/mpv_reconstruct_mb_template.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/mpv_reconstruct_mb_template.c b/libavcodec/mpv_reconstruct_mb_template.c index 981c837642..ae7a9e34ce 100644 --- a/libavcodec/mpv_reconstruct_mb_template.c +++ b/libavcodec/mpv_reconstruct_mb_template.c @@ -62,15 +62,6 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64], s->cur_pic.qscale_table[mb_xy] = s->qscale; #if IS_ENCODER - /* update DC predictors for P macroblocks */ - if (!s->mb_intra) { - if (is_mpeg12 != DEFINITELY_MPEG12_H261 && (s->h263_pred || s->h263_aic)) { - if (s->mbintra_table[mb_xy]) - ff_clean_intra_table_entries(s); - } - } else if (is_mpeg12 != DEFINITELY_MPEG12_H261 && (s->h263_pred || s->h263_aic)) - s->mbintra_table[mb_xy] = 1; - if ((s->avctx->flags & AV_CODEC_FLAG_PSNR) || s->frame_skip_threshold || s->frame_skip_factor || !((s->intra_only || s->pict_type == AV_PICTURE_TYPE_B) && s->avctx->mb_decision != FF_MB_DECISION_RD)) // FIXME precalc |