Developer Reference

  • 2021
  • 03/26/2021
  • Public Content
Contents

DeflateDictionarySet

Presets the user's dictionary for LZ77 encoding.

Syntax

IppStatus ippsDeflateDictionarySet_8u(const Ipp8u*
pDictSrc
, Ipp32u
dictLen
, Ipp32s*
pHashHeadDst
, Ipp32u
hashSize
, Ipp32s*
pHashPrevDst
, Ipp8u*
pWindowDst
, Ipp32u
winSize
, int
comprLevel
);
Include Files
ippdc.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
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.
Description
This function presets the user's dictionary for LZ77 encoding.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error if one of the specified pointers is
NULL
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.