HuffGetSize

Computes size of the external buffer for the Huffman encoding structure.

Syntax

IppStatus ippsHuffGetSize_8u(int* pHuffStateSize);

Parameters

pHuffStateSize

Pointer to the computed size of the Huffman coding structure.

Description

The function ippsHuffGetSize is declared in the ippdc.h file. This function computes the size of memory (in bytes) for the external buffer required for the Huffman encoding structure. This function must be called prior to the function ippsEncodeHuffInit.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pHuffStateSize pointer is NULL.

Submit feedback on this help topic

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