issue about imx6 jpeg file decoding

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

issue about imx6 jpeg file decoding

899 Views
宗標廖
Contributor V

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

Labels (3)
0 Kudos
5 Replies

710 Views
art
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

710 Views
宗標廖
Contributor V

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

0 Kudos

710 Views
art
NXP Employee
NXP Employee

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

0 Kudos

710 Views
宗標廖
Contributor V

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

0 Kudos

710 Views
宗標廖
Contributor V

any reply to me?

0 Kudos