#include "kiss_fft.h"
#include <limits.h>
Go to the source code of this file.
Classes |
struct | kiss_fft_state |
Defines |
#define | MAXFACTORS 32 |
#define | S_MUL(a, b) ( (a)*(b) ) |
#define | C_MUL(m, a, b) |
#define | C_FIXDIV(c, div) |
#define | C_MULBYSCALAR(c, s) |
#define | CHECK_OVERFLOW_OP(a, op, b) |
#define | C_ADD(res, a, b) |
#define | C_SUB(res, a, b) |
#define | C_ADDTO(res, a) |
#define | C_SUBFROM(res, a) |
#define | KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) |
#define | KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) |
#define | HALF_OF(x) ((x)*.5) |
#define | kf_cexp(x, phase) |
#define | pcpx(c) fprintf(stderr,"%g + %gi\n",(double)((c)->r),(double)((c)->i) ) |
#define | KISS_FFT_TMP_ALLOC(nbytes) KISS_FFT_MALLOC(nbytes) |
#define | KISS_FFT_TMP_FREE(ptr) KISS_FFT_FREE(ptr) |
Define Documentation
#define C_ADD |
( |
|
res, |
|
|
|
a, |
|
|
|
b |
|
) |
| |
#define C_ADDTO |
( |
|
res, |
|
|
|
a |
|
) |
| |
#define C_FIXDIV |
( |
|
c, |
|
|
|
div |
|
) |
| |
#define C_MUL |
( |
|
m, |
|
|
|
a, |
|
|
|
b |
|
) |
| |
Value:do{ (m).r = (a).r*(b).r - (a).i*(b).i;\
(m).i = (a).r*(b).i + (a).i*(b).r; }while(0)
#define C_MULBYSCALAR |
( |
|
c, |
|
|
|
s |
|
) |
| |
Value:do{ (c).r *= (s);\
(c).i *= (s); }while(0)
#define C_SUB |
( |
|
res, |
|
|
|
a, |
|
|
|
b |
|
) |
| |
#define C_SUBFROM |
( |
|
res, |
|
|
|
a |
|
) |
| |
#define CHECK_OVERFLOW_OP |
( |
|
a, |
|
|
|
op, |
|
|
|
b |
|
) |
| |
#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 pcpx |
( |
|
c | ) |
fprintf(stderr,"%g + %gi\n",(double)((c)->r),(double)((c)->i) ) |
#define S_MUL |
( |
|
a, |
|
|
|
b |
|
) |
| ( (a)*(b) ) |