Lines Matching refs:extrabits
563 int extrabits = 0; in ff_celt_bitalloc() local
836 int prev_extra = extrabits; in ff_celt_bitalloc()
837 f->pulses[i] += extrabits; in ff_celt_bitalloc()
848 extrabits = FFMAX(f->pulses[i] - f->caps[i], 0); in ff_celt_bitalloc()
849 f->pulses[i] -= extrabits; in ff_celt_bitalloc()
877 extrabits = FFMAX(f->pulses[i] - (f->channels << 3), 0); in ff_celt_bitalloc()
878 f->pulses[i] -= extrabits; in ff_celt_bitalloc()
884 if (extrabits > 0) { in ff_celt_bitalloc()
885 int fineextra = FFMIN(extrabits >> (f->channels + 2), in ff_celt_bitalloc()
890 f->fine_priority[i] = (fineextra >= extrabits - prev_extra); in ff_celt_bitalloc()
891 extrabits -= fineextra; in ff_celt_bitalloc()
894 f->remaining = extrabits; in ff_celt_bitalloc()