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

how to get the progress of the JPEG encoding

Sathish_S_
Beginner
289 Views

Hello Guys,

I am implementing the JPEG encoding, As part of this I am done with implementation and it's working fine. But, I need to update the encoding part in the progress meter. 

could anyone suggest me which API, I need to use to get the progress of the encoder.

Regards,

sathish.

0 Kudos
2 Replies
Chao_Y_Intel
Moderator
289 Views

Hello, Sathish.

If you are using the IJG based interface, it can encoded the image line by line:
  (void) jpeg_write_scanlines(.....);
so, you wound know the progress of your encoding process.

Thanks,
Chao

0 Kudos
Sathish_S_
Beginner
289 Views

Hello Chao,

I am using the Intel IPP libraries for JPEG Baseline encoding. In the JERRCODE CJPEGEncoder::EncodeScanBaseline(void) method I have implemented some code to get the progress of the encoding. Actually, I need is there any existing call back so that I can call it in top level interface.

Regards,

sathish

0 Kudos
Reply