EncodeGetTermPassLen_JPEG2K

Returns the length of the specified terminated coding pass.

Syntax

IppStatus ippiEncodeGetTermPassLen_JPEG2K(IppiEncodeState_JPEG2K* pState, int passNumber, int* pPassLen);

Parameters

pState

Pointer to the allocated and initialized encoder state structure.

passNumber

Number of the terminated coding pass.

pPassLen

Pointer to the variable that returns the length of the terminated coding pass.

Description

The function ippiEncodeGetTermPassLen_JPEG2K is declared in the ippj.h file. This function returns the length pPassLen of the terminated coding pass of a given number passNumber that is stored in the pState state structure.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when any of the specified pointers is NULL.

ippStsContextMatchErr

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

ippStsJPEG2KBadPassNumber

Indicates an error condition if passNumber exceeds the allowed boundaries.

Submit feedback on this help topic

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