Searched refs:energy2 (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | expand.cc | 480 int32_t energy2 = WebRtcSpl_DotProductWithScale( in AnalyzeSignal() local 488 if ((energy1 > 0) && (energy2 > 0)) { in AnalyzeSignal() 490 int energy2_scale = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal() 497 int32_t scaled_energy2 = energy2 >> energy2_scale; in AnalyzeSignal() 519 energy2 = WebRtcSpl_DotProductWithScale(vector2, vector2, expansion_length, in AnalyzeSignal() 524 if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) { in AnalyzeSignal() 527 int32_t scaled_energy2 = std::max(16 - WebRtcSpl_NormW32(energy2), 0); in AnalyzeSignal() 532 static_cast<int16_t>(energy2 >> scaled_energy2)); 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 213 silk_sum_sqr_shift( &energy2, &shift2, &exc_buf[ psPLC->subfr_length ], 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 1321 energy2 = Energy(winData, self->anaLen); in WebRtcNs_ProcessCore() 1322 gain = (float)sqrt(energy2 / (energy1 + 1.f)); in WebRtcNs_ProcessCore()
|