Lines Matching refs:VLC
2 * API for creating VLC trees
59 static int alloc_table(VLC *vlc, int size, int use_static)
97 static int vlc_common_init(VLC *vlc, int nb_bits, int nb_codes,
124 * Build VLC decoding tables suitable for use with get_vlc().
137 static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
228 static int vlc_common_end(VLC *vlc, int nb_bits, int nb_codes, VLCcode *codes,
249 /* Build VLC decoding tables suitable for use with get_vlc().
272 int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
294 av_log(NULL, AV_LOG_ERROR, "Too long VLC (%u) in init_vlc\n", len);\
328 int ff_init_vlc_from_lengths(VLC *vlc, int nb_bits, int nb_codes,
359 av_log(logctx, AV_LOG_ERROR, "Invalid VLC (length %u)\n", len);
364 av_log(logctx, AV_LOG_ERROR, "Overdetermined VLC tree\n");
375 void ff_free_vlc(VLC *vlc)