Lines Matching refs:max_bits
106 int max_bits; ///< maximum length of code
122 if (length > huff->max_bits) {
124 huff->max_bits);
155 huff.max_bits = get_bits(&ctx->gb, 5);
162 (huff.max_bits < 0) || (huff.max_bits > 25)) {
164 "length: %i, max code length: %i\n", huff.val_bits, huff.max_bits);
173 if (huff.max_bits == 0)
174 huff.max_bits = 1;
188 if (res >= 0 && res != huff.max_bits) {
190 res, huff.max_bits);
201 res = ff_init_vlc_from_lengths(&code->vlc, huff.max_bits, huff.max_num,
207 code->bits = huff.max_bits;