displayer driver screen size problem?
- From: "kavin" <kavin@xxxxxxxxxx>
- Date: Fri, 9 Mar 2007 21:43:45 +0800
hi all,
am using ce.net42 with the smdk2440,my device with CSTN 320*240
panel(LM057QC1T01).
In the bootloader, setting the LCD controller as 8bit single scan, 16bit
color,
it works well. This driver has works well for the TFT 640*480 16bit color
panel.
Now in the ce display driver's construction function, setting this value.
S3C2440DISP::S3C2440DISP (void)
{...
m_nScreenWidth = 320;
m_nScreenHeight = 240;
m_colorDepth = 16;
m_cbScanLineLength = m_nScreenWidth * 2;
m_FrameBufferSize = m_nScreenHeight * m_cbScanLineLength;
....
}
But the problem is, the screen resolution is very small, like only 160*120.
How should these value should been set,or there is other problem?
Thanks in advance.
kavin
.
- Follow-Ups:
- Re: displayer driver screen size problem?
- From: voidcoder
- Re: displayer driver screen size problem?
- Prev by Date: Re: WinCE6: Build System - A solution for conditional statements in "sources" ?
- Next by Date: Re: WinCE6: Build System - A solution for conditional statements in "sources" ?
- Previous by thread: ppp and software flow control
- Next by thread: Re: displayer driver screen size problem?
- Index(es):
Relevant Pages
|