Classes | Macros
_kiss_fft_guts.h File Reference
#include "kiss_fft.h"
#include "kiss_fft_log.h"
#include <limits.h>
Include dependency graph for _kiss_fft_guts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kiss_fft_state
 

Macros

#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) * ((kiss_fft_scalar).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)   KISS_FFT_DEBUG("%g + %gi\n", (double)((c)->r), (double)((c)->i))
 
#define S_MUL(a, b)   ((a) * (b))
 

Macro Definition Documentation

◆ C_ADD

#define C_ADD (   res,
  a,
 
)
Value:
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 118 of file _kiss_fft_guts.h.

◆ C_ADDTO

#define C_ADDTO (   res,
 
)
Value:
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 134 of file _kiss_fft_guts.h.

◆ C_FIXDIV

#define C_FIXDIV (   c,
  div 
)    /* NOOP */

Definition at line 105 of file _kiss_fft_guts.h.

◆ C_MUL

#define C_MUL (   m,
  a,
 
)
Value:
do \
{ \
(m).r = (a).r * (b).r - (a).i * (b).i; \
(m).i = (a).r * (b).i + (a).i * (b).r; \
} while (0)

Definition at line 99 of file _kiss_fft_guts.h.

◆ C_MULBYSCALAR

#define C_MULBYSCALAR (   c,
  s 
)
Value:
do \
{ \
(c).r *= (s); \
(c).i *= (s); \
} while (0)

Definition at line 106 of file _kiss_fft_guts.h.

◆ C_SUB

#define C_SUB (   res,
  a,
 
)
Value:
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 126 of file _kiss_fft_guts.h.

◆ C_SUBFROM

#define C_SUBFROM (   res,
 
)
Value:
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 143 of file _kiss_fft_guts.h.

◆ CHECK_OVERFLOW_OP

#define CHECK_OVERFLOW_OP (   a,
  op,
 
)    /* noop */

Definition at line 115 of file _kiss_fft_guts.h.

◆ HALF_OF

#define HALF_OF (   x)    ((x) * ((kiss_fft_scalar).5))

Definition at line 163 of file _kiss_fft_guts.h.

◆ kf_cexp

#define kf_cexp (   x,
  phase 
)
Value:
do \
{ \
(x)->r = KISS_FFT_COS(phase); \
(x)->i = KISS_FFT_SIN(phase); \
} while (0)

Definition at line 166 of file _kiss_fft_guts.h.

◆ KISS_FFT_COS

#define KISS_FFT_COS (   phase)    (kiss_fft_scalar) cos(phase)

Definition at line 161 of file _kiss_fft_guts.h.

◆ KISS_FFT_SIN

#define KISS_FFT_SIN (   phase)    (kiss_fft_scalar) sin(phase)

Definition at line 162 of file _kiss_fft_guts.h.

◆ KISS_FFT_TMP_ALLOC

#define KISS_FFT_TMP_ALLOC (   nbytes)    KISS_FFT_MALLOC(nbytes)

Definition at line 186 of file _kiss_fft_guts.h.

◆ KISS_FFT_TMP_FREE

#define KISS_FFT_TMP_FREE (   ptr)    KISS_FFT_FREE(ptr)

Definition at line 187 of file _kiss_fft_guts.h.

◆ MAXFACTORS

#define MAXFACTORS   32

Definition at line 21 of file _kiss_fft_guts.h.

◆ pcpx

#define pcpx (   c)    KISS_FFT_DEBUG("%g + %gi\n", (double)((c)->r), (double)((c)->i))

Definition at line 174 of file _kiss_fft_guts.h.

◆ S_MUL

#define S_MUL (   a,
 
)    ((a) * (b))

Definition at line 98 of file _kiss_fft_guts.h.

mqtt_test_proto.x
x
Definition: mqtt_test_proto.py:34
KISS_FFT_SIN
#define KISS_FFT_SIN(phase)
Definition: _kiss_fft_guts.h:162
KISS_FFT_COS
#define KISS_FFT_COS(phase)
Definition: _kiss_fft_guts.h:161


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49