DecodeCBProgrInitAlloc_JPEG2K

Allocates memory and initializes the decoder state structure in the external buffer.

Syntax

IppStatus ippiDecodeCBProgrInitAlloc_JPEG2K(IppiDecodeCBProgrState_JPEG2K** ppState, IppiSize codeBlockMaxSize);

Parameters

ppState

Pointer to the pointer to the decoder state structure.

codeBlockMaxSize

Maximum size of the codeblock.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.