Collaboration diagram for DSP_fft16x16r:
void | DSP_fft16x16r (int n, short *restrict ptr_x, const short *restrict ptr_w, short *restrict ptr_y, int radix, int offset, int n_max) |
void DSP_fft16x16r | ( | int | n, | |
short *restrict | ptr_x, | |||
const short *restrict | ptr_w, | |||
short *restrict | ptr_y, | |||
int | radix, | |||
int | offset, | |||
int | n_max | |||
) |
This routine implements a complex forward mixed radix FFT with scaling, rounding and digit reversal. Input data x[ ], output data y[ ], and coefficients w[ ] are 16-bit. The output is returned in the separate array y[ ] in normal order. Each complex value is stored as interleaved 16-bit real and imaginary parts.
n | = length of fft in complex samples | |
ptr_x | = pointer to complex data input | |
ptr_w | = pointer to complex twiddle factor | |
ptr_y | = pointer to complex data output | |
radix | = smallest fft butterfly used in computation | |
offset | = index in complex samples of sub-fft from start of main fft | |
n_max | = size of main fft in complex samples |