> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FFTPolar

> FFTPolar

# FFTPolar

複素数成分を極形式に変換します。

## 構文

```cpp theme={null}
void DSP::FFTPolar(  
         XMVECTOR* __restrict pOutput,  
         const XMVECTOR* __restrict pInputReal,  
         const XMVECTOR* __restrict pInputImaginary,  
         const size_t uLength  
)  
```

### パラメーター

*pOutput*   \_Out\_writes\_(uLength / 4)\
型: XMVECTOR\* \_\_restrict

呼び出し側が用意する出力バッファーで、極形式のサンプルを受け取ります。*pOutput* は少なくとも *uLength* ÷ 4 個の要素を持っている必要があります。

*pInputReal*   \_In\_reads\_(uLength / 4)\
型: XMVECTOR\* \_\_restrict

各要素が複素数の実数部である配列。*pInputReal* は少なくとも *uLength* ÷ 4 個の要素を持っている必要があります。

*pInputImaginary*   \_In\_reads\_(uLength / 4)\
型: XMVECTOR\* \_\_restrict

各要素が複素数の虚数部である配列。*pInputImaginary* は少なくとも *uLength* ÷ 4 個の要素を持っている必要があります。

*uLength*   \_In\_\
型: size\_t

すべてのベクトルの長さ (要素数)。*uLength* は 4 以上の 2 のべき乗である必要があります。

### 戻り値

型: void

なし。

## 解説

すべてのバッファー パラメーターは 16 バイト境界にアラインされている必要があります。オーディオ データは FLOAT32 である必要があります。*pOutput*、*pInputReal*、*pInputImaginary* のパラメーターの値は重複してはいけません。

## 要件

**ヘッダー:** xdsp.h

**サポートされているプラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

## 関連項目

[xdsp](/reference/audio/xdsp/xdsp_members)

[Game for Windows と DirectX SDK ブログ](https://walbourn.github.io/xdsp-h-digital-signal-processing-helper-functions/)

[Fast and Accurate Polar Fourier Transform](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.409.2516\&rep=rep1\&type=pdf)


## Related topics

- [XDSP の概要](/ja-jp/build/console-features/audio/overviews/xdsp-overview.md)
- [XDspActivationOptions](/ja-jp/reference/audio/xdspaudio/enums/xdspactivationoptions.md)
