Developer Reference

  • 2021
  • 01/15/2021
  • Public Content
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.

Product and Performance Information

1

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