Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

how to get the progress of the JPEG encoding

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
Highlighted
Employee
7 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
Highlighted
Beginner
7 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