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