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

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today