Home
last modified time | relevance | path

Searched refs:bandE (Results 1 – 6 of 6) sorted by relevance

/external/libopus/celt/
Dbands.h44 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, …
54 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i…
62 celt_sig * OPUS_RESTRICT freq, const opus_val16 *bandE, int start, int end, int C, int M);
74 void measure_norm_mse(const CELTMode *m, float *X, float *X0, float *bandE, float *bandE0, int M, i…
102 … celt_norm * X, celt_norm * Y, unsigned char *collapse_masks, const celt_ener *bandE, int *pulses,
Dbands.c95 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, … in compute_band_energies() argument
120 bandE[i+c*m->nbEBands] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); in compute_band_energies()
122 bandE[i+c*m->nbEBands] = EPSILON; in compute_band_energies()
131 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i… in normalise_bands() argument
141 shift = celt_zlog2(bandE[i+c*m->nbEBands])-13; in normalise_bands()
142 E = VSHR32(bandE[i+c*m->nbEBands], shift); in normalise_bands()
153 void compute_band_energies(const CELTMode *m, const celt_sig *X, celt_ener *bandE, int end, int C, … in compute_band_energies() argument
165 bandE[i+c*m->nbEBands] = celt_sqrt(sum); in compute_band_energies()
173 …t_sig * OPUS_RESTRICT freq, celt_norm * OPUS_RESTRICT X, const celt_ener *bandE, int end, int C, i… in normalise_bands() argument
182 opus_val16 g = 1.f/(1e-27f+bandE[i+c*m->nbEBands]); in normalise_bands()
[all …]
Dcelt_encoder.c1256 VARDECL(celt_ener, bandE); in celt_encode_with_ec()
1531 ALLOC(bandE,nbEBands*CC, celt_ener); in celt_encode_with_ec()
1539 compute_band_energies(mode, freq, bandE, effEnd, C, M); in celt_encode_with_ec()
1540 amp2Log2(mode, effEnd, st->end, bandE, bandLogE2, C); in celt_encode_with_ec()
1548 compute_band_energies(mode, freq, bandE, effEnd, C, M); in celt_encode_with_ec()
1554 bandE[i] = IMIN(bandE[i], MULT16_32_Q15(QCONST16(1e-4f,15),bandE[0])); in celt_encode_with_ec()
1555 bandE[i] = MAX32(bandE[i], EPSILON); in celt_encode_with_ec()
1558 amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C); in celt_encode_with_ec()
1674 compute_band_energies(mode, freq, bandE, effEnd, C, M); in celt_encode_with_ec()
1675 amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C); in celt_encode_with_ec()
[all …]
Dquant_bands.h45 celt_ener *bandE, opus_val16 *bandLogE, int C);
Dquant_bands.c544 celt_ener *bandE, opus_val16 *bandLogE, int C) in amp2Log2() argument
551 celt_log2(SHL32(bandE[i+c*m->nbEBands],2)) in amp2Log2()
/external/libopus/src/
Dopus_multistream_encoder.c231 opus_val32 bandE[21]; in surround_analysis() local
270 compute_band_energies(celt_mode, freq, bandE, 21, 1, 1<<LM); in surround_analysis()
271 amp2Log2(celt_mode, 21, 21, bandE, bandLogE+21*c, 1); in surround_analysis()