Lines Matching refs:psum
253 opus_int32 psum; in interp_bits2pulses() local
274 psum = 0; in interp_bits2pulses()
283 psum += IMIN(tmp, cap[j]); in interp_bits2pulses()
286 psum += alloc_floor; in interp_bits2pulses()
289 if (psum > total) in interp_bits2pulses()
294 psum = 0; in interp_bits2pulses()
311 psum += tmp; in interp_bits2pulses()
335 left = total-psum; in interp_bits2pulses()
367 psum += 1<<BITRES; in interp_bits2pulses()
371 psum -= bits[j]+intensity_rsv; in interp_bits2pulses()
374 psum += intensity_rsv; in interp_bits2pulses()
378 psum += alloc_floor; in interp_bits2pulses()
416 left = total-psum; in interp_bits2pulses()
583 int psum = 0; in compute_allocation() local
597 psum += IMIN(bitsj, cap[j]); in compute_allocation()
600 psum += C<<BITRES; in compute_allocation()
603 if (psum > total) in compute_allocation()