Go to the documentation of this file.
22 #ifndef AVCODEC_MPEG12DEC_H
23 #define AVCODEC_MPEG12DEC_H
28 #define MB_TYPE_ZERO_MV MB_TYPE_CODEC_SPECIFIC
48 const uint16_t *quant_matrix,
49 const uint8_t *scantable,
int last_dc[3],
VLCElem ff_dc_lum_vlc[512]
static av_always_inline int get_vlc2(GetBitContext *s, const VLCElem *table, int bits, int max_depth)
Parse a vlc code.
static av_always_inline int diff(const struct color_info *a, const struct color_info *b, const int trans_thresh)
static int get_xbits(GetBitContext *s, int n)
Read MPEG-1 dc-style VLC (sign bit + mantissa with no MSB).
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some it can consider them to be part of the FIFO and delay acknowledging a status change accordingly Example code
VLCElem ff_dc_chroma_vlc[514]
int ff_mpeg1_decode_block_intra(GetBitContext *gb, const uint16_t *quant_matrix, const uint8_t *scantable, int last_dc[3], int16_t *block, int index, int qscale)
The exact code depends on how similar the blocks are and how related they are to the block
static int decode_dc(GetBitContext *gb, int component)