Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6742 Discussions

differnce between ippsEncodeHuffInit_BZ2_16u8u() and ippsEncodeHuffInit_8u() API's

Arcady_Chernyak
Beginner
400 Views
What is the difference between ippsEncodeHuffInit_BZ2_16u8u() and ippsEncodeHuffInit_8u() API's?

Why ippsEncodeHuffInitAlloc_8u
ippsHuffGetLenCodeTable_8u
ippsHuffLenCodeTablePack_8u
ippsEncodeHuff_8u
ippsEncodeHuffFinal_8u
ippsHuffFree_8u

Works faster then:

ippsEncodeHuffInit_BZ2_16u8u
ippsPackHuffContext_BZ2_16u8u
ippsEncodeHuff_BZ2_16u8u

for 64K datablocks

Thanks
Arcady

0 Kudos
1 Reply
Alexander_Naduev__In
400 Views
Hello Arcady,
theseare absolutely different functions - the first common version of Huffman algorithmand the second - special version for bzip2 functionality. The second version spendsmore time for Huffman codes building according to the bzip2 algorithm.

0 Kudos
Reply