Lines Matching refs:alphabet_size
284 int alphabet_size)
291 for (sym = 0; sym < alphabet_size; sym++) {
306 for (sym = 0; sym < alphabet_size; sym++)
312 codes = av_malloc_array(alphabet_size, sizeof(*codes));
319 for (sym = 0; sym < alphabet_size; sym++) {
332 ret = init_vlc(&r->vlc, 8, alphabet_size,
361 int alphabet_size)
380 code_lengths = av_mallocz_array(alphabet_size, sizeof(*code_lengths));
389 if (max_symbol > alphabet_size) {
391 max_symbol, alphabet_size);
396 max_symbol = alphabet_size;
401 while (symbol < alphabet_size) {
433 if (symbol + repeat > alphabet_size) {
436 symbol, repeat, alphabet_size);
445 ret = huff_reader_build_canonical(hc, code_lengths, alphabet_size);
645 int alphabet_size = alphabet_sizes[j];
647 alphabet_size += 1 << img->color_cache_bits;
652 ret = read_huffman_code_normal(s, &hg[j], alphabet_size);