swin wrote:
> hello!
>       Our Lcd is 4bit(16 gray), we want directfb support it,
> one simple way is write a 8bit fb driver and in the driver
> convert 8bit to 4bit, but we don't want do so, because this
> will waste cpu resource, our Lcd controller can automaticly
> refresh, so we do not want use 8bit framebuffer but 4bit 
> framebuffer. But it seems that directfb do not support 4bit
> framebuffer. how can it make it support?
>       thanks! 

The pixelformat could be added. It would require the same
caution as DSPF_A1, because there are multiple pixels in
one byte.

But I'm not sure if the new format should be A4, Y4 or
even LUT4, while the latter one would be slower if you
want to do blending or conversion from RGB to LUT4.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to