Lines Matching refs:vlc
60 * @defgroup vlc RV30/40 VLC generating functions
68 * @param vlc output VLC
71 static void rv34_gen_vlc(const uint8_t *bits, int size, VLC *vlc, const uint8_t *insyms)
95 init_vlc_sparse(vlc, FFMIN(maxbits, 9), realsize,
134 /** @} */ // vlc group
220 static int rv34_decode_cbp(GetBitContext *gb, RV34VLC *vlc, int table)
229 code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2);
237 cbp |= get_vlc2(gb, vlc->cbp[table][ones].table, vlc->cbp[table][ones].bits, 1) << curshift[0];
253 static inline void decode_coeff(DCTELEM *dst, int coef, int esc, GetBitContext *gb, VLC* vlc)
257 coef = get_vlc2(gb, vlc->table, 9, 2);
273 static inline void decode_subblock(DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc)
281 decode_coeff(dst , coeffs[0], 3, gb, vlc);
283 decode_coeff(dst+8, coeffs[1], 2, gb, vlc);
284 decode_coeff(dst+1, coeffs[2], 2, gb, vlc);
286 decode_coeff(dst+1, coeffs[1], 2, gb, vlc);
287 decode_coeff(dst+8, coeffs[2], 2, gb, vlc);
289 decode_coeff(dst+9, coeffs[3], 2, gb, vlc);