Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc198 float curr_magn_sqr = data[2] * data[2] + data[3] * data[3]; in FindFirstSpectralPeaks() local
204 if (curr_magn_sqr < prev_magn_sqr && curr_magn_sqr < next_magn_sqr) { in FindFirstSpectralPeaks()
209 prev_magn_sqr = curr_magn_sqr; in FindFirstSpectralPeaks()
210 curr_magn_sqr = next_magn_sqr; in FindFirstSpectralPeaks()
216 if (curr_magn_sqr < prev_magn_sqr && curr_magn_sqr < next_magn_sqr) { in FindFirstSpectralPeaks()
223 QuadraticInterpolation(prev_magn_sqr, curr_magn_sqr, next_magn_sqr); in FindFirstSpectralPeaks()