Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

how to get the progress of the JPEG encoding

Sathish_S_
Beginner
120 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
Employee
120 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

Sathish_S_
Beginner
120 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

Reply