Is the field DecOutputInfo.numOfErrMBs in VPU API really work for JPEG decoding?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the field DecOutputInfo.numOfErrMBs in VPU API really work for JPEG decoding?

838 Views
xutaocao
Contributor I

Hi community members, I use libvpu.so to decode a polluted JPEG picture time to time, then I check the value of DecOutputInfo.numOfErrMBs in /external/fsl_imx_omx/OpenMAXIL/src/component/vpu_wrapper/vpu_wrapper.c, the results are unstable, sometimes the value is  an stable integer greater than zero and sometimes is zero. I did another experiment, If I try a unpolluted picture, the result is always zero. So is the field DecOutputInfo.numOfErrMBs really work for JPEG decoding? Thanks!raw11.jpeg.jpg

Labels (2)
Tags (1)
0 Kudos
Reply
2 Replies

642 Views
joanxie
NXP TechSupport
NXP TechSupport

what board do you use?mx53 or mx6? how did you decode jpeg? using unit test?

0 Kudos
Reply

642 Views
xutaocao
Contributor I

I use mx6q, I didn't use the unit test, I used the API in vpu_wrapper.h to decode the picture, I get a correct decoded picture, and the API didn't report any error.

0 Kudos
Reply