Searched refs:bandbits (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | opus.c | 557 int i, j, low, high, total, done, bandbits, remaining, tbits_8ths; in ff_celt_bitalloc() local 676 bandbits = NORMC(ff_celt_freq_range[i] * ff_celt_static_alloc[center][i]); in ff_celt_bitalloc() 678 if (bandbits) in ff_celt_bitalloc() 679 bandbits = FFMAX(bandbits + trim_offset[i], 0); in ff_celt_bitalloc() 680 bandbits += boost[i]; in ff_celt_bitalloc() 682 if (bandbits >= threshold[i] || done) { in ff_celt_bitalloc() 684 total += FFMIN(bandbits, f->caps[i]); in ff_celt_bitalloc() 685 } else if (bandbits >= f->channels << 3) { in ff_celt_bitalloc() 725 bandbits = bits1[j] + (center * bits2[j] >> CELT_ALLOC_STEPS); in ff_celt_bitalloc() 727 if (bandbits >= threshold[j] || done) { in ff_celt_bitalloc() [all …]
|