Go to the documentation of this file.
22 #ifndef AVCODEC_MPEG12DEC_H
23 #define AVCODEC_MPEG12DEC_H
46 const uint16_t *quant_matrix,
47 const uint8_t *scantable,
int last_dc[3],
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
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)