Developer Reference

  • 2021
  • 01/15/2021
  • Public Content
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
.

Product and Performance Information

1

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