summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-06-18 20:15:05 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-06-19 17:54:40 +0200
commitf670c13f13999d268c2d565d2e161d6a32fa9715 (patch)
treee0767747bfa5a9ad49c4808c6f6640c7f5844dae /libavcodec/mpegvideo.c
parentb9d0a5fc215febfaa0c5b1ce5b0a799d59dd2a03 (diff)
avcodec: Rename ff_mpv_decode_mb() to ff_mpv_reconstruct_mb
The new name more accuratly describes what the function does Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index e5424cbacf..63a30b93ce 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2471,7 +2471,7 @@ void ff_clean_intra_table_entries(MpegEncContext *s)
s->interlaced_dct : true if interlaced dct used (mpeg2)
*/
static av_always_inline
-void mpv_decode_mb_internal(MpegEncContext *s, int16_t block[12][64],
+void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64],
int lowres_flag, int is_mpeg12)
{
const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
@@ -2719,16 +2719,16 @@ skip_idct:
}
}
-void ff_mpv_decode_mb(MpegEncContext *s, int16_t block[12][64])
+void ff_mpv_reconstruct_mb(MpegEncContext *s, int16_t block[12][64])
{
#if !CONFIG_SMALL
if(s->out_format == FMT_MPEG1) {
- if(s->avctx->lowres) mpv_decode_mb_internal(s, block, 1, 1);
- else mpv_decode_mb_internal(s, block, 0, 1);
+ if(s->avctx->lowres) mpv_reconstruct_mb_internal(s, block, 1, 1);
+ else mpv_reconstruct_mb_internal(s, block, 0, 1);
} else
#endif
- if(s->avctx->lowres) mpv_decode_mb_internal(s, block, 1, 0);
- else mpv_decode_mb_internal(s, block, 0, 0);
+ if(s->avctx->lowres) mpv_reconstruct_mb_internal(s, block, 1, 0);
+ else mpv_reconstruct_mb_internal(s, block, 0, 0);
}
void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h)