Lines Matching refs:budget
158 opus_int32 budget, opus_int32 tell, in quant_coarse_energy_impl() argument
168 if (tell+3 <= budget) in quant_coarse_energy_impl()
217 bits_left = budget-tell-3*C*(end-i); in quant_coarse_energy_impl()
227 if (budget-tell >= 15) in quant_coarse_energy_impl()
234 else if(budget-tell >= 2) in quant_coarse_energy_impl()
239 else if(budget-tell >= 1) in quant_coarse_energy_impl()
262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, in quant_coarse_energy() argument
278 intra_bias = (opus_int32)((budget**delayedIntra*loss_rate)/(C*512)); in quant_coarse_energy()
282 if (tell+3 > budget) in quant_coarse_energy()
304 badness1 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget, in quant_coarse_energy()
335 badness2 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands, budget, in quant_coarse_energy()
434 opus_int32 budget; in unquant_coarse_energy() local
446 budget = dec->storage*8; in unquant_coarse_energy()
461 if(budget-tell>=15) in unquant_coarse_energy()
468 else if(budget-tell>=2) in unquant_coarse_energy()
473 else if(budget-tell>=1) in unquant_coarse_energy()