Closes a wavelet transform structure.
Case 1: Forward transform
IppStatus ippsWTFwdFree_32f(IppsWTFwdState_32f* pState);
IppStatus ippsWTFwdFree_8s32f(IppsWTFwdState_8s32f* pState);
IppStatus ippsWTFwdFree_8u32f(IppsWTFwdState_8u32f* pState);
IppStatus ippsWTFwdFree_16s32f(IppsWTFwdState_16s32f* pState);
IppStatus ippsWTFwdFree_16u32f(IppsWTFwdState_16u32f* pState);
Case 2: Inverse transform
IppStatus ippsWTInvFree_32f(IppsWTInvState_32f* pState);
IppStatus ippsWTInvFree_32f8s(IppsWTInvState_32f8s* pState);
IppStatus ippsWTInvFree_32f8u(IppsWTInvState_32f8u* pState);
IppStatus ippsWTInvFree_32f16s (IppsWTInvState_32f16s* pState);
IppStatus ippsWTInvFree_32f16u(IppsWTInvState_32f16u* pState);
pState |
Pointer to the state structure to be closed. |
The functions ippsWTFwdFree and ippsWTInvFree are declared in the ipps.h file. These functions close the WT state structure pState by freeing all the internal memory associated with the state created by the functions ippsWTFwdInitAlloc or ippsWTInvInitAlloc. Call ippsWTFwdFree or ippsWTInvFreeafter the transform is completed. If the pState pointer is NULL, the function performs no operation and returns the ippStsNullPtrErr status.
ippsWTFwdFree. This function closes the forward WT state structure.
ippsWTInvFree. This function closes the inverse WT state structure.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when pState is NULL. |
ippStsStateMatchErr |
Indicates an error when the state identifier pState is incorrect. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.