Lines Matching defs:BITRES
998 opus_int32 den=st->mode->Fs>>BITRES;
1002 vbr_rate -= 8<<BITRES;
1004 effectiveBytes = vbr_rate>>(3+BITRES);
1039 (vbr_rate+vbr_bound-st->vbr_reservoir)>>(BITRES+3)),
1349 total_bits<<=BITRES;
1361 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
1364 for (j = 0; tell+(dynalloc_loop_logp<<BITRES) < total_bits-total_boost
1383 if (tell+(6<<BITRES) <= total_bits - total_boost)
1404 target = vbr_rate + (st->vbr_offset>>lm_diff) - ((40*C+20)<<BITRES);
1423 min_allowed = ((tell+total_boost+(1<<(BITRES+3))-1)>>(BITRES+3)) + 2 - nbFilledBytes;
1425 nbAvailableBytes = (target+(1<<(BITRES+2)))>>(BITRES+3);
1432 target=nbAvailableBytes<<(BITRES+3);
1436 span of silence, but we do allow the bitres to refill.
1442 target = 2*8<<BITRES;
1465 int adjust = (-st->vbr_reservoir)/(8<<BITRES);
1511 bits = (((opus_int32)nbCompressedBytes*8)<<BITRES) - ec_tell_frac(enc) - 1;
1512 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0;
1536 nbCompressedBytes*(8<<BITRES)-anti_collapse_rsv, balance, enc, LM, codedBands, &st->rng);
2528 total_bits<<=BITRES;
2538 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width));
2541 while (tell+(dynalloc_loop_logp<<BITRES) < total_bits && boost < cap[i])
2559 alloc_trim = tell+(6<<BITRES) <= total_bits ?
2562 bits = (((opus_int32)len*8)<<BITRES) - ec_tell_frac(dec) - 1;
2563 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0;
2575 len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng);