Home
last modified time | relevance | path

Searched refs:energy1 (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc476 int32_t energy1 = WebRtcSpl_DotProductWithScale( in AnalyzeSignal() local
488 if ((energy1 > 0) && (energy2 > 0)) { in AnalyzeSignal()
489 int energy1_scale = std::max(16 - WebRtcSpl_NormW32(energy1), 0); in AnalyzeSignal()
496 int32_t scaled_energy1 = energy1 >> energy1_scale; in AnalyzeSignal()
517 energy1 = WebRtcSpl_DotProductWithScale(vector1, vector1, expansion_length, in AnalyzeSignal()
524 if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) { in AnalyzeSignal()
531 WEBRTC_SPL_SHIFT_W32(energy1, -scaled_energy1), in AnalyzeSignal()
557 if ((energy1 / 4 < energy2) || (energy2 == 0)) { in AnalyzeSignal()
/external/libopus/silk/
DPLC.c170 static OPUS_INLINE void silk_PLC_energy(opus_int32 *energy1, opus_int *shift1, opus_int32 *energy2,… in silk_PLC_energy() argument
189 silk_sum_sqr_shift( energy1, shift1, exc_buf, subfr_length ); in silk_PLC_energy()
204 opus_int32 energy1, energy2, *rand_ptr, *pred_lag_ptr; in silk_PLC_conceal() local
235 …silk_PLC_energy(&energy1, &shift1, &energy2, &shift2, psDec->exc_Q14, prevGain_Q10, psDec->subfr_l… in silk_PLC_conceal()
237 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) { in silk_PLC_conceal()
/external/webrtc/webrtc/modules/audio_processing/ns/
Dns_core.c1192 float energy1, energy2, gain, factor, factor1, factor2; in WebRtcNs_ProcessCore() local
1239 energy1 = Energy(winData, self->anaLen); in WebRtcNs_ProcessCore()
1240 if (energy1 == 0.0) { in WebRtcNs_ProcessCore()
1322 gain = (float)sqrt(energy2 / (energy1 + 1.f)); in WebRtcNs_ProcessCore()