Visible to Intel only — GUID: GUID-C0119308-48AA-4C8A-800D-3585554B3454
Visible to Intel only — GUID: GUID-C0119308-48AA-4C8A-800D-3585554B3454
DCTFwdGetSize, DCTInvGetSize
Compute the size of the DCT context structure and the size of the required work buffers.
Syntax
IppStatus ippiDCTFwdGetSize_32f (IppiSize roiSize, int* pSizeSpec, int* pSizeInit, int* pSizeBuf);
IppStatus ippiDCTInvGetSize_32f (IppiSize roiSize, int* pSizeSpec, int* pSizeInit, int* pSizeBuf);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
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. |
Description
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.
Return Values
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. |