Presets the user's dictionary for LZ77 encoding.
IppStatus ippsDeflateDictionarySet_8u(const Ipp8u* pDictSrc, Ipp32u dictLen, Ipp32s* pHashHeadDst, Ipp32u hashSize, Ipp32s* pHashPrevDst, Ipp8u* pWindowDst, Ipp32u winSize, int comprLevel);
pDictSrc |
Pointer to the user's dictionary. |
dictLen |
Length of the user's dictionary. |
pHashHeadDst |
Pointer to the table containing heads of the hash chains. |
pHashPrevDst |
Pointer to the table containing indexes to the previous strings with the same hash key. |
hashSize |
Size of the pHashHeadDst table. |
pWindowDst |
Pointer to the sliding window that is used as the dictionary for LZ77 encoding. |
winSize |
Size of the sliding window and the elements of the pHashPrevDst table. |
comprLevel |
Compression level in range [0..9] in accordance with ZLIB. |
The function ippsDeflateDictionarySet is declared in the ippdc.h file. This function presets the user's dictionary for LZ77 encoding.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.