Developer Reference for Intel® Integrated Performance Primitives
Compute the size of the DCT context structure and the size of the required work buffers.
IppStatus ippiDCTFwdGetSize_32f (IppiSize roiSize, int* pSizeSpec, int* pSizeInit, int* pSizeBuf);
IppStatus ippiDCTInvGetSize_32f (IppiSize roiSize, int* pSizeSpec, int* pSizeInit, int* pSizeBuf);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
roiSize |
Size of the source and destination ROI, in pixels. |
pSizeSpec |
Pointer to the size of the DCT context structure. |
pSizeInit |
Pointer to the size of the buffer for the DCT initialization function. |
pSizeBuf |
Pointer to the size of the DCT external work buffer. |
These functions compute the following:
Size of the DCT context structure. The result, in bytes, is stored in the pSizeSpec parameter.
Size of the work buffer for the ippiDCTFwdInit and ippiDCTInvInit functions. The result, in bytes, is stored in the pSizeInit parameter.
Size of the work buffer for the ippiDCTFwd and ippiDCTInv functions. The result, in bytes, is stored in the pSizeBuf parameter.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when roiSize has a field with a zero or negative value. |