diff options
Diffstat (limited to 'common/fft.h')
-rw-r--r-- | common/fft.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/common/fft.h b/common/fft.h index e77c53c2a7..bc58f1dded 100644 --- a/common/fft.h +++ b/common/fft.h @@ -34,6 +34,8 @@ namespace Common { +class CosineTable; + /** * (Inverse) Fast Fourier Transform. * @@ -64,13 +66,17 @@ private: Complex *_expTab; Complex *_tmpBuf; - const float *_tSin; - const float *_tCos; - int _splitRadix; int _permutation; static int splitRadixPermutation(int i, int n, int inverse); + + CosineTable *_cosTables[13]; + + void fft4(Complex *z); + void fft8(Complex *z); + void fft16(Complex *z); + void fft(int n, int logn, Complex *z); }; } // End of namespace Common |