Developer Reference

  • 2020
  • 07/15/2020
  • 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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804