Searched refs:energy1 (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | expand.cc | 476 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/ |
D | PLC.c | 177 opus_int32 energy1, energy2, *rand_ptr, *pred_lag_ptr; in silk_PLC_conceal() local 212 silk_sum_sqr_shift( &energy1, &shift1, exc_buf, psPLC->subfr_length ); in silk_PLC_conceal() 215 if( silk_RSHIFT( energy1, shift2 ) < silk_RSHIFT( energy2, shift1 ) ) { in silk_PLC_conceal()
|
/external/webrtc/webrtc/modules/audio_processing/ns/ |
D | ns_core.c | 1192 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()
|