Lines Matching defs:bits
202 static inline int extend_code(GetBitContext *gb, int val, int range, int bits)
211 if (bits)
212 val = ((unsigned)val << bits) | get_bits(gb, bits);
217 int length, int mode, int bits)
233 dst[i] = get_bits(gb, bits);
253 t = get_vlc2(gb, vlc[cmode].table, vlc[cmode].bits, 2);
273 code_params = get_vlc2(gb, set->coding_mode.table, set->coding_mode.bits, 2);
291 t = get_vlc2(gb, code_vlc->table, code_vlc->bits, 2);
305 static void apply_lpc(RALFContext *ctx, int ch, int length, int bits)
310 int max_clip = (1 << bits) - 1, min_clip = -max_clip - 1;
334 int dmode, mode[2], bits[2];
357 bits[0] = 16;
358 bits[1] = (mode[1] == 2) ? 17 : 16;
361 if ((ret = decode_channel(ctx, gb, ch, len, mode[ch], bits[ch])) < 0)
365 apply_lpc(ctx, ch, len, bits[ch]);