Searched refs:framebits (Results 1 – 5 of 5) sorted by relevance
94 if (s->frame[0].framebits == s->frame[1].framebits) { /* same size */ in opus_gen_toc()109 *fsize_needed |= (s->frame[i].framebits != s->frame[i + 1].framebits); in opus_gen_toc()263 tf_select_needed = ((f->size && (opus_rc_tell(rc) + bits + 1) <= f->framebits)); in celt_enc_tf()266 if ((opus_rc_tell(rc) + bits + tf_select_needed) <= f->framebits) { in celt_enc_tf()307 if ((opus_rc_tell(rc) + 2) <= f->framebits) in celt_enc_quant_pfilter()329 if (opus_rc_tell(rc) + 3 <= f->framebits) in exp_quant_coarse()345 const int left = f->framebits - opus_rc_tell(rc); in exp_quant_coarse()405 …for (int i = f->start_band; i < f->end_band && (f->framebits - opus_rc_tell(rc)) >= f->channels; i… in celt_quant_final()430 if (f->framebits >= 16) in celt_encode_frame()457 if (!f->start_band && opus_rc_tell(rc) + 16 <= f->framebits) in celt_encode_frame()[all …]
43 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()125 tf_select_bit = (f->size != 0 && consumed+bits+1 <= f->framebits); in celt_decode_tf_changes()128 if (consumed+bits+tf_select_bit <= f->framebits) { in celt_decode_tf_changes()240 if (f->start_band == 0 && consumed + 16 <= f->framebits) { in parse_postfilter()249 tapset = (opus_rc_tell(rc) + 2 <= f->framebits) ? in parse_postfilter()346 f->framebits = rc->rb.bytes * 8; in ff_celt_decode_frame()367 if (consumed >= f->framebits) in ff_celt_decode_frame()374 consumed = f->framebits; in ff_celt_decode_frame()[all …]
46 f->remaining2 = ((f->framebits << 3) - f->anticollapse_needed) - opus_rc_tell_frac(rc) - 1; in pvq_band_cost()270 f->framebits = 0; /* Otherwise the silence flag eats up 16(!) bits */ in ff_opus_psy_celt_frame_init()358 f_out->framebits = lrintf(rate); in celt_gauge_psy_weight()359 f_out->framebits = FFMIN(f_out->framebits, OPUS_MAX_PACKET_SIZE*8); in celt_gauge_psy_weight()360 f_out->framebits = FFALIGN(f_out->framebits, 8); in celt_gauge_psy_weight()504 s->lambda *= ideal_fbits / f[i].framebits; in ff_opus_psy_postencode_update()
133 int framebits; member
475 int totalbits = (f->framebits << 3) - f->anticollapse_needed; in ff_celt_quant_bands()595 if (opus_rc_tell(rc) + 4 <= f->framebits) { in ff_celt_bitalloc()609 tbits_8ths = f->framebits << 3; in ff_celt_bitalloc()648 tbits_8ths = (f->framebits << 3) - opus_rc_tell_frac(rc) - 1; in ff_celt_bitalloc()