Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

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

Document Table of Contents

EncodeHuffGetSize_BZ2

Computes the size of the internal state for bzip2-specific Huffman encoding.

Syntax

IppStatus ippsEncodeHuffGetSize_BZ2_16u8u(int wndSize, int* pEncodeHuffStateSize);

Include Files

ippdc.h

Domain Dependencies

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

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

Parameters

wndSize

Size of the block to be processed.

pEncodeHuffStateSize

Pointer to the size of the internal state for bzip2-specific Huffman coding.

Description

This function computes the size of the internal state structure for bzip2-specific Huffman encoding in dependence of the size of the block to be encoded.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error if the pointer pEncodeHuffStateSize is NULL.

ippStsSizeErr

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