FFTUnswizzle

Arranges Fast Fourier Transform function output by order of increasing frequency.

Syntax

void FFTUnswizzle(
         XMVECTOR __restrict *pOutput,
         const XMVECTOR __restrict *pInput,
         const size_t uLog2Length
)  

Parameters

pOutput
Type: XMVECTOR __restrict *

[out] Caller-supplied output buffer. pOutput receives samples in order of increasing frequency. The buffer must have at least 1<<uLog2Length/4 elements.

pInput
Type: XMVECTOR __restrict *

[in] Input buffer containing samples in bit-reversed order as generated by FFT functions. The buffer must have at least 1<<uLog2Length/4 elements.

uLog2Length
Type: size_t 

[in] The log base 2 of the FFT length in samples. uLog2Length must be greater than or equal to 2.

Return value

Type: void 

None.

Remarks

The FFT functions generate output in bit-reversed order. Use FFTUnswizzle to rearrange FFT function output into order of increasing frequency.

All buffer parameters must be 16-byte aligned. Audio data must be FLOAT32 mono.

Requirements

Header: Declared in XDSP.h.

Namespace: Use XDSP.

See also

XDSP Functions