Intel IPP Integration Wrappers Developer Guide and Reference

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

iwsDCT

Syntax

class IwsDCTParams: public ::IwsDCTParams
{
public:
    IW_BASE_PARAMS_CONSTRUCTORS(IwsDCTParams, iwsDCT_SetDefaultParams)
    IwsDCTParams(IppHintAlgorithm algoMode = ippAlgHintNone);
};
IW_DECL_CPP(IppStatus) iwsDCT(
    const IwsVector    &srcVector,
    IwsVector          &dstVector,
    IwTransDirection    direction,
    const IwsDCTParams &auxParams
);

Parameters

srcVector

Reference to the source vector.

dstVector

Reference to the destination vector.

direction

Transform direction.

auxParams

Reference to the auxiliary parameters structure.

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 Yes
IwsTile pipeline tiling Yes

Return Values

ippStsNoErr

No errors.

Exception Values

ippStsDataTypeErr

The dataType value is illegal.

ippStsNoMemErr

Memory allocation failed.

ippStsNullPtrErr

At least one of the references (except tile) is NULL.