Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.