Skip to content

FFTInitializeUnityTable

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

Initializes unity roots lookup table used by Fast Fourier Transform functions.

void FFTInitializeUnityTable(XMVECTOR* pUnityTable, size_t uLength);

Parameters

pUnityTable

[out] Caller-provided array of XVECTOR elements that will be populated with the unity table values. The array passed to pUnityTable must be at least uLength elements long.

uLength

[in] The FFT length in frames (sample count / channel count). uLength must be a power of two and must be greater than 16.

Remarks

Once initialized, the table does not need to be initialized again unless you want a different FFT length.

Unity tables for FFT lengths of 16 and below are hard coded into the respective FFT functions (FFT16, FFT8, and FFT4). They do not need to be initialized.

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
  • Windows 7 Service Pack 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