Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

cross-arch jpeg example

Maciej_K_
Beginner
755 Views
It doesn't work well for me. It seems that that encoder passes a raw quantization tables to ippiDCTQuantFwdTableInit_JPEG_8u16u() instead a zig-zag ordered ones. I'm using VC++ ( win32 ).
0 Kudos
1 Reply
Intel_C_Intel
Employee
755 Views

Oh, yes, you are right, it is our mistake. Fortunately, it is easy to fix. You need to change function write_dqt(), file jpgmisc.c, line 673:
instead of
status = write_byte(quant_tbl[zig_zag_tab_index],bitstream);
you need
status = write_byte(quant_tbl,bitstream);

Hope it helps.
Thanks for your report.

Regards,
Vladimir

0 Kudos
Reply