comparison peck_fft.h @ 2:3d08140650d8

cleanup
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Fri, 16 Sep 2011 13:02:34 +0200
parents 723f588b82ac
children 3b31bd44a09f
comparison
equal deleted inserted replaced
1:cfec79393811 2:3d08140650d8
11 #endif 11 #endif
12 12
13 #ifdef USE_SIMD 13 #ifdef USE_SIMD
14 # include <xmmintrin.h> 14 # include <xmmintrin.h>
15 # define peck_fft_scalar __m128 15 # define peck_fft_scalar __m128
16 #define PECK_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) 16 #define PECK_FFT_MALLOC(nbytes) _mm_malloc(nbytes, 16)
17 #define PECK_FFT_FREE _mm_free 17 #define PECK_FFT_FREE _mm_free
18 #else 18 #else
19 #define PECK_FFT_MALLOC malloc 19 #define PECK_FFT_MALLOC malloc
20 #define PECK_FFT_FREE free 20 #define PECK_FFT_FREE free
21 #endif 21 #endif
36 #endif 36 #endif
37 37
38 typedef struct { 38 typedef struct {
39 peck_fft_scalar r; 39 peck_fft_scalar r;
40 peck_fft_scalar i; 40 peck_fft_scalar i;
41 }peck_fft_cpx; 41 } peck_fft_cpx;
42 42
43 typedef struct peck_fft_state* peck_fft_cfg; 43 typedef struct peck_fft_state* peck_fft_cfg;
44 44
45 /* 45 /*
46 * peck_fft_alloc 46 * peck_fft_alloc

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.