Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/ns/
Dprior_signal_model_estimator.cc26 rtc::ArrayView<const int, kHistogramSize> spectral_flatness, in FindFirstOfTwoLargestPeaks() argument
42 if (spectral_flatness[i] > peak_value) { in FindFirstOfTwoLargestPeaks()
48 peak_value = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()
49 *peak_weight = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()
51 } else if (spectral_flatness[i] > secondary_peak_value) { in FindFirstOfTwoLargestPeaks()
53 secondary_peak_value = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()
54 secondary_peak_weight = spectral_flatness[i]; in FindFirstOfTwoLargestPeaks()
Dsignal_model_estimator.cc66 float* spectral_flatness) { in UpdateSpectralFlatness() argument
67 RTC_DCHECK(spectral_flatness); in UpdateSpectralFlatness()
75 *spectral_flatness -= kAveraging * (*spectral_flatness); in UpdateSpectralFlatness()
93 *spectral_flatness += kAveraging * (spectral_tmp - *spectral_flatness); in UpdateSpectralFlatness()
140 &features_.spectral_flatness); in Update()
Dhistograms.cc34 if (features_.spectral_flatness < kHistogramSize * kBinSizeSpecFlat && in Update()
35 features_.spectral_flatness >= 0.f) { in Update()
36 ++spectral_flatness_[features_.spectral_flatness * kOneByBinSizeSpecFlat]; in Update()
Dspeech_probability_estimator.cc59 width_prior = model.spectral_flatness > prior_model.flatness_threshold in Update()
66 (prior_model.flatness_threshold - model.spectral_flatness)) + in Update()
Dsignal_model.cc19 spectral_flatness = kSfFeatureThr; in SignalModel()
Dsignal_model.h27 float spectral_flatness; member