|
|
@ -2471,7 +2471,7 @@ void ff_clean_intra_table_entries(MpegEncContext *s) |
|
|
|
s->interlaced_dct : true if interlaced dct used (mpeg2) |
|
|
|
s->interlaced_dct : true if interlaced dct used (mpeg2) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static av_always_inline |
|
|
|
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) |
|
|
|
int lowres_flag, int is_mpeg12) |
|
|
|
{ |
|
|
|
{ |
|
|
|
const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; |
|
|
|
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 !CONFIG_SMALL |
|
|
|
if(s->out_format == FMT_MPEG1) { |
|
|
|
if(s->out_format == FMT_MPEG1) { |
|
|
|
if(s->avctx->lowres) mpv_decode_mb_internal(s, block, 1, 1); |
|
|
|
if(s->avctx->lowres) mpv_reconstruct_mb_internal(s, block, 1, 1); |
|
|
|
else mpv_decode_mb_internal(s, block, 0, 1); |
|
|
|
else mpv_reconstruct_mb_internal(s, block, 0, 1); |
|
|
|
} else |
|
|
|
} else |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
if(s->avctx->lowres) mpv_decode_mb_internal(s, block, 1, 0); |
|
|
|
if(s->avctx->lowres) mpv_reconstruct_mb_internal(s, block, 1, 0); |
|
|
|
else mpv_decode_mb_internal(s, block, 0, 0); |
|
|
|
else mpv_reconstruct_mb_internal(s, block, 0, 0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h) |
|
|
|
void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h) |
|
|
|