Re: What decides the Mono LCD gray scale?
From: voidcoder (voidcoder_at_yahoo.com)
Date: 12/30/04
- Next message: Manas: "RE: regedit.exe is not a valid Windows CE application"
- Previous message: Manas: "RE: network problem on smdk2410 demo board"
- In reply to: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Dec 2004 09:41:33 +0100
Dear CE gurus. Does anybody have experience with
monochrome LCDs? I cant find any ref or sample
on how to use monochrome mode under wince.
Is it any way to tell windows that I use monochrome
mode? Both GPEMode and GPEModeEx do not contain
any field/flag to indicate that GPE should play in grayscale,
so by now windows still uses RGB colors (as seen from
Remote Zoom-In). Is it ok for monochrome mode?
Another way is to use right grayscale palette, but
I don't know how to calculate right grayscale palette.
I use average RGB values to specify grayscale levels
for each palette entry ( Pal[i] = (R(i)+G(i)+B(i))/3 ).
Is it correct?
Thanks
"cool_harber" <cool_harber@hotmail.com> wrote in message
news:OnQDrka7EHA.2124@TK2MSFTNGP15.phx.gbl...
> Thanks,But my lcd display looks so bad,
> the text is more clear than the blurred icon or image!~
> Can you share me your palette source code?
> email:cool_harber@hotmail.com
>
> "voidcoder" <voidcoder@yahoo.com>
写入消息新闻:eLG5VDP7EHA.2316@TK2MSFTNGP15.phx.gbl...
> > If You want to use SA_Lcd driver for that - you are out of luck.
> > There are no support for true 4bpp mode. However you can use
> > 8bpp mode and turn on monochrome mode in the controller.
> > Then just setup your palette with grayscale entries
> > (modify DispDrvrSetPalette function). In this case You will have
> > 8bpp in frame buffer memory, 4bpp output and 16bit lookup palette
> > (where only lower 8bits are grayscale values). And of course
> > You have to setup other LCD contoller settings: timings, clocks etc.
> >
> > At least it works o.k. for me on PXA270.
> >
> >
> >
> > "cool_harber" <cool_harber@hotmail.com> wrote in message
> > news:eN2ZwbO7EHA.3076@TK2MSFTNGP15.phx.gbl...
> >> The mono lcd`s gray scale is decided by lcd controller or lcd itself?
> >> I have a mono lcd with 4 data pins and about 70 Hz frame frequence ,I
> >> want to use PXA255 to controll it.Do I get 256 scale gray?
> >> Any suggestion is appreciated.
> >>
> >>
> >
> >
>
>
- Next message: Manas: "RE: regedit.exe is not a valid Windows CE application"
- Previous message: Manas: "RE: network problem on smdk2410 demo board"
- In reply to: cool_harber: "Re: What decides the Mono LCD gray scale?"
- Messages sorted by: [ date ] [ thread ]