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

ID 790148
Date 6/24/2024
Public

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

Document Table of Contents

DecodeHuffInit_BZ2

Initializes the elements of the bzip2-specific internal state for Huffman decoding.

Syntax

IppStatus ippsDecodeHuffInit_BZ2_8u16u(int sizeDictionary, IppDecodeHuffState_BZ2* pDecodeHuffState);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

sizeDictionary

Size of the dictionary.

pDecodeHuffState

Pointer to internal state structure for bzip2 specific Huffman coding.

Description

This function initializes the elements of the bzip2-specific internal state for Huffman decoding. This structure is used by the function ippsDecodeHuff_BZ2. The size of this buffer must be computed previously by calling the function ippsDecodeHuffGetSize_BZ2.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pDecodeHuffState pointer is NULL.

ippStsSizeErr

Indicates an error if sizeDictionary is less than or equal to 0.