Lines Matching refs:BITRES
111 int shift = celt_ilog2(maxval) - 14 + (((m->logN[i]>>BITRES)+LM+1)>>1); in compute_band_energies()
289 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1); in anti_collapse()
659 qb = IMIN(b-pulse_cap-(4<<BITRES), qb); in compute_qn()
661 qb = IMIN(8<<BITRES, qb); in compute_qn()
663 if (qb<(1<<BITRES>>1)) { in compute_qn()
666 qn = exp2_table8[qb&0x7]>>(14-(qb>>BITRES)); in compute_qn()
729 pulse_cap = m->logN[i]+LM*(1<<BITRES); in compute_theta()
861 if (*b>2<<BITRES && ctx->remaining_bits > 2<<BITRES) in compute_theta()
919 if (ctx->remaining_bits>=1<<BITRES) in quant_band_n1()
928 ctx->remaining_bits -= 1<<BITRES; in quant_band_n1()
929 b-=1<<BITRES; in quant_band_n1()
1009 delta = IMIN(0, delta + (N<<BITRES>>(5-LM))); in quant_partition()
1024 if (rebalance > 3<<BITRES && itheta!=0) in quant_partition()
1025 sbits += rebalance - (3<<BITRES); in quant_partition()
1032 if (rebalance > 3<<BITRES && itheta!=16384) in quant_partition()
1033 mbits += rebalance - (3<<BITRES); in quant_partition()
1291 sbits = 1<<BITRES; in quant_band_stereo()
1348 if (rebalance > 3<<BITRES && itheta!=0) in quant_band_stereo()
1349 sbits += rebalance - (3<<BITRES); in quant_band_stereo()
1359 if (rebalance > 3<<BITRES && itheta!=16384) in quant_band_stereo()
1360 mbits += rebalance - (3<<BITRES); in quant_band_stereo()
1663 update_lowband = b>(N<<BITRES); in quant_all_bands()