2002年05月22日(水)の14時20分に Laurent Brissonnet 曰く:
> Hi,
> 
> I would like to use DirectFb to display 
> High Resolution Camera frames (1024x1024 , 12fps).
> 
> But the only 8 bit depth pixel format is RGB332 (wrong ?)

wrong. there is also an A8 pixel format (8 bit alpha information).

> and I got 8 bit depth pixel that code 256 gray levels [from 0->255] !

do you want to set an 8 bit video mode, or just an 8 bit surface for the
camera output.

in the second case, you could you could use an A8 surface for the camera
and create a gray image based on the "alpha" information.

in the first case we _could_ support to set a palette in DirectFB. in
that case, blending and format conversion would be broken, but for
simple non blenden 2d graphics this should be enough (if someone knows
what he is doing).

andi








--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.

Reply via email to