Searched refs:energy2 (Results 1 – 2 of 2) sorted by relevance
/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/src/modules/audio_processing/ns/ |
D | ns_core.c | 729 float energy1, energy2, gain, factor, factor1, factor2; in WebRtcNs_ProcessCore() local 1170 energy2 = 0.0; in WebRtcNs_ProcessCore() 1172 energy2 += (float)real[i] * (float)real[i]; in WebRtcNs_ProcessCore() 1174 gain = (float)sqrt(energy2 / (energy1 + (float)1.0)); in WebRtcNs_ProcessCore()
|