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_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_mpv_decode_init(MpegEncContext *s, AVCodecContext *avctx)
Initialize the given MpegEncContext for decoding.
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)
#define AV_LOG_INFO
Standard information.
int ff_mpv_common_frame_size_change(MpegEncContext *s)
int ff_mpv_export_qp_table(MpegEncContext *s, AVFrame *f, Picture *p, int qp_type)
main external API structure.
void ff_print_debug_info(MpegEncContext *s, Picture *p, AVFrame *pict)
static int mpeg_get_qscale(MpegEncContext *s)
void ff_mpeg_flush(AVCodecContext *avctx)
void ff_mpv_frame_end(MpegEncContext *s)