• Home
  • Raw
  • Download

Lines Matching refs:BITRES

135       get_required_bits(tmp, entryN[i], get_pulses(entryK[i]), BITRES);  in compute_pulse_cache()
155 max_bits = C*(1+MAX_FINE_BITS)<<BITRES; in compute_pulse_cache()
192 offset = ((m->logN[j]+((LM0+k)<<BITRES))>>1)-QTHETA_OFFSET; in compute_pulse_cache()
208 … offset = ((m->logN[j]+(i<<BITRES))>>1)-(N==2?QTHETA_OFFSET_TWOPHASE:QTHETA_OFFSET); in compute_pulse_cache()
223 offset = ((m->logN[j] + (i<<BITRES))>>1)-FINE_OFFSET; in compute_pulse_cache()
226 offset += 1<<BITRES>>2; in compute_pulse_cache()
230 den = (ndof-1)<<BITRES; in compute_pulse_cache()
233 max_bits += C*qb<<BITRES; in compute_pulse_cache()
265 alloc_floor = C<<BITRES; in interp_bits2pulses()
268 logM = LM<<BITRES; in interp_bits2pulses()
344 if (band_bits >= IMAX(thresh[j], alloc_floor+(1<<BITRES))) in interp_bits2pulses()
361 …if (codedBands<=start+2 || (band_bits > (depth_threshold*band_width<<LM<<BITRES)>>4 && j<=signalBa… in interp_bits2pulses()
372 psum += 1<<BITRES; in interp_bits2pulses()
373 band_bits -= 1<<BITRES; in interp_bits2pulses()
463 offset += den<<BITRES>>2; in interp_bits2pulses()
467 if (bits[j] + offset < den*2<<BITRES) in interp_bits2pulses()
469 else if (bits[j] + offset < den*3<<BITRES) in interp_bits2pulses()
473 ebits[j] = IMAX(0, (bits[j] + offset + (den<<(BITRES-1)))); in interp_bits2pulses()
474 ebits[j] = celt_udiv(ebits[j], den)>>BITRES; in interp_bits2pulses()
477 if (C*ebits[j] > (bits[j]>>BITRES)) in interp_bits2pulses()
478 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
485 fine_priority[j] = ebits[j]*(den<<BITRES) >= bits[j]+offset; in interp_bits2pulses()
488 bits[j] -= C*ebits[j]<<BITRES; in interp_bits2pulses()
492 excess = MAX32(0,bit-(C<<BITRES)); in interp_bits2pulses()
505 extra_fine = IMIN(excess>>(stereo+BITRES),MAX_FINE_BITS-ebits[j]); in interp_bits2pulses()
507 extra_bits = extra_fine*C<<BITRES; in interp_bits2pulses()
523 ebits[j] = bits[j] >> stereo >> BITRES; in interp_bits2pulses()
524 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
551 skip_rsv = total >= 1<<BITRES ? 1<<BITRES : 0; in clt_compute_allocation()
563 dual_stereo_rsv = total>=1<<BITRES ? 1<<BITRES : 0; in clt_compute_allocation()
575 thresh[j] = IMAX((C)<<BITRES, (3*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>4); in clt_compute_allocation()
578 *(1<<(LM+BITRES))>>6; in clt_compute_allocation()
582 trim_offset[j] -= C<<BITRES; in clt_compute_allocation()
605 if (bitsj >= C<<BITRES) in clt_compute_allocation()
606 psum += C<<BITRES; in clt_compute_allocation()