Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dopus_celt.c43 if (opus_rc_tell(rc) + 3 <= f->framebits && ff_opus_rc_dec_log(rc, 3)) { in celt_decode_coarse_energy()
60 available = f->framebits - opus_rc_tell(rc); in celt_decode_coarse_energy()
100 int bits_left = f->framebits - opus_rc_tell(rc); in celt_decode_final_energy()
124 consumed = opus_rc_tell(rc); in celt_decode_tf_changes()
130 consumed = opus_rc_tell(rc); in celt_decode_tf_changes()
249 tapset = (opus_rc_tell(rc) + 2 <= f->framebits) ? in parse_postfilter()
262 consumed = opus_rc_tell(rc); in parse_postfilter()
364 consumed = opus_rc_tell(rc); in ff_celt_decode_frame()
375 rc->total_bits += f->framebits - opus_rc_tell(rc); in ff_celt_decode_frame()
Dopusenc.c261 tf_select_needed = ((f->size && (opus_rc_tell(rc) + bits + 1) <= f->framebits)); in celt_enc_tf()
264 if ((opus_rc_tell(rc) + bits + tf_select_needed) <= f->framebits) { in celt_enc_tf()
305 if ((opus_rc_tell(rc) + 2) <= f->framebits) in celt_enc_quant_pfilter()
327 if (opus_rc_tell(rc) + 3 <= f->framebits) in exp_quant_coarse()
343 const int left = f->framebits - opus_rc_tell(rc); in exp_quant_coarse()
403 …for (int i = f->start_band; i < f->end_band && (f->framebits - opus_rc_tell(rc)) >= f->channels; i… in celt_quant_final()
455 if (!f->start_band && opus_rc_tell(rc) + 16 <= f->framebits) in celt_encode_frame()
459 if (f->size && opus_rc_tell(rc) + 3 <= f->framebits) in celt_encode_frame()
Dopus_rc.h61 static av_always_inline uint32_t opus_rc_tell(const OpusRangeCoder *rc) in opus_rc_tell() function
Dopusdec.c214 consumed = opus_rc_tell(&s->rc); in opus_decode_frame()
Dopus.c572 if (opus_rc_tell(rc) + 4 <= f->framebits) { in ff_celt_bitalloc()