Computes the size of the external buffer for the decoder state structure.
IppStatus ippiDecodeCBProgrGetStateSize_JPEG2K(IppiSize codeBlockMaxSize, int* pStateSize);
codeBlockMaxSize |
Maximum size of the codeblock. |
pStateSize |
Pointer to the variable that returns the size of the buffer for the decoder state structure. |
The function ippiDecodeCBProgrGetStateSize_JPEG2K is declared in the ippj.h file. This function computes the size of the external buffer for the decoder state structure. This parameter is depending on the maximum size of the codeblock codeBlockMaxSize.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if pStateSize 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.