Visible to Intel only — GUID: GUID-AD4F0076-A38C-478A-9867-EBA854BF8E7B
Visible to Intel only — GUID: GUID-AD4F0076-A38C-478A-9867-EBA854BF8E7B
DCTFwdInit, DCTInvInit
Initialize the context structure for the forward or inverse DCT operation.
Syntax
IppStatus ippiDCTFwdInit_32f (IppiDCTFwdSpec_32f* pDCTSpec, IppiSize roiSize, Ipp8u* pMemInit);
IppStatus ippiDCTInvInit_32f (IppiDCTInvSpec_32f* pDCTSpec, IppiSize roiSize, Ipp8u* pMemInit);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
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. |
Description
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.
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. |