Developer Reference for Intel® Integrated Performance Primitives 2018

EncodeLZ4HashTableGetSize

Calculates the size of the LZ4 hash table.

Syntax

IppStatus ippsEncodeLZ4HashTableGetSize(int* pHashTableSize);

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 hash table.

Description

This function calculates the size of the memory buffer that must be allocated for the LZ4 hash table.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pHashTableSize pointer is NULL.

Example

LZ4.c