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

ID 790148
Date 3/22/2024
Public
Document Table of Contents

WTFwdGetSize

Calculates the size of the specification structure and work buffer for a forward wavelet transform.

Syntax

IppStatus ippiWTFwdGetSize_32f(int numChannels, int lenLow, int anchorLow, int lenHigh, int anchorHigh, int* pSpecSize, int* pBufSize);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

numChannels
Number of channels in the image. Possible values are 1 or 3.
lenLow
Length of the lowpass filter.
anchorLow
Anchor position of the lowpass filter.
lenHigh
Length of the highpass filter.
anchorHigh
Anchor position of the highpass filter.
pSpecSize
Pointer to the computed size of the ippiWTFwd specification structure, in bytes.
pBufSize
Pointer to the computed size of the work buffer, in bytes.

Description

This function computes the size, in bytes, of the specification structure and work buffer required for the forward wavelet transform function ippiWTFwd.

For an example on how to use this function, refer to the example provided with the ippiWTInv function description.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

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

ippStsNumChannlesErr

Indicates an error when numChannels has an illegal value.

ippStsNumChannlesErr

Indicates an error when lenLow or lenHigh is less than 2.

ippStsAnchorErr

Indicates an error when anchorLow or anchorHigh is less than zero.

See Also