Intel® Integrated Performance Primitives Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
ZLIB Coding Functions
This section describes Intel IPP data compression functions that implement compression methods and data formats defined by the following specifications: [RFC1950], [RFC1951], and [RFC1952]. These formats are also known as ZLIB, DEFLATE, and GZIP, respectively.
A basic algorithm for these data compression methods is based on the Lempel-Ziv (LZ77) [Ziv77] dictionary-based compression.
The structure of ZLIB data is schematically shown in Figure "ZLIB Data Structure".

The full version of the zlib library is included with the product at <ipp directory>/interfaces/data-compression/ipp_zlib.
- Special Parameters
- Adler32
Computes the Adler32 checksum for the source data buffer. - CRC32, CRC32C
Computes the CRC32 checksum for the source data buffer. - DeflateLZ77
Performs LZ77 encoding according to the specified compression level. - DeflateLZ77Fast
Performs LZ77 encoding according to the fast algorithm and parameters of a match. - DeflateLZ77Fastest
Performs LZ77 encoding according to the fastest algorithm. - DeflateLZ77FastestGenHeader
Computes a header of the provided Huffman tables description. - DeflateLZ77FastestGenHuffTable
Builds Huffman tables according to statistical data collections. - DeflateLZ77FastestGetStat
Performs statistical data collection required to build user's Huffman table. - DeflateLZ77FastestPrecompHeader
Performs LZ77 encoding using the fastest algorithm with prebuilding of customer Huffman tables and prediction header. - DeflateLZ77Slow
Performs LZ77 encoding according to the slow algorithm and parameters of a match. - DeflateDictionarySet
Presets the user's dictionary for LZ77 encoding. - DeflateUpdate Hash
Performs LZ77 encoding according to the specified compression level. - DeflateHuff
Performs Huffman encoding . - InflateBuildHuffTable
Builds the Huffman code table for compressed block in the “deflate” format. - Inflate
Decodes data in the “deflate” format.