Yes, there are DSPF_A1, LUT2, DSPF_A4 definitions in the directfb.h, but
there is no method to set using 1bpp, 2bpp or 4bpp. I mean in directfbrc
file, if you set the depth to 1, 2, or 4, it can't recognize and use these
modes, and it always reports "Can't find mode" or "Set mode failed" error.
But if set depth to 8 (LUT8), it works fine. It seems that these modes are
not really supported, that is why I ask this question. Any way, thanks a lot
for your reply.

2011/7/16 haithem rahmani <haithem.rahm...@gmail.com>

> here are all the pixel formats supported by DirectFB-1.4.12:
>
> http://directfb.org/docs/DirectFB_Reference_1_4/types.html#DFBSurfacePixelFormat
>
>
> <http://directfb.org/docs/DirectFB_Reference_1_4/types.html#DFBSurfacePixelFormat>aren't
> DSPF_A1,  DSPF_A4 suitable for you?
>
> On Sat, Jul 16, 2011 at 6:47 AM, vanevan <x...@grandstream.com> wrote:
>
>> Hi all,
>>     Does DirectFB support 1bpp, 2bpp or 4bpp? If it supports, how to
>> configure to these modes? I use DirectFB v1.4.12, and can't find any
>> information about this,  any advises or replies are appreciated.
>>
>> _______________________________________________
>> directfb-dev mailing list
>> directfb-dev@directfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>>
>>
>
>
> --
> *
> "If you ask a question - you will be a fool for 5 minutes, otherwise
> ignorant for rest of your life"
> *
>
>
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to