Allocates memory and initializes an FFT specification structure for real and complex signals.
Case 1: Operation on real signal
IppStatus ippsFFTInitAlloc_R_16s(IppsFFTSpec_R_16s** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_R_32s(IppsFFTSpec_R_32s** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_R_32f(IppsFFTSpec_R_32f** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_R_64f(IppsFFTSpec_R_64f** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_R_16s32s(IppsFFTSpec_R_16s32s** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
Case 2: Operation on complex signal
IppStatus ippsFFTInitAlloc_C_16s(IppsFFTSpec_C_16s** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_32s(IppsFFTSpec_C_32s** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_32f(IppsFFTSpec_C_32f** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_64f(IppsFFTSpec_C_64f** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_16sc(IppsFFTSpec_C_16sc** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_32sc(IppsFFTSpec_C_32sc** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_32fc(IppsFFTSpec_C_32fc** ppFFTSpec, int order, int flag, IppHintAlgorithm hint);
IppStatus ippsFFTInitAlloc_C_64fc(IppsFFTSpec_C_64fc** ppFFTSpec, int order, 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. |
order |
FFT order. The input signal length is N=2order. |
ppFFTSpec |
Double pointer to the FFT specification structure to be created. |
The functions ippsFFTInitAlloc_R and ippsFFTInitAlloc_C are declared in the ipps.h file. These functions allocate memory, create, and initialize the FFT specification structure ppFFTSpec with the following parameters: the transform order, the normalization flag, and the specific code hint. The order argument defines the transform length. Thus the input and output signals are 2order-length arrays.
ippsFFTInitAlloc_R. This function allocates memory and initializes the real FFT specification structure.
ippsFFTInitAlloc_C. This function allocates memory and initializes the complex FFT specification structure.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the ppFFTSpec pointer is NULL. |
ippStsFftOrderErr |
Indicates an error when the order value is incorrect. |
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.