Go to the documentation of this file.
28 #ifndef AVCODEC_MPEGVIDEODEC_H
29 #define AVCODEC_MPEGVIDEODEC_H
40 #define FF_MPV_QSCALE_TYPE_MPEG1 0
41 #define FF_MPV_QSCALE_TYPE_MPEG2 1
int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx)
generic function called after decoding the header and before a frame is decoded.
int ff_mpv_decode_init(MpegEncContext *s, AVCodecContext *avctx)
Initialize the given MpegEncContext for decoding.
int ff_mpv_export_qp_table(const MpegEncContext *s, AVFrame *f, const MPVPicture *p, int qp_type)
int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
static int get_bits_count(const GetBitContext *s)
This structure describes decoded (raw) audio or video data.
const uint8_t ff_mpeg2_non_linear_qscale[32]
void ff_mpv_report_decode_progress(MpegEncContext *s)
#define bit(string, value)
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h)
static unsigned int get_bits1(GetBitContext *s)
static int check_marker(void *logctx, GetBitContext *s, const char *msg)
void ff_mpv_reconstruct_mb(MpegEncContext *s, int16_t block[12][64])
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define AV_LOG_INFO
Standard information.
void ff_print_debug_info(const MpegEncContext *s, const MPVPicture *p, AVFrame *pict)
int ff_mpv_alloc_dummy_frames(MpegEncContext *s)
Ensure that the dummy frames are allocated according to pict_type if necessary.
int ff_mpv_decode_close(AVCodecContext *avctx)
int ff_mpv_common_frame_size_change(MpegEncContext *s)
main external API structure.
static int mpeg_get_qscale(MpegEncContext *s)
The exact code depends on how similar the blocks are and how related they are to the block
void ff_mpeg_flush(AVCodecContext *avctx)
void ff_mpv_frame_end(MpegEncContext *s)