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
Solved! Go to Solution.
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
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
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