Developer Reference for Intel® Integrated Performance Primitives
Initialize the context structure for the forward or inverse DCT operation.
IppStatus ippiDCTFwdInit_32f (IppiDCTFwdSpec_32f* pDCTSpec, IppiSize roiSize, Ipp8u* pMemInit);
IppStatus ippiDCTInvInit_32f (IppiDCTInvSpec_32f* pDCTSpec, IppiSize roiSize, Ipp8u* pMemInit);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pDCTSpec |
Pointer to the forward or inverse DCT context structure for initialization. |
roiSize |
Size of the source and destination ROI, in pixels. |
pMemInit |
Pointer to the temporary work buffer. |
These functions initialize the pDCTSpec context structure to apply the forward or inverse DCT to two-dimensional image data. The ippiDCTFwd and ippiDCTInv functions use the pointer to the initialized DCT context structure as an argument to compute the forward or inverse DCT for points in the ROI of size roiSize.
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. |