Performs a 24bit (unpacked) complex FFT, then sums the squares of the complex coefficients, and divides by fft length. complex numbers are stored in pairs, real component, imaginary component. length_log2 is log2(fft length). (ie, fft length=1<<length_log2). For a real FFT, imaginary coefficients must be set to 0.
- Parameters
-
| in_ptr | 32bit aligned pointer to the complex input. length=2*(1<<length_log2) |
| out_ptr | 32bit aligned pointer to the output.. length=(1<<length_log2). output can overlap input. |
| length_log2 | number of complex numbers log2. |
| half_output | true if only the 1st half of the fft output should be written (ie, below nyquist frequency) |
| rounding_bits | Any additional rounding that should be performed on the output. |