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

Exporting progressive JPEGs

Luke_Hart
Beginner
247 Views

Using the modified version of IJG80b in IPP-Samples, normal non-prgressive saving of JPEGs works as expected. After calling jpeg_simple_progression to setup the progressive scan script the export appears to work, but the resulting JPEG is far to small and doesn't contain a valid image. I've confirm this behavour with a very simple test harness.

I wonder if the issue is there is an optimsed function (flush_bits_intellib) thats called in non-progressive case from finish_pass_huff, but no optimised function used in the progressive case. If the pass is built up in an internal buffer, not calling an intellib function may cause the compressed stream not to be written.

0 Kudos
1 Reply
Sergey_K_Intel
Employee
247 Views

Hi Luke,

Unfortunately, we missed this code path while porting IJG 8.0b to IPP. Please, use original IJG library or, better, libjpeg-turbo as highly optimized too, for your application. Our plans regarding IJG support still are dim.

Regards,
Sergey 

0 Kudos
Reply