Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.

See Also