Pixel format

24 Bit packed not 32.
r <<0
g << 6
b << 12


Mike


On 7/21/06, Mike Emmel <[EMAIL PROTECTED]> wrote:
> On 7/21/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> > Mike Emmel wrote:
> > > Is 18 bit support avialable  the 666 format thats common now with lcd ?
> >
> > > If anyones done it and willing to contribute I'll put it in.
> > > I need it.
> >
> > How is it packed?
> >
> Actually I'm still figuring out the exact format.
> It seems to be
>
> 32 bit pixel
> r << 0
> g << 6
> b << 12
>
> Its on my todo list to figure out the exact format.
> I figured I'd ask first if there is any 18 bit support work done.
> I'm not sure at all about the 32 bit part for the pixel it could be 18 packed.
> I just hacked it to be
> DSPF_RGB24
> So I could see something.
>
> It will be a bit before I know the exact format.
>
> Mike
>
>
>
> > --
> > Best regards,
> >    Denis Oliver Kropp
> >
> > .------------------------------------------.
> > | DirectFB - Hardware accelerated graphics |
> > | http://www.directfb.org/                 |
> > "------------------------------------------"
> >
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to