Deflate Compression and Decompression

Deflate Compression and Decompression#

The Intel® Query Processing Library (Intel® QPL) supports DEFLATE (Deflate) lossless data compression file format as specified in RFC 1951.

Attention

In Intel QPL, compression is always done using a history buffer size of 4 KB. Decompression is supported for Deflate streams where the size of the history buffer is no more than 4 KB, otherwise QPL_STS_BAD_DIST_ERR code is returned.

For more details on various supported Deflate flavors, refer to the Deflate Compression section. For instructions on how the Deflate stream could be decompressed, use Deflate Decompression.

Additionally Intel QPL supports compressing with a Dictionary, using Deflate with Indexing, and dividing compression and decompression into multiple jobs.

Intel QPL Deflate could be made compatible with ZLIB Format (as specified in RFC 1950) or GZIP (as specified in RFC 1952). See the Support of ZLIB and GZIP Formats section for more details.

Intel QPL provides an API to estimate the size of the output buffer required for compression operations. For more details, refer to Estimating the Size of the Deflate Compression Buffer.