Allocates memory and initializes the decoder state structure in the external buffer.
IppStatus ippiDecodeCBProgrInitAlloc_JPEG2K(IppiDecodeCBProgrState_JPEG2K** ppState, IppiSize codeBlockMaxSize);
ppState |
Pointer to the pointer to the decoder state structure. |
codeBlockMaxSize |
Maximum size of the codeblock. |
The function ippiDecodeCBProgrInitAlloc_JPEG2K is declared in the ippj.h file. This function allocates memory and initialize the decoder state structure for progressive mode pState.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if pState pointer is NULL. |
ippStsSizeErr |
Indicates an error condition if codeBlockMaxSize has a field with zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.