MomentFree

Frees memory allocated by the function ippiMomentInitAlloc.

Syntax

IppStatus ippiMomentFree_64f(IppiMomentState_64f* pState);

IppStatus ippiMomentFree_64s(IppiMomentState_64s* pState);

Parameters

pState

Pointer to the structure for image moments storage.

Description

The function ippiMomentFree is declared in the ippi.h file. Use this function to deallocate the previously initialized pState structure that stored the image moments data. Different functions are used to deallocate structures for integer and floating-point data.

Return Values

ippStsNoErr

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

ippStsNullPtrErr

Indicates an error condition if pState pointer is NULL.

ippStsContextMatchErr

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

Submit feedback on this help topic

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