1 #include "fft4g.h" 2 #define FIFO_SIZE_T int 3 #include "fifo.h" 4 5 typedef struct { 6 int dft_length, num_taps, post_peak; 7 double * coefs; 8 } dft_filter_t; 9 10 typedef struct { 11 uint64_t samples_in, samples_out; 12 fifo_t input_fifo, output_fifo; 13 dft_filter_t filter, * filter_ptr; 14 } dft_filter_priv_t; 15 16 void lsx_set_dft_filter(dft_filter_t * f, double * h, int n, int post_peak); 17