Searched refs:kFftSize (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/modules/audio_processing/ns/ |
D | ns_fft.cc | 17 NrFft::NrFft() : bit_reversal_state_(kFftSize / 2), tables_(kFftSize / 2) { in NrFft() 21 std::array<float, kFftSize> tmp_buffer; in NrFft() 23 WebRtc_rdft(kFftSize, 1, tmp_buffer.data(), bit_reversal_state_.data(), in NrFft() 27 void NrFft::Fft(rtc::ArrayView<float, kFftSize> time_data, in Fft() 28 rtc::ArrayView<float, kFftSize> real, in Fft() 29 rtc::ArrayView<float, kFftSize> imag) { in Fft() 30 WebRtc_rdft(kFftSize, 1, time_data.data(), bit_reversal_state_.data(), in Fft() 54 WebRtc_rdft(kFftSize, -1, time_data.data(), bit_reversal_state_.data(), in Ifft() 58 constexpr float kScaling = 2.f / kFftSize; in Ifft()
|
D | noise_suppressor.cc | 72 void ApplyFilterBankWindow(rtc::ArrayView<float, kFftSize> x) { in ApplyFilterBankWindow() 77 for (size_t i = 161, k = 95; i < kFftSize; ++i, --k) { in ApplyFilterBankWindow() 85 rtc::ArrayView<float, kFftSize - kNsFrameSize> old_data, in FormExtendedFrame() 86 rtc::ArrayView<float, kFftSize> extended_frame) { in FormExtendedFrame() 95 void OverlapAndAdd(rtc::ArrayView<const float, kFftSize> extended_frame, in OverlapAndAdd() 110 rtc::ArrayView<float, kFftSize - kNsFrameSize> delay_buffer, in DelaySignal() 112 constexpr size_t kSamplesFromFrame = kNsFrameSize - (kFftSize - kNsFrameSize); in DelaySignal() 122 float ComputeEnergyOfExtendedFrame(rtc::ArrayView<const float, kFftSize> x) { in ComputeEnergyOfExtendedFrame() 134 rtc::ArrayView<float, kFftSize - kNsFrameSize> old_data) { in ComputeEnergyOfExtendedFrame() 148 rtc::ArrayView<const float, kFftSize> real, in ComputeMagnitudeSpectrum() [all …]
|
D | noise_suppressor.h | 67 std::array<float, kFftSize - kNsFrameSize> analyze_analysis_memory; 74 std::array<float, kFftSize> real; 75 std::array<float, kFftSize> imag; 76 std::array<float, kFftSize> extended_frame;
|
D | ns_common.h | 18 constexpr size_t kFftSize = 256; variable 19 constexpr size_t kFftSizeBy2Plus1 = kFftSize / 2 + 1; 21 constexpr size_t kOverlapSize = kFftSize - kNsFrameSize;
|
D | ns_fft.h | 29 void Fft(rtc::ArrayView<float, kFftSize> time_data, 30 rtc::ArrayView<float, kFftSize> real, 31 rtc::ArrayView<float, kFftSize> imag);
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_bandwidth_unittest.cc | 29 constexpr size_t kFftSize = 1024; variable 30 constexpr size_t kNarrowbandSize = 4000 * kFftSize / kSampleRateHz; 36 WindowGenerator::KaiserBesselDerived(kKbdAlpha, kFftSize, window_); in PowerRatioEstimator() 39 kFftSize, kFftSize / 2, this)); in PowerRatioEstimator() 62 low_pow_ += low_pow / (num_input_channels * kFftSize); in ProcessAudioBlock() 63 high_pow_ += high_pow / (num_input_channels * kFftSize); in ProcessAudioBlock() 68 float window_[kFftSize];
|