- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ).
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page