DecodeCBProgrGetPassCounter_JPEG2K

Returns the value of the internal coding pass counter.

Syntax

IppStatus ippiDecodeCBProgrGetPassCounter_JPEG2K(IppiDecodeCBProgrState_JPEG2K* pState, int* pNOfResidualPasses);

Parameters

pState

Pointer to the decode state structure.

pNOfResidualPasses

Pointer to the number of residual coding passes.

Description

The function ippiDecodeCBProgrGetPassCounter_JPEG2K is declared in the ippj.h file. This function returns the value of internal coding pass counter that is received from the decoding state structure pState.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pState pointer is NULL.

ippStsContextMatchErr

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

Submit feedback on this help topic

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