Hello Community
I met a problem when I want to decode a JPEG picture file, it output an error
'The Jpeg Image must be another profile'. I found that the error came from
imx-vpu-lib-3.0.35-4.1.0.
After the error happend,width property and height property read from the file
were 0.
Could you tell me why the error happened.
My test environment is:
1)HW:imx6qsabreauto
2)SW:L3.0.35_4.1.0
The JPEG file that I used is as the attachment.
I can open this JPEG file in windows system and ubuntu system.
Thank you!
Best Regards.
ZongbiaoLiao
The L3.0.35 Linux BSP does not support VPU hardware acceleration for JPEG decoding, only the MJPEG format is supported.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Artur
I knew that.
In my case,some JPEG file can be decoded, but some JPEG file can not be decoded,it output error
'The Jpeg Image must be another profile'.
So I want to know why this error is output for some JPEG file.
Thank you!
Best Regards.
ZongbiaoLiao
Most likely, some pictures have a color profiles that are not supported by a software JPEG decoder, included in the L3.0.35 BSP.
Have a great day,
Artur
Hello, Artur
Did you mean i.MX6 cannot decode a JPEG that has a color profiles.
If it can,could you offer me patch files or sample code.
Thank you.
ZongbiaoLiao
any reply to me?