vDSP_fft2d_zripD
Computes a 2D forward or inverse in-place, double-precision real FFT.
Declaration
extern void vDSP_fft2d_zripD(FFTSetupD __Setup, const DSPDoubleSplitComplex *__C, vDSP_Stride __IC0, vDSP_Stride __IC1, vDSP_Length __Log2N0, vDSP_Length __Log2N1, FFTDirection __flag);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
C,which is also the distance between adjacent rows ofC. UnlessCis a submatrix, pass0to have the function calculate the default column stride as the row stride (__IC0)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. - __flag:
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.