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.
Attachment has been removed
Solved! Go to Solution.
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.
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.