Developer Reference for Intel® Integrated Performance Primitives 2019

EncodeLZ4HCHashTableGetSize

Calculates the size of the LZ4 HashTable and PrevTable for HC mode.

Syntax

IppStatus ippsEncodeLZ4HCHashTableGetSize(int* pHashTableSize, int* pPrevTableSize);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

pHashTableSize

Pointer to the variable containing the size of the LZ4 HashTable.

pHashPrevSize

Pointer to the variable containing the size of the LZ4 PrevTable.

Description

This function calculates the size of the memory buffer that must be allocated for the LZ4 HashTable and PrevTable in HC mode.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if pHashTableSize or pPrevTableSize is NULL.

Example

LZ4HC.c