Lines Matching refs:BITRES
1134 boost_bits = boost*width<<BITRES; in dynalloc_analysis()
1137 boost_bits = (boost*width<<BITRES)/8; in dynalloc_analysis()
1140 boost_bits = boost*6<<BITRES; in dynalloc_analysis()
1144 && (tot_boost+boost_bits)>>BITRES>>3 > 2*effectiveBytes/3) in dynalloc_analysis()
1146 opus_int32 cap = ((2*effectiveBytes/3)<<BITRES<<3); in dynalloc_analysis()
1325 target -= (opus_int32)((coded_bins<<BITRES)*(.4f-analysis->activity)); in compute_vbr()
1340 … SHR32(MULT16_16(stereo_saving-QCONST16(0.1f,8),(coded_stereo_dof<<BITRES)),8)); in compute_vbr()
1357 tonal_target = target + (opus_int32)((coded_bins<<BITRES)*1.2f*tonal); in compute_vbr()
1359 tonal_target += (opus_int32)((coded_bins<<BITRES)*.8f); in compute_vbr()
1370 …ound_target = target + (opus_int32)SHR32(MULT16_16(surround_masking,coded_bins<<BITRES), DB_SHIFT); in compute_vbr()
1380 floor_depth = (opus_int32)SHR32(MULT16_16((C*bins<<BITRES),maxDepth), DB_SHIFT); in compute_vbr()
1556 opus_int32 den=mode->Fs>>BITRES; in celt_encode_with_ec()
1560 vbr_rate -= 8<<BITRES; in celt_encode_with_ec()
1562 effectiveBytes = vbr_rate>>(3+BITRES); in celt_encode_with_ec()
1600 (vbr_rate+vbr_bound-st->vbr_reservoir)>>(BITRES+3)), in celt_encode_with_ec()
1986 total_bits<<=BITRES; in celt_encode_with_ec()
1998 quanta = IMIN(width<<BITRES, IMAX(6<<BITRES, width)); in celt_encode_with_ec()
2001 for (j = 0; tell+(dynalloc_loop_logp<<BITRES) < total_bits-total_boost in celt_encode_with_ec()
2038 if (tell+(6<<BITRES) <= total_bits - total_boost) in celt_encode_with_ec()
2068 base_target = vbr_rate - ((40*C+20)<<BITRES); in celt_encode_with_ec()
2070 base_target = IMAX(0, vbr_rate - ((9*C+4)<<BITRES)); in celt_encode_with_ec()
2086 if (st->silk_info.offset < 100) target += 12 << BITRES >> (3-LM); in celt_encode_with_ec()
2087 if (st->silk_info.offset > 100) target -= 18 << BITRES >> (3-LM); in celt_encode_with_ec()
2090 target += (opus_int32)MULT16_16_Q14(tf_estimate-QCONST16(.25f,14), (50<<BITRES)); in celt_encode_with_ec()
2094 target = IMAX(target, 50<<BITRES); in celt_encode_with_ec()
2103 min_allowed = ((tell+total_boost+(1<<(BITRES+3))-1)>>(BITRES+3)) + 2; in celt_encode_with_ec()
2108 …min_allowed = IMAX(min_allowed, (tell0_frac+(37<<BITRES)+total_boost+(1<<(BITRES+3))-1)>>(BITRES+3… in celt_encode_with_ec()
2110 nbAvailableBytes = (target+(1<<(BITRES+2)))>>(BITRES+3); in celt_encode_with_ec()
2117 target=nbAvailableBytes<<(BITRES+3); in celt_encode_with_ec()
2127 target = 2*8<<BITRES; in celt_encode_with_ec()
2153 int adjust = (-st->vbr_reservoir)/(8<<BITRES); in celt_encode_with_ec()
2171 bits = (((opus_int32)nbCompressedBytes*8)<<BITRES) - ec_tell_frac(enc) - 1; in celt_encode_with_ec()
2172 anti_collapse_rsv = isTransient&&LM>=2&&bits>=((LM+2)<<BITRES) ? (1<<BITRES) : 0; in celt_encode_with_ec()
2208 dual_stereo, st->intensity, tf_res, nbCompressedBytes*(8<<BITRES)-anti_collapse_rsv, in celt_encode_with_ec()