Intel IPP Integration Wrappers Developer Guide and Reference

ID 751823
Date 1/18/2023
Public
Document Table of Contents

iwsDCT

Syntax

typedef struct _IwsDCTParams
{
    IppHintAlgorithm algoMode;  
} IwsDCTParams;
static IW_INLINE void iwsDCT_SetDefaultParams(
    IwsDCTParams *pParams      
)
IW_DECL(IppStatus) iwsDCT(
    const IwsVector    *pSrcVector, 
    IwsVector          *pDstVector, 
    IwTransDirection    direction, 
    const IwsDCTParams *pAuxParams    
);

Parameters

pSrcVector

Pointer to the source vector.

pDstVector

Pointer to the destination vector.

direction

Transform direction.

addVal

Offset value for scaling.

pAuxParams

Pointer to the auxiliary parameters structure. If NULL, default parameters are used.

Auxiliary Arguments

Argument Default Value Description

algoMode

ippAlgHintNone

Accuracy mode.

Description

This function applies discrete cosine transform (DCT) to the source vector.

This function supports the following features:

Feature Support
In-place mode Yes
64-bit sizes No
Manual tiling Yes
IwsTile simple tiling No
IwsTile pipeline tiling No

Return Values

ippStsDataTypeErr

The dataType value is illegal.

ippStsNoMemErr

Memory allocation failed.

ippStsNullPtrErr

At least one of the pointers (except pTile) is NULL.

ippStsNoErr

No errors.