Can not decode jpeg with VPU on Ubuntu MX6DL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can not decode jpeg with VPU on Ubuntu MX6DL

ソリューションへジャンプ
1,641件の閲覧回数
franklee19731
Contributor I

Hi All,

   I try to program with VPU API on Ubuntu MX6DL according the sample code from Freescale. But failed to decode a JPEG file with decodingSuccess=0 and numOfErrMBs=4096. I do not know what was wrong with my code.

   All the code are in the attachment, my C code is called decode_jpeg.c, just type make to build it.

 

thanks

Frank

Attachment has been removed

ラベル(3)
0 件の賞賛
返信
1 解決策
1,323件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Frank, I think you can use the Freescale mxc_vpu_test code as the code base, then add your codes.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,323件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

which file do you fail to decode? Did you try it with mxc_vpu_test.out?

$ /unit_tests/mxc_vpu_test.out -D "-i /test.jpg -f 7"

0 件の賞賛
返信
1,323件の閲覧回数
franklee19731
Contributor I

Thanks for your reply.

mxc_jpeg_test.out works, but my program "decode_jpeg.c" ( derived from mxc_jpeg_test) does not work, I want to know why.

The jpeg files in mxc_jpeg_test_frank.tar.gz, such as 1.jpg, are used as cases.

0 件の賞賛
返信
1,324件の閲覧回数
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Frank, I think you can use the Freescale mxc_vpu_test code as the code base, then add your codes.

0 件の賞賛
返信
1,323件の閲覧回数
franklee19731
Contributor I

Hi Qiang Li,

   Good advice, I think this discussion can be closed.

   We changed to use gstreamer to decode and display video. There is another problem with mouse cursor, I will open another discussion.

Frank

0 件の賞賛
返信
1,323件の閲覧回数
YixingKong
Senior Contributor IV

Li Qiang

0 件の賞賛
返信