46# include <xmmintrin.h>
47# define kiss_fft_scalar __m128
48# ifndef KISS_FFT_MALLOC
49# define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16)
52# define KISS_FFT_FREE _mm_free
55# ifndef KISS_FFT_MALLOC
56# define KISS_FFT_MALLOC malloc
59# define KISS_FFT_FREE free
66# if (FIXED_POINT == 32)
67# define kiss_fft_scalar int32_t
69# define kiss_fft_scalar int16_t
72# ifndef kiss_fft_scalar
74# define kiss_fft_scalar float
108kiss_fft_cfg
kiss_fft_alloc(
int nfft,
int inverse_fft,
void * mem,
size_t * lenmem);
129#define kiss_fft_free KISS_FFT_FREE
144#define kiss_fftr_next_fast_size_real(n) \
145 (kiss_fft_next_fast_size( ((n)+1)>>1)<<1)
void kiss_fft_stride(kiss_fft_cfg cfg, const kiss_fft_cpx *fin, kiss_fft_cpx *fout, int fin_stride)
A more generic version of the above function.
int kiss_fft_next_fast_size(int n)
Returns the smallest integer k, such that k>=n and k has only "fast" factors (2,3,...
void kiss_fft_cleanup(void)
Cleans up some memory that gets managed internally.
void kiss_fft(kiss_fft_cfg cfg, const kiss_fft_cpx *fin, kiss_fft_cpx *fout)
kiss_fft(cfg,in_out_buf)
kiss_fft_cfg kiss_fft_alloc(int nfft, int inverse_fft, void *mem, size_t *lenmem)
kiss_fft_alloc
Complex data type used by kissFFT.
Internal KissFFT structure.