Computes a number of bits required to encode the source block.
ippsVLCCountBits_16s32s (const Ipp16s* pSrc, int srcLen, Ipp32s* pCountBits, const IppsVLCEncodeSpec_32s* pVLCSpec);
pSrc |
Pointer to the source buffer. |
srcLen |
Number of elements in the pSrc. |
pCounBits |
Pointer to the computed length in bits required to encode pSrc. |
pVLCSpec |
Pointer to the VLC encoder specification structure. |
The function ippsVLCCountBits is declared in the ippdc.h file. This function computes a number of bits required to encode the source data pSrc using the VLC table from the encoder specification structure pVLCSpec that must be initialized by the functions ippsVLCEncodeInitAlloc or ippsVLCEncodeInit beforehand.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.