22#include <xtensa/config/core-isa.h>
23#if XCHAL_HAVE_HIFI3 || XCHAL_HAVE_HIFI4
31#define FFT_SIZE_MAX 1024
32#define FFT_MULTI_COUNT_MAX 3
58 void *outb, uint32_t
size,
int bits);
79 void *outb, uint32_t size,
int bits);
void mod_fft_multi_plan_free(struct processing_module *mod, struct fft_multi_plan *plan)
mod_fft_multi_plan_free() - Free the FFT plan
#define FFT_MULTI_COUNT_MAX
Definition fft.h:32
void fft_multi_execute_32(struct fft_multi_plan *plan, bool ifft)
fft_multi_execute_32() - Calculate Fast Fourier Transform (FFT) for 2^size and other
void mod_fft_plan_free(struct processing_module *mod, struct fft_plan *plan)
struct fft_multi_plan * mod_fft_multi_plan_new(struct processing_module *mod, void *inb, void *outb, uint32_t size, int bits)
mod_fft_multi_plan_new() - Prepare FFT for 2^N size and some other FFT sizes
void dft3_32(struct icomplex32 *input, struct icomplex32 *output)
dft3_32() - Discrete Fourier Transform (DFT) for size 3.
void fft_execute_32(struct fft_plan *plan, bool ifft)
struct fft_plan * mod_fft_plan_new(struct processing_module *mod, void *inb, void *outb, uint32_t size, int bits)
void fft_execute_16(struct fft_plan *plan, bool ifft)
struct icomplex32 * tmp_o32[FFT_MULTI_COUNT_MAX]
Definition fft.h:47
uint32_t fft_size
Definition fft.h:52
struct icomplex32 * tmp_i32[FFT_MULTI_COUNT_MAX]
Definition fft.h:46
struct icomplex32 * inb32
Definition fft.h:48
uint32_t total_size
Definition fft.h:51
int num_ffts
Definition fft.h:53
uint16_t * bit_reverse_idx
Definition fft.h:50
struct icomplex32 * outb32
Definition fft.h:49
struct fft_plan * fft_plan[FFT_MULTI_COUNT_MAX]
Definition fft.h:45
struct icomplex32 * outb32
Definition fft.h:39
uint16_t * bit_reverse_idx
Definition fft.h:37
struct icomplex16 * inb16
Definition fft.h:40
uint32_t len
Definition fft.h:36
struct icomplex32 * inb32
Definition fft.h:38
uint32_t size
Definition fft.h:35
struct icomplex16 * outb16
Definition fft.h:41
struct icomplex16 - Storage for a normal complex number.
Definition icomplex16.h:28
struct icomplex32 - Storage for a normal complex number.
Definition icomplex32.h:23