Use FFT for calculating AKF
This commit is contained in:
1 parent
f2711c53cc
commit
b3da00e081
10 files changed
+1009
-9
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#ifndef __realfftf_h
|
||||
#define __realfftf_h
|
||||
|
||||
#define fft_type float
|
||||
typedef struct FFTParamType {
|
||||
int *BitReversed;
|
||||
fft_type *SinTable;
|
||||
int Points;
|
||||
} FFTParam;
|
||||
#define HFFT FFTParam *
|
||||
|
||||
HFFT InitializeFFT(int);
|
||||
void EndFFT(HFFT);
|
||||
HFFT GetFFT(int);
|
||||
void ReleaseFFT(HFFT);
|
||||
void CleanupFFT();
|
||||
void RealFFTf(fft_type *,HFFT);
|
||||
void InverseRealFFTf(fft_type *,HFFT);
|
||||
void ReorderToTime(HFFT hFFT, fft_type *buffer, fft_type *TimeOut);
|
||||
void ReorderToFreq(HFFT hFFT, fft_type *buffer, fft_type *RealOut, fft_type *ImagOut);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user