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

IPP's Huffman for compressing

fernando_ftf
Beginner
383 Views
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.
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
383 Views

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

0 Kudos
Iliya_S_Intel
Employee
383 Views
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
0 Kudos
Reply