/external/libopus/celt/ |
D | bands.h | 47 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, … 57 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i… 65 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandE, int start, 78 void measure_norm_mse(const CELTMode *m, float *X, float *X0, float *bandE, float *bandE0, int M, i… 108 const celt_ener *bandE, int *pulses, int shortBlocks, int spread,
|
D | bands.c | 95 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, … in compute_band_energies() argument 126 bandE[i+c*m->nbEBands] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); in compute_band_energies() 128 bandE[i+c*m->nbEBands] = EPSILON; in compute_band_energies() 137 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i… in normalise_bands() argument 147 shift = celt_zlog2(bandE[i+c*m->nbEBands])-13; in normalise_bands() 148 E = VSHR32(bandE[i+c*m->nbEBands], shift); in normalise_bands() 159 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, … in compute_band_energies() argument 169 bandE[i+c*m->nbEBands] = celt_sqrt(sum); in compute_band_energies() 177 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i… in normalise_bands() argument 186 opus_val16 g = 1.f/(1e-27f+bandE[i+c*m->nbEBands]); in normalise_bands() [all …]
|
D | celt_encoder.c | 1416 VARDECL(celt_ener, bandE); in celt_encode_with_ec() 1712 ALLOC(bandE,nbEBands*CC, celt_ener); in celt_encode_with_ec() 1720 compute_band_energies(mode, freq, bandE, effEnd, C, LM, st->arch); in celt_encode_with_ec() 1721 amp2Log2(mode, effEnd, end, bandE, bandLogE2, C); in celt_encode_with_ec() 1732 compute_band_energies(mode, freq, bandE, effEnd, C, LM, st->arch); in celt_encode_with_ec() 1738 bandE[i] = IMIN(bandE[i], MULT16_32_Q15(QCONST16(1e-4f,15),bandE[0])); in celt_encode_with_ec() 1739 bandE[i] = MAX32(bandE[i], EPSILON); in celt_encode_with_ec() 1742 amp2Log2(mode, effEnd, end, bandE, bandLogE, C); in celt_encode_with_ec() 1856 compute_band_energies(mode, freq, bandE, effEnd, C, LM, st->arch); in celt_encode_with_ec() 1857 amp2Log2(mode, effEnd, end, bandE, bandLogE, C); in celt_encode_with_ec() [all …]
|
D | quant_bands.h | 45 celt_ener *bandE, opus_val16 *bandLogE, int C);
|
D | quant_bands.c | 545 celt_ener *bandE, opus_val16 *bandLogE, int C) in amp2Log2() argument 553 celt_log2(bandE[i+c*m->nbEBands]) in amp2Log2()
|
/external/libopus/src/ |
D | opus_multistream_encoder.c | 236 opus_val32 bandE[21]; in surround_analysis() local 283 OPUS_CLEAR(bandE, 21); in surround_analysis() 301 bandE[i] = MAX32(bandE[i], tmpE[i]); in surround_analysis() 303 amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); in surround_analysis()
|