28#include <xtensa/config/core-isa.h>
29#if XCHAL_HAVE_HIFI3 || XCHAL_HAVE_HIFI4
37#define FFT_SIZE_MAX 1024
38#define FFT_MULTI_COUNT_MAX 3
72 void *outb, uint32_t
size,
int bits);
111 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:38
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)
Free an allocated FFT execution plan and its internal buffers.
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)
Execute a 32-bit complex FFT or IFFT according to an initialized plan.
struct fft_plan * mod_fft_plan_new(struct processing_module *mod, void *inb, void *outb, uint32_t size, int bits)
Allocate and initialize an FFT execution plan.
void fft_execute_16(struct fft_plan *plan, bool ifft)
Execute a 16-bit complex FFT or IFFT according to an initialized plan.
struct icomplex32 * tmp_o32[FFT_MULTI_COUNT_MAX]
Definition fft.h:53
uint32_t fft_size
Definition fft.h:58
struct icomplex32 * tmp_i32[FFT_MULTI_COUNT_MAX]
Definition fft.h:52
struct icomplex32 * inb32
Definition fft.h:54
uint32_t total_size
Definition fft.h:57
int num_ffts
Definition fft.h:59
uint16_t * bit_reverse_idx
Definition fft.h:56
struct icomplex32 * outb32
Definition fft.h:55
struct icomplex32 * outb32
Definition fft.h:45
uint16_t * bit_reverse_idx
Definition fft.h:43
struct icomplex16 * inb16
Definition fft.h:46
uint32_t len
Definition fft.h:42
struct icomplex32 * inb32
Definition fft.h:44
uint32_t size
Definition fft.h:41
struct icomplex16 * outb16
Definition fft.h:47
struct icomplex16 - Storage for a normal complex number.
Definition icomplex16.h:28
struct icomplex32 - Storage for a normal complex number.
Definition icomplex32.h:23