22 #ifndef AVCODEC_MPEG12_H
23 #define AVCODEC_MPEG12_H
29 #define TEX_VLC_BITS 9
31 #define MBINCR_VLC_BITS 9
32 #define MB_PAT_VLC_BITS 9
33 #define MB_PTYPE_VLC_BITS 6
34 #define MB_BTYPE_VLC_BITS 6
av_cold void ff_mpeg12_init_vlcs(void)
void ff_mpeg1_clean_buffers(MpegEncContext *s)
void av_log(void *avcl, int level, const char *fmt,...) av_printf_format(3
Send the specified message to the log if the level is less than or equal to the current av_log_level...
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static int decode_dc(GetBitContext *gb, int component)
static av_always_inline int get_vlc2(GetBitContext *s, VLC_TYPE(*table)[2], int bits, int max_depth)
Parse a vlc code.
static int get_xbits(GetBitContext *s, int n)
read mpeg1 dc style vlc (sign bit + mantisse with no MSB).
int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s)
Find the end of the current frame in the bitstream.
int ff_mpeg1_decode_block_intra(MpegEncContext *s, int16_t *block, int n)
av_cold void ff_mpeg12_common_init(MpegEncContext *s)
uint8_t ff_mpeg12_static_rl_table_store[2][2][2 *MAX_RUN+MAX_LEVEL+3]
VLC_TYPE(* table)[2]
code, bits