Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/ns/
Dprior_signal_model_estimator.cc27 float* peak_position, in FindFirstOfTwoLargestPeaks() argument
29 RTC_DCHECK(peak_position); in FindFirstOfTwoLargestPeaks()
34 *peak_position = 0.f; in FindFirstOfTwoLargestPeaks()
46 secondary_peak_position = *peak_position; in FindFirstOfTwoLargestPeaks()
50 *peak_position = bin_mid; in FindFirstOfTwoLargestPeaks()
60 if ((fabs(secondary_peak_position - *peak_position) < 2 * bin_size) && in FindFirstOfTwoLargestPeaks()
63 *peak_position = 0.5f * (*peak_position + secondary_peak_position); in FindFirstOfTwoLargestPeaks()