Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/utility/
Dpffft_wrapper.cc19 size_t GetBufferSize(size_t fft_size, Pffft::FftType fft_type) { in GetBufferSize()
20 return fft_size * (fft_type == Pffft::FftType::kReal ? 1 : 2); in GetBufferSize()
29 Pffft::FloatBuffer::FloatBuffer(size_t fft_size, FftType fft_type) in FloatBuffer()
33 Pffft::FloatBuffer::~FloatBuffer() { in ~FloatBuffer()
37 rtc::ArrayView<const float> Pffft::FloatBuffer::GetConstView() const { in GetConstView()
41 rtc::ArrayView<float> Pffft::FloatBuffer::GetView() { in GetView()
45 Pffft::Pffft(size_t fft_size, FftType fft_type) in Pffft() function in webrtc::Pffft
50 fft_type == Pffft::FftType::kReal ? PFFFT_REAL : PFFFT_COMPLEX)), in Pffft()
57 Pffft::~Pffft() { in ~Pffft()
62 bool Pffft::IsValidFftSize(size_t fft_size, FftType fft_type) { in IsValidFftSize()
[all …]
Dpffft_wrapper_unittest.cc30 void CreatePffftWrapper(size_t fft_size, Pffft::FftType fft_type) { in CreatePffftWrapper()
31 Pffft pffft_wrapper(fft_size, fft_type); in CreatePffftWrapper()
69 Pffft::FftType fft_type = in PffftValidateWrapper()
70 complex_fft ? Pffft::FftType::kComplex : Pffft::FftType::kReal; in PffftValidateWrapper()
71 ASSERT_TRUE(Pffft::IsValidFftSize(fft_size, fft_type)); in PffftValidateWrapper()
72 Pffft pffft_wrapper(fft_size, fft_type); in PffftValidateWrapper()
117 if (Pffft::IsValidFftSize(fft_size, Pffft::FftType::kReal)) { in TEST()
118 CreatePffftWrapper(fft_size, Pffft::FftType::kReal); in TEST()
120 if (Pffft::IsValidFftSize(fft_size, Pffft::FftType::kComplex)) { in TEST()
121 CreatePffftWrapper(fft_size, Pffft::FftType::kComplex); in TEST()
[all …]
Dpffft_wrapper.h25 class Pffft {
41 friend class Pffft;
56 Pffft(size_t fft_size, FftType fft_type);
57 Pffft(const Pffft&) = delete;
58 Pffft& operator=(const Pffft&) = delete;
59 ~Pffft();
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dauto_correlation.h40 Pffft fft_;
41 std::unique_ptr<Pffft::FloatBuffer> tmp_;
42 std::unique_ptr<Pffft::FloatBuffer> X_;
43 std::unique_ptr<Pffft::FloatBuffer> H_;
Dspectral_features.h62 Pffft fft_;
63 std::unique_ptr<Pffft::FloatBuffer> fft_buffer_;
64 std::unique_ptr<Pffft::FloatBuffer> reference_frame_fft_;
65 std::unique_ptr<Pffft::FloatBuffer> lagged_frame_fft_;
Dspectral_features.cc68 Pffft::FloatBuffer* fft_input_buffer, in ComputeWindowedForwardFft()
69 Pffft::FloatBuffer* fft_output_buffer, in ComputeWindowedForwardFft()
70 Pffft* fft) { in ComputeWindowedForwardFft()
90 fft_(kFrameSize20ms24kHz, Pffft::FftType::kReal), in SpectralFeaturesExtractor()
Dspectral_features_internal_unittest.cc92 Pffft fft(kFrameSize20ms24kHz, Pffft::FftType::kReal); in TEST()
Dauto_correlation.cc29 : fft_(1 << kAutoCorrelationFftOrder, Pffft::FftType::kReal), in AutoCorrelationCalculator()