1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-21 11:50:05 +00:00
3 XDSP
Chuck Walbourn edited this page 2019-03-25 23:50:38 -07:00

This is an implementation of the legacy DirectX SDK utility header DSP math functions using DirectXMath.

See this blog post for more details.

API

All functions are in the C++ namespace XDSP.

All memory buffers used with these functions must be 16-byte aligned. This happens by default for x64, but requires alignment or use of __aligned_malloc with x86 or ARM.

  • FFT - Fast Fourier Transform with an arbitrary number of samples.

  • FFT4 - Four sample Fast Fourier Transform.

  • FFT8 - Eight sample Fast Fourier Transform.

  • FFT16 - Sixteen sample Fast Fourier Transform.

  • FFTInitializeUnityTable - Initializes unity roots lookup table used by Fast Fourier Transform functions (FFT, FFTDeinterleaved, and FFTInterleaved)

  • FFTPolar - Converts complex components to polar form.

  • FFTUnswizzle - Arranges Fast Fourier Transform function output by order of increasing frequency.

  • Interleave - Interleaves audio samples.

  • Deinterleave - Deinterleaves audio samples.

  • FFTInterleaved - Fast Fourier Transform, plus deinterleaves multichannel audio before processing.

  • IFFTDeinterleaved - Fast Fourier Transform, plus interleaved multichannel audio.