Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc199 float next_magn_sqr; in FindFirstSpectralPeaks() local
202 next_magn_sqr = in FindFirstSpectralPeaks()
204 if (curr_magn_sqr < prev_magn_sqr && curr_magn_sqr < next_magn_sqr) { in FindFirstSpectralPeaks()
210 curr_magn_sqr = next_magn_sqr; in FindFirstSpectralPeaks()
215 next_magn_sqr = data[1] * data[1]; 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()