About csi overlay on imx6q

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

About csi overlay on imx6q

1,104 次查看
huang_dexiang
Contributor II

My Bsp is LINUX3.0.35_4.1.0. I use the program mxc_v4l2_overlay.out to do the test.My LCD resolution is 1024x768. I do the following test:

1->/mxc_v4l2_overlay.out -il 0 -it 0 -iw 1024 -ih 768 -ol 704 -ot 528 -ow 320 -oh 240 -fg

In this case, it works fine. The video is display on the right bottom of the lc, as image1.jpg shows.

2->./mxc_v4l2_overlay.out -il 0 -it 0 -iw 1024 -ih 768 -ol 704 -ot 528 -ow 320 -oh 240

In this case, the video is not displayed properly, it is displayed as image2.jpg

3->./mxc_v4l2_overlay.out -il 0 -it 0 -iw 1024 -ih 768 -ol 352 -ot 264 -ow 320 -oh 240

In this case ,it works fine. Can anyone tell why case 2 doesn't work?

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

1,019 次查看
joanxie
NXP TechSupport
NXP TechSupport

-fg means foregroud mode, you can use command "cat /sys/class/graphics/fb0/virtual_size " and "cat /sys/class/graphics/fb1/virtual_size" to check your fb size is enough for your case, and you can use fbset to set the memory

0 项奖励
回复

1,019 次查看
huang_dexiang
Contributor II

 Xie,

The fb size is enouch for my case.  I have some confusions that while in background mode  why the coordinates (352,264) works fine but the coordinate (704,528) doesn't work.

0 项奖励
回复