Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 6/24/2024
Public

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

Document Table of Contents

WTFwdGetSize, WTInvGetSize

Compute the size of the wavelet transform state structures.

Syntax

IppStatus ippsWTFwdGetSize(IppDataType srcType, int lenLow, int offsLow, int lenHigh, int offsHigh, int* pStateSize);

IppStatus ippsWTInvGetSize(IppDataType dstType, int lenLow, int offsLow, int lenHigh, int offsHigh, int* pStateSize);

Include Files

ipps.h

Domain Dependencies

Headers: ippcore.h, ippvm.h

Libraries: ippcore.lib, ippvm.lib

Parameters

srcType, dstType
Data type of the transformed vector.
lenLow
Length of the low-pass filter.
offsLow
Input delay of the low-pass filter.
lenHigh
Length of the high-pass filter.
offsHigh
Input delay of the high-pass filter.
pStateSize
Pointer to the size of the ippsWTFwd or ippsWTInv state structure, in bytes.

Description

The ippsWTFwd and ippsWTInv functions compute the size of the ippsWTFwd and ippsWTInv state structures, in bytes, for the ippsWTFwdInit and ippsWTInvInit functions, respectively.

For an example on how to use these functions, refer to Wavelet Transforms Example.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.

ippStsSizeErr

Indicates an error when lenLow or lenHigh is less than, or equal to zero.

ippStsWtOffsetErr

Indicates an error when the filter delay offsLow or offsHigh is less than -1.

See Also