Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.cc193 float detector_result = detector_->Detect( in Suppress() local
195 if (detector_result < 0) { in Suppress()
205 detector_smoothed_ = detector_result >= detector_smoothed_ in Suppress()
206 ? detector_result in Suppress()
208 (1 - smooth_factor) * detector_result; in Suppress()
370 const float detector_result = in HardRestoration() local
379 const float scaled_mean = detector_result * spectral_mean[i]; in HardRestoration()
381 fft_buffer_[i * 2] = (1 - detector_result) * fft_buffer_[i * 2] + in HardRestoration()
383 fft_buffer_[i * 2 + 1] = (1 - detector_result) * fft_buffer_[i * 2 + 1] + in HardRestoration()
386 detector_result * (magnitudes_[i] - spectral_mean[i]); in HardRestoration()