Home
last modified time | relevance | path

Searched refs:tbits_8ths (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopus.c557 int i, j, low, high, total, done, bandbits, remaining, tbits_8ths; in ff_celt_bitalloc() local
586 tbits_8ths = f->framebits << 3; in ff_celt_bitalloc()
593 while (opus_rc_tell_frac(rc) + (b_dynalloc << 3) < tbits_8ths && boost[i] < f->caps[i]) { in ff_celt_bitalloc()
606 tbits_8ths -= quanta; in ff_celt_bitalloc()
618 if (opus_rc_tell_frac(rc) + (6 << 3) <= tbits_8ths) in ff_celt_bitalloc()
625 tbits_8ths = (f->framebits << 3) - opus_rc_tell_frac(rc) - 1; in ff_celt_bitalloc()
627 if (f->transient && f->size >= 2 && tbits_8ths >= ((f->size + 2) << 3)) in ff_celt_bitalloc()
629 tbits_8ths -= f->anticollapse_needed; in ff_celt_bitalloc()
632 if (tbits_8ths >= 1 << 3) in ff_celt_bitalloc()
634 tbits_8ths -= skip_bit; in ff_celt_bitalloc()
[all …]