vDSP_fft2d_zip
Computes a 2D forward or inverse in-place, single-precision complex FFT.
Declaration
extern void vDSP_fft2d_zip(FFTSetup __Setup, const DSPSplitComplex *__C, vDSP_Stride __IC0, vDSP_Stride __IC1, vDSP_Length __Log2N0, vDSP_Length __Log2N1, FFTDirection __Direction);Parameters
- __Setup:
The FFT setup structure for this transform. The setup’s structure
Log2Nmust be greater than or equal to this function’sLog2N0andLog2N1. - __C:
A pointer to the input-output data.
- __IC0:
The stride between the elements in a row of
C, set to 1 for best performance. - __IC1:
The increment, in elements, between consecutive elements in a column of
A,which is also the distance between adjacent rows ofA. UnlessAis a submatrix, pass0to have the function calculate the default column stride as the row stride (__IA0)multiplied by the column count. - __Log2N0:
The base 2 exponent of the number of columns to process for each row.
- __Log2N1:
The base 2 exponent of the number of rows to process. For example, to process 64 rows of 128 columns, specify
7forLog2N0and6forLog2N1. - __Direction:
A flag that specifies the transform direction. Pass Kfftdirection_forward to transform from the spatial domain to the frequency domain. Pass Kfftdirection_inverse to transform from the frequency domain to the spatial domain.