Go to the documentation of this file.
25 #ifndef CONFIG_FFT_FLOAT
26 #define CONFIG_FFT_FLOAT 1
29 #ifndef CONFIG_FFT_FIXED_32
30 #define CONFIG_FFT_FIXED_32 0
47 #if CONFIG_FFT_FIXED_32
49 #define Q31(x) (int)((x)*2147483648.0 + 0.5)
50 #define FFT_NAME(x) x ## _fixed_32
56 #define FFT_NAME(x) x ## _fixed
101 #define FF_FFT_PERM_DEFAULT 0
102 #define FF_FFT_PERM_SWAP_LSBS 1
103 #define FF_FFT_PERM_AVX 2
105 #define FF_MDCT_PERM_NONE 0
106 #define FF_MDCT_PERM_INTERLEAVE 1
109 #if CONFIG_HARDCODED_TABLES
110 #define COSTABLE_CONST const
112 #define COSTABLE_CONST
115 #define COSTABLE(size) \
116 COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2]
133 #define ff_init_ff_cos_tabs FFT_NAME(ff_init_ff_cos_tabs)
141 #define ff_fft_init FFT_NAME(ff_fft_init)
142 #define ff_fft_end FFT_NAME(ff_fft_end)
160 #define ff_mdct_init FFT_NAME(ff_mdct_init)
161 #define ff_mdct_end FFT_NAME(ff_mdct_end)