Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_suppressor.cc135 fft_buffer_.reset(new float[analysis_length_ + 2]); in Initialize()
136 memset(fft_buffer_.get(), 0, (analysis_length_ + 2) * sizeof(fft_buffer_[0])); in Initialize()
238 fft_buffer_[i] = in_ptr[i] * window_[i]; in Suppress()
241 WebRtc_rdft(analysis_length_, 1, fft_buffer_.get(), ip_.get(), wfft_.get()); in Suppress()
245 fft_buffer_[analysis_length_] = fft_buffer_[1]; in Suppress()
246 fft_buffer_[analysis_length_ + 1] = 0.f; in Suppress()
247 fft_buffer_[1] = 0.f; in Suppress()
250 magnitudes_[i] = ComplexMagnitude(fft_buffer_[i * 2], in Suppress()
251 fft_buffer_[i * 2 + 1]); in Suppress()
270 fft_buffer_[1] = fft_buffer_[analysis_length_]; in Suppress()
[all …]
Dtransient_suppressor.h95 rtc::scoped_ptr<float[]> fft_buffer_; variable