• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:vlc

105  * @param vlc    output VLC
109 static void rv34_gen_vlc(const uint8_t *bits, int size, VLC *vlc, const uint8_t *insyms,
134 vlc->table = &table_data[table_offs[num]];
135 vlc->table_allocated = table_offs[num + 1] - table_offs[num];
136 ff_init_vlc_sparse(vlc, FFMIN(maxbits, 9), realsize,
178 /** @} */ // vlc group
188 static int rv34_decode_cbp(GetBitContext *gb, RV34VLC *vlc, int table)
197 code = get_vlc2(gb, vlc->cbppattern[table].table, 9, 2);
205 cbp |= get_vlc2(gb, vlc->cbp[table][ones].table, vlc->cbp[table][ones].bits, 1) << curshift[0];
221 static inline void decode_coeff(int16_t *dst, int coef, int esc, GetBitContext *gb, VLC* vlc, int q)
225 coef = get_vlc2(gb, vlc->table, 9, 2);
241 static inline void decode_subblock(int16_t *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc, int q)
245 decode_coeff( dst+0*4+0, (flags >> 6) , 3, gb, vlc, q);
247 decode_coeff(dst+1*4+0, (flags >> 4) & 3, 2, gb, vlc, q);
248 decode_coeff(dst+0*4+1, (flags >> 2) & 3, 2, gb, vlc, q);
250 decode_coeff(dst+0*4+1, (flags >> 4) & 3, 2, gb, vlc, q);
251 decode_coeff(dst+1*4+0, (flags >> 2) & 3, 2, gb, vlc, q);
253 decode_coeff( dst+1*4+1, (flags >> 0) & 3, 2, gb, vlc, q);
259 static inline void decode_subblock1(int16_t *dst, int code, GetBitContext *gb, VLC *vlc, int q)
262 decode_coeff(dst, coeff, 3, gb, vlc, q);
265 static inline void decode_subblock3(int16_t *dst, int code, GetBitContext *gb, VLC *vlc,
270 decode_coeff(dst+0*4+0, (flags >> 6) , 3, gb, vlc, q_dc);
271 decode_coeff(dst+0*4+1, (flags >> 4) & 3, 2, gb, vlc, q_ac1);
272 decode_coeff(dst+1*4+0, (flags >> 2) & 3, 2, gb, vlc, q_ac1);
273 decode_coeff(dst+1*4+1, (flags >> 0) & 3, 2, gb, vlc, q_ac2);