Go to the source code of this file.
Classes | |
struct | kiss_fft_state |
Defines | |
#define | C_ADD(res, a, b) |
#define | C_ADDTO(res, a) |
#define | C_FIXDIV(c, div) /* NOOP */ |
#define | C_MUL(m, a, b) |
#define | C_MULBYSCALAR(c, s) |
#define | C_SUB(res, a, b) |
#define | C_SUBFROM(res, a) |
#define | CHECK_OVERFLOW_OP(a, op, b) /* noop */ |
#define | HALF_OF(x) ((x)*.5) |
#define | kf_cexp(x, phase) |
#define | KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) |
#define | KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) |
#define | KISS_FFT_TMP_ALLOC(nbytes) KISS_FFT_MALLOC(nbytes) |
#define | KISS_FFT_TMP_FREE(ptr) KISS_FFT_FREE(ptr) |
#define | MAXFACTORS 32 |
#define | pcpx(c) fprintf(stderr,"%g + %gi\n",(double)((c)->r),(double)((c)->i) ) |
#define | S_MUL(a, b) ( (a)*(b) ) |
#define C_ADD | ( | res, | |
a, | |||
b | |||
) |
do { \ CHECK_OVERFLOW_OP((a).r,+,(b).r)\ CHECK_OVERFLOW_OP((a).i,+,(b).i)\ (res).r=(a).r+(b).r; (res).i=(a).i+(b).i; \ }while(0)
Definition at line 100 of file _kiss_fft_guts.h.
#define C_ADDTO | ( | res, | |
a | |||
) |
do { \ CHECK_OVERFLOW_OP((res).r,+,(a).r)\ CHECK_OVERFLOW_OP((res).i,+,(a).i)\ (res).r += (a).r; (res).i += (a).i;\ }while(0)
Definition at line 112 of file _kiss_fft_guts.h.
#define C_FIXDIV | ( | c, | |
div | |||
) | /* NOOP */ |
Definition at line 90 of file _kiss_fft_guts.h.
#define C_MUL | ( | m, | |
a, | |||
b | |||
) |
Definition at line 87 of file _kiss_fft_guts.h.
#define C_MULBYSCALAR | ( | c, | |
s | |||
) |
Definition at line 91 of file _kiss_fft_guts.h.
#define C_SUB | ( | res, | |
a, | |||
b | |||
) |
do { \ CHECK_OVERFLOW_OP((a).r,-,(b).r)\ CHECK_OVERFLOW_OP((a).i,-,(b).i)\ (res).r=(a).r-(b).r; (res).i=(a).i-(b).i; \ }while(0)
Definition at line 106 of file _kiss_fft_guts.h.
#define C_SUBFROM | ( | res, | |
a | |||
) |
do {\ CHECK_OVERFLOW_OP((res).r,-,(a).r)\ CHECK_OVERFLOW_OP((res).i,-,(a).i)\ (res).r -= (a).r; (res).i -= (a).i; \ }while(0)
Definition at line 119 of file _kiss_fft_guts.h.
#define CHECK_OVERFLOW_OP | ( | a, | |
op, | |||
b | |||
) | /* noop */ |
Definition at line 97 of file _kiss_fft_guts.h.
#define HALF_OF | ( | x | ) | ((x)*.5) |
Definition at line 138 of file _kiss_fft_guts.h.
#define kf_cexp | ( | x, | |
phase | |||
) |
do{ \ (x)->r = KISS_FFT_COS(phase);\ (x)->i = KISS_FFT_SIN(phase);\ }while(0)
Definition at line 141 of file _kiss_fft_guts.h.
#define KISS_FFT_COS | ( | phase | ) | (kiss_fft_scalar) cos(phase) |
Definition at line 136 of file _kiss_fft_guts.h.
#define KISS_FFT_SIN | ( | phase | ) | (kiss_fft_scalar) sin(phase) |
Definition at line 137 of file _kiss_fft_guts.h.
#define KISS_FFT_TMP_ALLOC | ( | nbytes | ) | KISS_FFT_MALLOC(nbytes) |
Definition at line 162 of file _kiss_fft_guts.h.
#define KISS_FFT_TMP_FREE | ( | ptr | ) | KISS_FFT_FREE(ptr) |
Definition at line 163 of file _kiss_fft_guts.h.
#define MAXFACTORS 32 |
Definition at line 22 of file _kiss_fft_guts.h.
Definition at line 149 of file _kiss_fft_guts.h.
#define S_MUL | ( | a, | |
b | |||
) | ( (a)*(b) ) |
Definition at line 86 of file _kiss_fft_guts.h.