EncodeFree_JPEG2K

Frees memory allocated for an entropy encoding state structure.

Syntax

IppStatus ippiEncodeFree_JPEG2K(IppiEncodeState_JPEG2K* pState);

Parameters

pState

Pointer to the allocated and initialized encoder state structure.

Description

The function ippiEncodeFree_JPEG2K is declared in the ippj.h file. This function frees memory allocated for the entropy encoder state structure by the function ippiEncodeInitAlloc_JPEG2K.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if pState pointer to a state structure is NULL.

ippStsContextMatchErr

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

Submit feedback on this help topic

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