Computes the size of the DFT work buffer.
Case 1: Operation on real signal
IppStatus ippsDFTGetBufSize_R_16s(const IppsDFTSpec_R_16s* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_R_32f(const IppsDFTSpec_R_32f* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_R_64f(const IppsDFTSpec_R_64f* pDFTSpec, int* pSize);
Case 2: Operation on complex signal
IppStatus ippsDFTGetBufSize_C_16s(const IppsDFTSpec_C_16s* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_C_32f(const IppsDFTSpec_C_32f* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_C_64f(const IppsDFTSpec_C_64f* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_C_16sc(const IppsDFTSpec_C_16sc* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_C_32fc(const IppsDFTSpec_C_32fc* pDFTSpec, int* pSize);
IppStatus ippsDFTGetBufSize_C_64fc(const IppsDFTSpec_C_64fc* pDFTSpec, int* pSize);
pDFTSpec |
Pointer to the DFT specification structure. |
pSize |
Pointer to the DFT work buffer size value. |
The functions ippsDFTGetBufSize_R and ippsDFTGetBufSize_C are declared in the ipps.h file. These functions compute the size in bytes of an external memory buffer for the DFT described by the specification structure pDFTSpec and stores it in pSize.
To use external buffering, call this function after pDFTSpec initialization.
ippsDFTGetBufSize_R. The function ippsDFTGetBufSize_R gets the size of the real DFT work buffer.
ippsDFTGetBufSize_C. The function ippsDFTGetBufSize_C gets the size of the complex DFT work buffer.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pDFTSpec is NULL. |
ippStsContextMatchErr |
Indicates an error when the specification identifier pDFTSpec is incorrect. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.