FFTPolar

Converts complex components to polar form.

Syntax

void FFTPolar(
         XMVECTOR __restrict *pOutput,
         const XMVECTOR __restrict *pInputReal,
         const XMVECTOR __restrict *pInputImaginary,
         const size_t uLength
)  

Parameters

pOutput
Type: XMVECTOR __restrict *

[out] Caller supplied output buffer to receive samples in polar form. pOutput must have at least uLength ÷ 4 elements.

pInputReal
Type: XMVECTOR __restrict *

[in] Input buffer containing the real components of a Fast Fourier Transform. pInputReal must have at least uLength ÷ 4 elements.

pInputImaginary
Type: XMVECTOR __restrict *

[in] Input buffer containing the imaginary components of an FFT. pInputImaginary must have at least uLength ÷ 4 elements.

uLength
Type: size_t 

[in] FFT length in samples. uLength must be a power of 2 greater than or equal to 4.

Return value

Type: void 

None.

Remarks

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