Allocates memory and initializes an entropy encoder state structure.
IppStatus ippiEncodeInitAlloc_JPEG2K(IppiEncodeState_JPEG2K** pState, IppiSize codeBlockMaxSize);
pState |
Pointer to variable that returns the pointer to allocated and initialized encoder state structure. |
codeBlockMaxSize |
Maximum size of code block in pixels. |
The function ippiEncodeInitAlloc_JPEG2K is declared in the ippj.h file. This function allocates and initializes the entropy encoder state structure that is used in the encoding procedures.
ippStsNoErr |
Indicates no error. |
ippStsSizeErr |
Indicates an error condition if the width or height of the code block has zero or negative value. |
ippStsMemAllocErr |
Indicates an error condition if memory allocation fails. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.