WTFwdGetBufSize

Calculates the size of external work buffer for a forward wavelet transform.

Syntax

IppStatus ippiWTFwdGetBufSize_C1R(const IppiWTFwdSpec_32f_C1R* pSpec, int* pBufferSize);

IppStatus ippiWTFwdGetBufSize_C3R(const IppiWTFwdSpec_32f_C3R* pSpec, int* pBufferSize);

Parameters

pSpec
Pointer to an allocated and initialized forward DWT context structure.
pBufferSize
Pointer to a variable that will receive the size of work buffer required for forward wavelet transform.

Description

The function ippiWTFwdGetBufSize is declared in the ippi.h file. This function computes the size in bytes of the work buffer required for the forward wavelet transform function ippiWTFwd.

Example “Using Intel IPP Functions for Wavelet Transforms” shows how to use the function ippiWTInvInitAlloc_32f_C1R.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers is NULL.

ippStsContextMatchErr

Indicates an error condition if a pointer to an invalid context structure is passed.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.