EncodeHuffmanStateInitAlloc_JPEG

Allocates memory and initializes the IppiEncodeHuffmanState structure.

Syntax

IppStatus ippiEncodeHuffmanStateInitAlloc_JPEG_8u(IppiEncodeHuffmanState** ppEncHuffState);

Parameters

ppEncHuffState

Pointer to the IppiEncodeHuffmanState structure.

Description

The function ippiEncodeHuffmanStateInitAlloc_JPEG is declared in the ippj.h file. This function allocates memory and initializes the IppiEncodeHuffmanState structure to the initial state. This function must be called prior to the JPEG data stream encoding.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one or all of the specified pointers are NULL.

Submit feedback on this help topic

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