VLCEncodeGetSize

Computes the size of the VLC encoder structure.

Syntax

ippsVLCEncodeGetSize_32s (const IppsVLCTable_32s* pInputTable, int inputTableSize, Ipp32s* pSize);

Parameters

pInputTable

Pointer to the VLC table

inputTableSize

Size of the input table

pSize

Pointer to the size of the VLC encoder specification structure.

Description

The function ippsVLCEncodeGetSize is declared in the ippdc.h file. This function computes the size of the VLC encoder structure that uses the VLC table pInputTable. Its size is stored in the pSize. This function should be called prior to the function ippsVLCEncodeInit.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if one of the specified pointers is NULL.

ippStsVLCInputDataErr

Indicates an error if inputTableSize is less than or equal to 0.

Submit feedback on this help topic

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