• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:vlc

103  * @param vlc    output VLC
107 static void rv34_gen_vlc(const uint8_t *bits, int size, VLC *vlc, const uint8_t *insyms,
132 vlc->table = &table_data[table_offs[num]];
133 vlc->table_allocated = table_offs[num + 1] - table_offs[num];
134 ff_init_vlc_sparse(vlc, FFMIN(maxbits, 9), realsize,
176 /** @} */ // vlc group
186 static int rv34_decode_cbp(GetBitContext *gb, RV34VLC *vlc, int table)
195 code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2);
203 cbp |= get_vlc2(gb, vlc->cbp[table][ones].table, vlc->cbp[table][ones].bits, 1) << curshift[0];
219 static inline void decode_coeff(DCTELEM *dst, int coef, int esc, GetBitContext *gb, VLC* vlc, int q)
223 coef = get_vlc2(gb, vlc->table, 9, 2);
239 static inline void decode_subblock(DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc, int q)
243 decode_coeff( dst+0*4+0, (flags >> 6) , 3, gb, vlc, q);
245 decode_coeff(dst+1*4+0, (flags >> 4) & 3, 2, gb, vlc, q);
246 decode_coeff(dst+0*4+1, (flags >> 2) & 3, 2, gb, vlc, q);
248 decode_coeff(dst+0*4+1, (flags >> 4) & 3, 2, gb, vlc, q);
249 decode_coeff(dst+1*4+0, (flags >> 2) & 3, 2, gb, vlc, q);
251 decode_coeff( dst+1*4+1, (flags >> 0) & 3, 2, gb, vlc, q);
257 static inline void decode_subblock1(DCTELEM *dst, int code, GetBitContext *gb, VLC *vlc, int q)
260 decode_coeff(dst, coeff, 3, gb, vlc, q);
263 static inline void decode_subblock3(DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc,
268 decode_coeff( dst+0*4+0, (flags >> 6) , 3, gb, vlc, q_dc);
270 decode_coeff(dst+1*4+0, (flags >> 4) & 3, 2, gb, vlc, q_ac1);
271 decode_coeff(dst+0*4+1, (flags >> 2) & 3, 2, gb, vlc, q_ac1);
273 decode_coeff(dst+0*4+1, (flags >> 4) & 3, 2, gb, vlc, q_ac1);
274 decode_coeff(dst+1*4+0, (flags >> 2) & 3, 2, gb, vlc, q_ac1);
276 decode_coeff( dst+1*4+1, (flags >> 0) & 3, 2, gb, vlc, q_ac2);