PandA-2024.02
|
#include "fft.h"
Go to the source code of this file.
Macros | |
#define | THREADS 64 |
#define | cmplx_M_x(a_x, a_y, b_x, b_y) (a_x*b_x - a_y *b_y) |
#define | cmplx_M_y(a_x, a_y, b_x, b_y) (a_x*b_y + a_y *b_x) |
#define | cmplx_MUL_x(a_x, a_y, b_x, b_y) (a_x*b_x - a_y*b_y) |
#define | cmplx_MUL_y(a_x, a_y, b_x, b_y) (a_x*b_y + a_y*b_x) |
#define | cmplx_mul_x(a_x, a_y, b_x, b_y) (a_x*b_x - a_y*b_y) |
#define | cmplx_mul_y(a_x, a_y, b_x, b_y) (a_x*b_y + a_y*b_x) |
#define | cmplx_add_x(a_x, b_x) (a_x + b_x) |
#define | cmplx_add_y(a_y, b_y) (a_y + b_y) |
#define | cmplx_sub_x(a_x, b_x) (a_x - b_x) |
#define | cmplx_sub_y(a_y, b_y) (a_y - b_y) |
#define | cm_fl_mul_x(a_x, b) (b*a_x) |
#define | cm_fl_mul_y(a_y, b) (b*a_y) |
#define | FF2(a0_x, a0_y, a1_x, a1_y) |
#define | FFT4(a0_x, a0_y, a1_x, a1_y, a2_x, a2_y, a3_x, a3_y) |
#define | FFT8(a_x, a_y) |
Functions | |
void | twiddles8 (TYPE a_x[8], TYPE a_y[8], int i, int n) |
void | loadx8 (TYPE a_x[], TYPE x[], int offset, int sx) |
void | loady8 (TYPE a_y[], TYPE x[], int offset, int sx) |
void | fft1D_512 (TYPE work_x[512], TYPE work_y[512]) |
#define cmplx_M_x | ( | a_x, | |
a_y, | |||
b_x, | |||
b_y | |||
) | (a_x*b_x - a_y *b_y) |
Definition at line 10 of file fft.c.
Referenced by twiddles8().
#define cmplx_M_y | ( | a_x, | |
a_y, | |||
b_x, | |||
b_y | |||
) | (a_x*b_y + a_y *b_x) |
Definition at line 11 of file fft.c.
Referenced by twiddles8().
#define FF2 | ( | a0_x, | |
a0_y, | |||
a1_x, | |||
a1_y | |||
) |
#define FFT4 | ( | a0_x, | |
a0_y, | |||
a1_x, | |||
a1_y, | |||
a2_x, | |||
a2_y, | |||
a3_x, | |||
a3_y | |||
) |
#define FFT8 | ( | a_x, | |
a_y | |||
) |
Definition at line 63 of file fft.c.
Referenced by fft1D_512().
#define THREADS 64 |
Definition at line 9 of file fft.c.
Referenced by fft1D_512().
Definition at line 113 of file fft.c.
References FFT8, loady8(), offset, THREADS, twiddles8(), and TYPE.
Referenced by main(), and run_benchmark().
Definition at line 102 of file fft.c.
References offset.
Referenced by fft1D_512().