1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-09-18 22:29:53 +00:00
1 FFTPolar
Chuck Walbourn edited this page 2016-05-23 16:28:39 -07:00

Converts complex components to polar form.

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

Parameters

pOutput

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

pInputReal

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

pInputImaginary

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

uLength

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

Remarks

All buffer parameters must be 16-byte aligned. Audio data must be 32-bit float mono.