Searched refs:spectral_mean (Results 1 – 2 of 2) sorted by relevance
233 float* spectral_mean, in Suppress() argument256 HardRestoration(spectral_mean); in Suppress()258 SoftRestoration(spectral_mean); in Suppress()264 spectral_mean[i] = (1 - kMeanIIRCoefficient) * spectral_mean[i] + in Suppress()369 void TransientSuppressor::HardRestoration(float* spectral_mean) { in HardRestoration() argument375 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0) { in HardRestoration()379 const float scaled_mean = detector_result * spectral_mean[i]; in HardRestoration()386 detector_result * (magnitudes_[i] - spectral_mean[i]); in HardRestoration()396 void TransientSuppressor::SoftRestoration(float* spectral_mean) { in SoftRestoration() argument409 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0 && in SoftRestoration()[all …]
64 void Suppress(float* in_ptr, float* spectral_mean, float* out_ptr);71 void HardRestoration(float* spectral_mean);72 void SoftRestoration(float* spectral_mean);