Use IMX6 VPU to decode picture problems

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Use IMX6 VPU to decode picture problems

1,397 次查看
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!

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,238 次查看
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 项奖励
回复

1,238 次查看
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 项奖励
回复