DecodeCBProgrInit_JPEG2K

Initializes the decoder state structure in the external buffer.

Syntax

IppStatus ippiDecodeCBProgrInit_JPEG2K(IppiDecodeCBProgrState_JPEG2K* pState);

Parameters

pState

Pointer to the decoder state structure.

Description

The function ippiDecodeCBProgrInit_JPEG2K is declared in the ippj.h file. This function initialize the decoder state structure for progressive mode pState in the external buffer which size should be computed previously by calling the function ippiDecodeCBProgrGetStateSize_JPEG2K.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pState pointer is NULL.

ippStsContextMatchErr

Indicates an error condition if a pointer to the invalid structure is passed.

Submit feedback on this help topic

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