Returns the length of the specified terminated coding pass.
IppStatus ippiEncodeGetTermPassLen_JPEG2K(IppiEncodeState_JPEG2K* pState, int passNumber, int* pPassLen);
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. |
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.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.