Home
last modified time | relevance | path

Searched refs:oldEBands (Results 1 – 2 of 2) sorted by relevance

/external/libopus/celt/
Dquant_bands.c142 static opus_val32 loss_distortion(const opus_val16 *eBands, opus_val16 *oldEBands, int start, int e… in loss_distortion() argument
149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); in loss_distortion()
157 const opus_val16 *eBands, opus_val16 *oldEBands, in quant_coarse_energy_impl() argument
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()
254 oldEBands[i+c*m->nbEBands] = PSHR32(tmp, 7); in quant_coarse_energy_impl()
262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, in quant_coarse_energy() argument
279 new_distortion = loss_distortion(eBands, oldEBands, start, effEnd, m->nbEBands, C); in quant_coarse_energy()
300 OPUS_COPY(oldEBands_intra, oldEBands, C*m->nbEBands); in quant_coarse_energy()
[all …]
Dquant_bands.h48 celt_ener *eBands, const opus_val16 *oldEBands, int C);
51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
56 void quant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16 *er…
58 void quant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, opus_val16…
60 void unquant_coarse_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int intra,…
62 void unquant_fine_energy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fine_qu…
64 void unquant_energy_finalise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fin…