[EMAIL PROTECTED] 
([EMAIL PROTECTED]):

> > there's no easy answer to that question. Take a look at
> > gdkvisual-directfb.c to learn which formats are supported. The latest
> > CVS version (that will be released as GTK+-DirectFB-2.0.7 soon) adds
> > support for LUT8 as well.
> 
> So, would this list here:
> 
> static DFBSurfacePixelFormat formats[] =
> {
>   DSPF_RGB32,
>   DSPF_ARGB,
>   DSPF_RGB24,
>   DSPF_RGB16,
>   DSPF_RGB15,
>   DSPF_LUT8,
>   DSPF_RGB332
> };
> 
> be the list of supported formats for GTK+-DirectFB?
> 
> Then of these, which format is best for displaying video in as well?
> Specifically with mplayer, if that matters.  My ignorance in
> display/color/pixel formats is showing.  :-)

  All of these are RGB formats.  This means that mplayer would have to
convert from Y'CbCr to RGB itself, which is slow to do in software, and
any software conversion will likely be less accurate than the hardware
conversion.

  Pretty much all compressed video formats use a Y'CbCr format for
decompressed frames.

-- 
Billy Biggs
[EMAIL PROTECTED]


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

Reply via email to