IPP's Huffman for compressing

IPP's Huffman for compressing

Hi,

I'm developing a program that uses huffman tree and I wouldlike touse the IPP's Huffmanto do it. I have readed the IPP manualbutcouldnt findany solution. Please, can anyone help meto use IPP's Huffmanfor general proposer (compressing)?

Thanks,

Fernando.

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

Hi,

huffman codec functions in ippAC library were designed for using in audio compression. If you need some general algorithm - please submit your request through technical support channels.

Regards,
Vladimir

Acctualy, Primitivies were designed to be used in regular Huffman encoding too:
You can use the following functions to perfrom Huffman encoding:
ippsGetSizeHET_VLC_32s
ippsBuildHET_VLC_32s
ippsCountBits_1tuple_VLC_16s
ippsCountBits_2tuple_VLC_16s
ippsCountBits_4tuple_VLC_16s
ippsEncodeBlock_1tuple_VLC_16s
ippsEncodeBlock_2tuple_VLC_16s
ippsEncodeBlock_4tuple_VLC_16s
Please pay attantioon to Example 10-4, 10-6 in ipps manual to understand how these functions should be used.
For real example of usage you can investigate AAC encoder

Regards,
Iliya

Leave a Comment

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