Lines Matching refs:nbEBands
191 x = eBands[i+c*m->nbEBands]; in quant_coarse_energy_impl()
192 oldE = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]); in quant_coarse_energy_impl()
198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay))); in quant_coarse_energy_impl()
203 decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]) - max_decay; in quant_coarse_energy_impl()
246 error[i+c*m->nbEBands] = PSHR32(f,7) - SHL16(qi,DB_SHIFT); in quant_coarse_energy_impl()
254 oldEBands[i+c*m->nbEBands] = PSHR32(tmp, 7); in quant_coarse_energy_impl()
279 new_distortion = loss_distortion(eBands, oldEBands, start, effEnd, m->nbEBands, C); in quant_coarse_energy()
298 ALLOC(oldEBands_intra, C*m->nbEBands, opus_val16); in quant_coarse_energy()
299 ALLOC(error_intra, C*m->nbEBands, opus_val16); in quant_coarse_energy()
300 OPUS_COPY(oldEBands_intra, oldEBands, C*m->nbEBands); in quant_coarse_energy()
343 OPUS_COPY(oldEBands, oldEBands_intra, C*m->nbEBands); in quant_coarse_energy()
344 OPUS_COPY(error, error_intra, C*m->nbEBands); in quant_coarse_energy()
348 OPUS_COPY(oldEBands, oldEBands_intra, C*m->nbEBands); in quant_coarse_energy()
349 OPUS_COPY(error, error_intra, C*m->nbEBands); in quant_coarse_energy()
377 q2 = (error[i+c*m->nbEBands]+QCONST16(.5f,DB_SHIFT))>>(DB_SHIFT-fine_quant[i]); in quant_fine_energy()
379 q2 = (int)floor((error[i+c*m->nbEBands]+.5f)*frac); in quant_fine_energy()
391 oldEBands[i+c*m->nbEBands] += offset; in quant_fine_energy()
392 error[i+c*m->nbEBands] -= offset; in quant_fine_energy()
413 q2 = error[i+c*m->nbEBands]<0 ? 0 : 1; in quant_energy_finalise()
420 oldEBands[i+c*m->nbEBands] += offset; in quant_energy_finalise()
481 oldEBands[i+c*m->nbEBands] = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]); in unquant_coarse_energy()
482 tmp = PSHR32(MULT16_16(coef,oldEBands[i+c*m->nbEBands]),8) + prev[c] + SHL32(q,7); in unquant_coarse_energy()
486 oldEBands[i+c*m->nbEBands] = PSHR32(tmp, 7); in unquant_coarse_energy()
510 oldEBands[i+c*m->nbEBands] += offset; in unquant_fine_energy()
536 oldEBands[i+c*m->nbEBands] += offset; in unquant_energy_finalise()
550 bandLogE[i+c*m->nbEBands] = in amp2Log2()
551 celt_log2(SHL32(bandE[i+c*m->nbEBands],2)) in amp2Log2()
554 bandLogE[c*m->nbEBands+i] = -QCONST16(14.f,DB_SHIFT); in amp2Log2()