Initializes the DFT specification structure for real and complex signals.
Case 1: Operation on real signal
IppStatus ippsDFTInitAlloc_R_16s(IppsDFTSpec _R_16s** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_R_32f(IppsDFTSpec _R_32f** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_R_64f(IppsDFTSpec_R_64f** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
Case 2: Operation on complex signal
IppStatus ippsDFTInitAlloc_C_16s(IppsDFTSpec _C_16s** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_C_32f(IppsDFTSpec _C_32f** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_C_64f(IppsDFTSpec _C_64f** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_C_16sc(IppsDFTSpec _C_16sc** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_C_32fc(IppsDFTSpec _C_32fc** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
IppStatus ippsDFTInitAlloc_C_64fc(IppsDFTSpec_C_64fc** ppDFTSpec, int len, int flag, IppHintAlgorithm hint);
flag |
Specifies the result normalization method. The values for the flag argument are described in the section Flag and Hint Arguments. |
hint |
Suggests using specific code for calculation. The values for the hint argument are described in the section Flag and Hint Arguments. |
len |
Length of the DFT transform. |
ppDFTSpec |
Double pointer to the DFT specification structure to be created. |
The functions ippsDFTInitAlloc_R and ippsDFTInitAlloc_C are declared in the ipps.h file. These functions create and initialize the DFT specification structure ppDFTSpec with the following parameters: the transform len, the normalization flag, and the specific code hint. The len argument defines the transform length.
ippsDFTInitAlloc_R. The function ippsDFTInitAlloc_R initializes the real DFT specification structure.
ippsDFTInitAlloc_C. The function ippsDFTInitAlloc_C initializes the complex DFT specification structure.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the ppDFTSpec pointer is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
ippStsFftFlagErr |
Indicates an error when the flag value is incorrect. |
ippStsMemAllocErr |
Indicates an error when no memory is allocated. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.