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

Huffman decoding

figo
初学者
1,400 次查看
Hello,
I am doing JPEG decoding with the function DecodeHuffman8x8_JPEG.
Can anyone describe how the calculation of the AC and DC coefficient tables and the RRRRSSSS coding are implemented in the IPP library?
Thanks
0 项奖励
3 回复数
Vladimir_Dudnik
1,400 次查看
Hi,
what do you mean? The calculations are made according ISO/IEC-10918-1. Is it answer you question?
Regards,
Vladimir
0 项奖励
figo
初学者
1,400 次查看

Can you clarify? Does this mean that all JPEG codec calculations of the AC and DC coefficients in the IPP are Huffman entropy encoded and decoded in accordance with ISO/IEC-10918-1? If not, what other solutions are used?

Thanks

0 项奖励
Vladimir_Dudnik
1,400 次查看
Hi,
On JPEG encoder side DC and AC coefficients are calculated through DCT, and after quantization they are Huffman encoded with using HUffman tables which built according with ISO/IEC 10918-1 (see Annex C, Huffman table specification). There is no other solutions if you want to build standard compliant JPEG codec.
Regards,
Vladimir
0 项奖励
回复