Use IMX6 VPU to decode picture problems

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

Use IMX6 VPU to decode picture problems

619 Views
deanji
Contributor II

HI all:

I use the vpu of imx6 convert jpg picture into yuv picture, the conversion of the image size 4177920

Feel the image size is not right, and turn out the image of the top has a green stripes,

1920X1080=2073600
2073600X2=4147200
4177920-4147200=30720(I think the image size of converted is 1920X1080X2)

vpu.jpg

 

ps: my cmd like ./mxc_vpu_test.out -D "-i a.jpg -o b.yuv -f 7" my bsp version is 3.0.35

I would like to ask if  the vpu of imx6 support  this conversion, if does  what is wrong?

thanks!

Labels (1)
Tags (1)
0 Kudos
2 Replies

460 Views
deanji
Contributor II

when i open with  resolution 1920*1088,The green bar disappears。

my next qustions is why not 1920*1080(Original resolution is 1920*1080)

0 Kudos

460 Views
jimmychan
NXP TechSupport
NXP TechSupport

Because of the 16-pixel alignment in VPU.

for your information, https://community.nxp.com/message/449171?commentID=449171#comment-449171 

0 Kudos