Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Arcady_Chernyak
Beginner
68 Views

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

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
68 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.

Reply