DecodeCBProgrGetStateSize_JPEG2K

Computes the size of the external buffer for the decoder state structure.

Syntax

IppStatus ippiDecodeCBProgrGetStateSize_JPEG2K(IppiSize codeBlockMaxSize, int* pStateSize);

Parameters

codeBlockMaxSize

Maximum size of the codeblock.

pStateSize

Pointer to the variable that returns the size of the buffer for the decoder state structure.

Description

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.

Return Values

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.

Submit feedback on this help topic

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