![]() |
Audacity 3.2.0
|
#include "RealFFTf.h"#include <vector>#include <stdlib.h>#include <math.h>#include <wx/thread.h>Go to the source code of this file.
Macros | |
| #define | M_PI 3.14159265358979323846 /* pi */ |
Enumerations | |
| enum | : size_t { MAX_HFFT = 10 } |
Functions | |
| HFFT | InitializeFFT (size_t fftlen) |
| static std::vector< std::unique_ptr< FFTParam > > | hFFTArray (MAX_HFFT) |
| HFFT | GetFFT (size_t fftlen) |
| void | RealFFTf (fft_type *buffer, const FFTParam *h) |
| void | InverseRealFFTf (fft_type *buffer, const FFTParam *h) |
| void | ReorderToFreq (const FFTParam *hFFT, const fft_type *buffer, fft_type *RealOut, fft_type *ImagOut) |
| void | ReorderToTime (const FFTParam *hFFT, const fft_type *buffer, fft_type *TimeOut) |
Variables | |
| wxCriticalSection | getFFTMutex |
| #define M_PI 3.14159265358979323846 /* pi */ |
Definition at line 48 of file RealFFTf.cpp.
| anonymous enum : size_t |
| HFFT GetFFT | ( | size_t | fftlen | ) |
Definition at line 104 of file RealFFTf.cpp.
References getFFTMutex, hFFTArray(), InitializeFFT(), and size.
Referenced by SpectrogramSettings::CacheWindows(), InverseRealFFT(), PowerSpectrum(), and RealFFT().
| HFFT InitializeFFT | ( | size_t | fftlen | ) |
Definition at line 55 of file RealFFTf.cpp.
References M_PI, FFTParam::Points, and safenew.
Referenced by GetFFT().
Definition at line 263 of file RealFFTf.cpp.
References A, FFTParam::BitReversed, FFTParam::Points, and FFTParam::SinTable.
Referenced by EqualizationFilter::Filter(), InverseRealFFT(), and SpectrumTransformer::OutputStep().
Definition at line 161 of file RealFFTf.cpp.
References A, FFTParam::BitReversed, FFTParam::Points, and FFTParam::SinTable.
Referenced by SpecCache::CalculateOneSpectrum(), anonymous_namespace{SpectrumCache.cpp}::ComputeSpectrumUsingRealFFTf(), SpectrumTransformer::FillFirstWindow(), EqualizationFilter::Filter(), PowerSpectrum(), and RealFFT().
| void ReorderToFreq | ( | const FFTParam * | hFFT, |
| const fft_type * | buffer, | ||
| fft_type * | RealOut, | ||
| fft_type * | ImagOut | ||
| ) |
Definition at line 346 of file RealFFTf.cpp.
References FFTParam::BitReversed, and FFTParam::Points.
Definition at line 360 of file RealFFTf.cpp.
References FFTParam::BitReversed, and FFTParam::Points.
Referenced by EqualizationFilter::Filter(), and InverseRealFFT().
| wxCriticalSection getFFTMutex |
Definition at line 100 of file RealFFTf.cpp.
Referenced by GetFFT(), and FFTDeleter::operator()().