Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

EncodeHuffInit_BZ2

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

Syntax

IppStatus ippsEncodeHuffInit_BZ2_16u8u(int
sizeDictionary
, const int
freqTable
[258], const Ipp16u*
pSrc
, int
srcLen
, IppEncodeHuffState_BZ2*
pEncodeHuffState
);
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.
freqTable
Table of frequencies of symbols.
pSrc
Pointer to the source vector.
srcLen
Length of the source vector.
pEncodeHuffState
Pointer to internal state structure for bzip2 specific Huffman coding.
Description
This function initializes the elements of the bzip2-specific internal state for Huffman encoding. This structure is used by the function
ippsEncodeHuff_BZ2
. The size of this buffer must be computed previously by calling the function
ippsEncodeHuffGetSize_BZ2
.
Return Values
ippStsNoErr
Indicates no error.
ippStsNullPtrErr
Indicates an error if one of the pointers is
NULL
.
ippStsSizeErr
Indicates an error if length of the source buffer is less than or equal to 0.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804