Allocates memory and initializes the VLC encoder structure.
ippsVLCEncodeInitAlloc_32s (const IppsVLCTable_32s* pInputTable, int inputTableSize, IppsVLCEncodeSpec_32s** ppVLCSpec);
pInputTable |
Pointer to the VLC table. |
inputTableSize |
Size of the VLC table. |
ppVLCSpec |
Double pointer to the VLC encoder specification structure. |
The function ippsVLCEncodeInitAlloc is declared in the ippdc.h file. This function allocates memory and initializes the VLC encoder specification structure ppVLCSpec that uses the VLC table pInputTable. The VLC encoder specification structure is used by the functions ippsVLCEncodeBlock and ippsVLCEncodeOne.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsMemAllocErr |
Indicates an error if memory allocation fails. |
ippStsVLCInputDataErr |
Indicates an error if inputTableSize is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.