Skip to content

FFTPolar

Chuck Walbourn edited this page May 23, 2016 · 1 revision

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.

For Use

  • Universal Windows Platform apps
  • Windows desktop apps
  • Windows 11
  • Windows 10
  • Windows 8.1
  • Xbox One
  • Xbox Series X|S
  • Windows Subsystem for Linux

Architecture

  • x86
  • x64
  • ARM64

For Development

  • Visual Studio 2022
  • Visual Studio 2019 (16.11)
  • clang/LLVM v12 - v18
  • GCC 10.5, 11.4, 12.3
  • MinGW 12.2, 13.2
  • Intel Classic Compiler
  • Intel oneAPI Compiler

Related Projects

DirectX Tool Kit for DirectX 11

DirectX Tool Kit for DirectX 12

DirectXMesh

DirectXTex

Tools

Test Suite

See also

DirectX Landing Page

Clone this wiki locally