Skip to main content

FFTPolar

Converts complex components into their polar form.

Syntax

Parameters

pOutput   _Out_writes_(uLength / 4)
Type: XMVECTOR* __restrict
Caller-supplied output buffer that receives samples in polar form. pOutput must have at least uLength ÷ 4 elements. pInputReal   _In_reads_(uLength / 4)
Type: XMVECTOR* __restrict
This is where each element is the real component of a complex number. pInputReal must have at least uLength ÷ 4 elements. pInputImaginary   _In_reads_(uLength / 4)
Type: XMVECTOR* __restrict
This is where each element is the imaginary component of a complex number. pInputImaginary must have at least uLength ÷ 4 elements. uLength   _In_
Type: size_t
Length of all the vectors in elements. uLength must be a power of 2 greater than or equal to 4.

Return value

Type: void None.

Remarks

All the buffer parameters must be 16-byte aligned. Audio data must be FLOAT32. The values of the pOutput, pInputReal, and pInputImaginary parameters must not overlap.

Requirements

Header: xdsp.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

xdsp Game for Windows and the DirectX SDK blog Fast and Accurate Polar Fourier Transform
Last modified on August 20, 2026