Lines Matching refs:BITRES
278 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1); in anti_collapse()
625 qb = IMIN(b-pulse_cap-(4<<BITRES), (b+N2*offset)/N2); in compute_qn()
627 qb = IMIN(8<<BITRES, qb); in compute_qn()
629 if (qb<(1<<BITRES>>1)) { in compute_qn()
632 qn = exp2_table8[qb&0x7]>>(14-(qb>>BITRES)); in compute_qn()
690 pulse_cap = m->logN[i]+LM*(1<<BITRES); in compute_theta()
794 if (*b>2<<BITRES && ctx->remaining_bits > 2<<BITRES) in compute_theta()
854 if (ctx->remaining_bits>=1<<BITRES) in quant_band_n1()
863 ctx->remaining_bits -= 1<<BITRES; in quant_band_n1()
864 b-=1<<BITRES; in quant_band_n1()
950 delta = IMIN(0, delta + (N<<BITRES>>(5-LM))); in quant_partition()
966 if (rebalance > 3<<BITRES && itheta!=0) in quant_partition()
967 sbits += rebalance - (3<<BITRES); in quant_partition()
976 if (rebalance > 3<<BITRES && itheta!=16384) in quant_partition()
977 mbits += rebalance - (3<<BITRES); in quant_partition()
1255 sbits = 1<<BITRES; in quant_band_stereo()
1313 if (rebalance > 3<<BITRES && itheta!=0) in quant_band_stereo()
1314 sbits += rebalance - (3<<BITRES); in quant_band_stereo()
1328 if (rebalance > 3<<BITRES && itheta!=16384) in quant_band_stereo()
1329 mbits += rebalance - (3<<BITRES); in quant_band_stereo()
1512 update_lowband = b>(N<<BITRES); in quant_all_bands()