Developer Reference for Intel® Integrated Performance Primitives 2019

EncodeLZ4HCHashTableInit

Initializes LZ4 hash tables for HC mode.

Syntax

IppStatus ippsEncodeLZ4HCHashTableInit_8u(Ipp8u** ppHashTables);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

ppHashTables

Pointer to an array of pointers to LZ4 hash tables for HC mode; ppHashTables[0]=pHashTable, ppHashTables[1]=pPrevTable.

Description

This function initializes the LZ4 HashTable and PrevTable. Before using this function, compute the size of the LZ4 hash tables using the EncodeLZ4HCHashTableGetSize function.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if any of the ppHashTables pointers is NULL.

Example

LZ4HC.c