Audacity  3.0.3
RealFFTf.h
Go to the documentation of this file.
1 #ifndef __realfftf_h
2 #define __realfftf_h
3 
4 #include "MemoryX.h"
5 
6 using fft_type = float;
7 struct FFTParam {
10  size_t Points;
11 #ifdef EXPERIMENTAL_EQ_SSE_THREADED
12  int pow2Bits;
13 #endif
14 };
15 
16 struct MATH_API FFTDeleter{
17  void operator () (FFTParam *p) const;
18 };
19 
20 using HFFT = std::unique_ptr<
22 >;
23 
24 MATH_API HFFT GetFFT(size_t);
25 MATH_API void RealFFTf(fft_type *, const FFTParam *);
26 MATH_API void InverseRealFFTf(fft_type *, const FFTParam *);
27 MATH_API void ReorderToTime(const FFTParam *hFFT, const fft_type *buffer, fft_type *TimeOut);
28 MATH_API void ReorderToFreq(const FFTParam *hFFT, const fft_type *buffer,
29  fft_type *RealOut, fft_type *ImagOut);
30 
31 #endif
32 
ReorderToFreq
MATH_API void ReorderToFreq(const FFTParam *hFFT, const fft_type *buffer, fft_type *RealOut, fft_type *ImagOut)
Definition: RealFFTf.cpp:347
FFTParam::SinTable
ArrayOf< fft_type > SinTable
Definition: RealFFTf.h:9
InverseRealFFTf
MATH_API void InverseRealFFTf(fft_type *, const FFTParam *)
Definition: RealFFTf.cpp:264
RealFFTf
MATH_API void RealFFTf(fft_type *, const FFTParam *)
Definition: RealFFTf.cpp:162
FFTParam::Points
size_t Points
Definition: RealFFTf.h:10
FFTParam
Definition: RealFFTf.h:7
ReorderToTime
MATH_API void ReorderToTime(const FFTParam *hFFT, const fft_type *buffer, fft_type *TimeOut)
Definition: RealFFTf.cpp:361
MemoryX.h
HFFT
std::unique_ptr< FFTParam, FFTDeleter > HFFT
Definition: RealFFTf.h:22
GetFFT
MATH_API HFFT GetFFT(size_t)
Definition: RealFFTf.cpp:105
FFTParam::BitReversed
ArrayOf< int > BitReversed
Definition: RealFFTf.h:8
FFTDeleter
Definition: RealFFTf.h:16
ArrayOf< int >
fft_type
float fft_type
Definition: RealFFTf48x.h:6