Go to the documentation of this file.
22 #ifndef AVCODEC_MPEG12DEC_H
23 #define AVCODEC_MPEG12DEC_H
29 #define INIT_2D_VLC_RL(rl, static_size, flags)\
31 static RL_VLC_ELEM rl_vlc_table[static_size];\
32 rl.rl_vlc[0] = rl_vlc_table;\
33 ff_init_2d_vlc_rl(&rl, static_size, flags);\
56 const uint16_t *quant_matrix,
57 const uint8_t *scantable,
int last_dc[3],
void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags)
static av_always_inline int get_vlc2(GetBitContext *s, const VLCElem *table, int bits, int max_depth)
Parse a vlc code.
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
static av_always_inline int diff(const uint32_t a, const uint32_t b)
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)
#define flags(name, subs,...)
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)