Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/transient/
Dtransient_suppressor_impl.cc229 float* spectral_mean, in Suppress() argument
252 HardRestoration(spectral_mean); in Suppress()
254 SoftRestoration(spectral_mean); in Suppress()
260 spectral_mean[i] = (1 - kMeanIIRCoefficient) * spectral_mean[i] + in Suppress()
356 void TransientSuppressorImpl::HardRestoration(float* spectral_mean) { in HardRestoration() argument
362 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0) { in HardRestoration()
366 const float scaled_mean = detector_result * spectral_mean[i]; in HardRestoration()
373 detector_result * (magnitudes_[i] - spectral_mean[i]); in HardRestoration()
383 void TransientSuppressorImpl::SoftRestoration(float* spectral_mean) { in SoftRestoration() argument
396 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0 && in SoftRestoration()
[all …]
Dtransient_suppressor_impl.h67 void Suppress(float* in_ptr, float* spectral_mean, float* out_ptr);
74 void HardRestoration(float* spectral_mean);
75 void SoftRestoration(float* spectral_mean);