AnsweredAssumed Answered

problem of VPU 720p mjpg decode with rotation

Question asked by usr g.s on May 2, 2016
Latest reply on May 5, 2016 by Ben Yang

Hello NXP experts,


We are developing a product which uses 720p(1280x720)  UVC camera. To get high frame rate, we use MJPG format input of the UVC camera and use VPU decode before pipe to 720p ( 720x1280) LCD display.  I found the VPU output with rotation has ghost effect. I reproduced problem on i.MX6Q Sabre-SD board with mxc_vpu_test


Software version : L3.14.52_1.1.0-ga_images_MX6QDLSOLO

Hardware: i.MX6Q sabre-sd

command: /unit_tests/mxc_vpu_test.out -D "-i mjpg0.jpg -o YUV422.raw -f 7 -r 90 -t 0"


1. in the below picture, the left is mjpg0.jpg, the right is the YUV output with above command





2. The VPU output is YUV422P

3. If don't use rotation option, the VPU output is correct.

4. VPU version:

          Product Info: i.MX6Q/D/S

          VPU firmware version: 3.1.1_r46070

          VPU library version: 5.4.32


5. I attached the mjpg0.jpg and output YUV422.raw  and YUV422_norot.raw


Please help to check.