Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.cc137 magnitudes_.reset(new float[complex_analysis_length_]); in Initialize()
138 memset(magnitudes_.get(), in Initialize()
140 complex_analysis_length_ * sizeof(magnitudes_[0])); in Initialize()
250 magnitudes_[i] = ComplexMagnitude(fft_buffer_[i * 2], in Suppress()
265 kMeanIIRCoefficient * magnitudes_[i]; in Suppress()
375 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0) { in HardRestoration()
385 magnitudes_[i] = magnitudes_[i] - in HardRestoration()
386 detector_result * (magnitudes_[i] - spectral_mean[i]); in HardRestoration()
400 block_frequency_mean += magnitudes_[i]; in SoftRestoration()
409 if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0 && in SoftRestoration()
[all …]
Dtransient_suppressor.h97 rtc::scoped_ptr<float[]> magnitudes_; variable