Returns the number of the current bit plane.
IppStatus ippiDecodeCBProgrGetCurBitPlaneNum_JPEG2K(IppiDecodeCBProgrState_JPEG2K* pState, int* pBitPlaneNum);
pState |
Pointer to the decode state structure. |
pBitPlaneNum |
Pointer to the variable containing current bit plane number. |
The function ippiDecodeCBProgrGetCurBitPlane_JPEG2K is declared in the ippj.h file. This function returns the current bit plane number. Initially the bit plane counter is set to (sfBits - 1) value (see the function ippiDecodeCBProgrAttach_JPEG2K). During successful decoding step, the bit plane counter is decremented by one or some other number depending on coding options.
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. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.