Lines Matching refs:max_bits
105 int max_bits; ///< maximum length of code member
121 if (length > huff->max_bits) { in tm2_read_tree()
123 huff->max_bits); in tm2_read_tree()
154 huff.max_bits = get_bits(&ctx->gb, 5); in tm2_build_huff_table()
161 (huff.max_bits < 0) || (huff.max_bits > 25)) { in tm2_build_huff_table()
163 "length: %i, max code length: %i\n", huff.val_bits, huff.max_bits); in tm2_build_huff_table()
172 if (huff.max_bits == 0) in tm2_build_huff_table()
173 huff.max_bits = 1; in tm2_build_huff_table()
187 if (res >= 0 && res != huff.max_bits) { in tm2_build_huff_table()
189 res, huff.max_bits); in tm2_build_huff_table()
200 res = ff_init_vlc_from_lengths(&code->vlc, huff.max_bits, huff.max_num, in tm2_build_huff_table()
206 code->bits = huff.max_bits; in tm2_build_huff_table()