Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

DeflateLZ77FastestGenHuffTable

Builds Huffman tables according to statistical data collections.

Syntax

IppStatus ippsDeflateLZ77FastestGenHuffTable_8u(const int pLitStat[286], const int pDistStat[30], IppDeflateHuffCode pLitCodeTable[286], IppDeflateHuffCode pDistCodeTable[30]);

Include Files

ippdc.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pLitStat

Pointer to data collection for literals and match lengths.

pDistStat

Pointer to data collection for distances.

pLitCodeTable

Pointer to the literals/lengths Huffman codes.

pDistCodeTable

Pointer to the distances Huffman codes.

Description

This function builds Huffman tables for literals/lengths according to the provided statistical data collection.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.