About csi overlay on imx6q

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

About csi overlay on imx6q

571 Views
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?

Labels (3)
0 Kudos
2 Replies

486 Views
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 Kudos

486 Views
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 Kudos