Moving active/visible area towards centre on synchronous lcd imx6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Moving active/visible area towards centre on synchronous lcd imx6

ソリューションへジャンプ
1,514件の閲覧回数
vismayshah
Contributor II

Hi Guys,

I am using Synchronous lcd having resolution of :

800 x 480 pixels

i have to display image of size 720 x 400 pixels.

I am using linux framebuffer with following parameters:

xres = 720

yres = 400

virtual xres = 720

virtual yres = 400

left margin = 40

right margin = 60

upper margin = 10

lower margin = 10

hsync length = 20

vsync length = 10

pixel clock = 37037

refresh rate = 57

As lcd's size is 800x480 pixels and i have to display image of size 720x400 pixels in centre of the lcd i tried to increase left margin and also upper margin so that image should move towards centre of the lcd, but changing left and upper margin's doesn't have any impact on displayed image.

Image comes left top aligned.

Any idea, any suggestions, ..how to move visible/active area towards centre of the lcd?

best regards,

vismay

ラベル(6)
0 件の賞賛
返信
1 解決策
1,121件の閲覧回数
admin
Specialist II

From SR:

The setting you mentioned in the Thread 304792 is for the LCD fb_videomode.

If you want to change the image display at different x and y axis, I think you can take the Unit_test V4L2 code (e.g. mxc_v4l2_output.c) for reference.

To get the source code of unit_test.

./ltib -m prep -p imx-test

Then you can find the source code in the ltib/rpm/BUILD/imx-test/.

The LTIB is in the Linux BSP.

You can download the Linux BSP from here.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,121件の閲覧回数
vismayshah
Contributor II

Hi Florent,

I just referred the thread.

Re: Why the PIXCLK frequency is not consistant ?

I am trying to move active area in synchronous lcd towards centre. Mean to say that if you look at the image on lcd you can see finite amount of black pixels from left side of lcd till the image pixels start as well as you can find finite amount of blank lines from top of the lcd screen till the visible image lines starts.

Can you please help me on this?

Any support would be greatly appreciated.

Best Regards,

Vismay

0 件の賞賛
返信
1,122件の閲覧回数
admin
Specialist II

From SR:

The setting you mentioned in the Thread 304792 is for the LCD fb_videomode.

If you want to change the image display at different x and y axis, I think you can take the Unit_test V4L2 code (e.g. mxc_v4l2_output.c) for reference.

To get the source code of unit_test.

./ltib -m prep -p imx-test

Then you can find the source code in the ltib/rpm/BUILD/imx-test/.

The LTIB is in the Linux BSP.

You can download the Linux BSP from here.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW

0 件の賞賛
返信