On Thu, Apr 29, 2004 at 09:28:12AM +0200, Kristof Pelckmans wrote:
> Quoting Denis Oliver Kropp <[EMAIL PROTECTED]>:
> 
> > Quoting Ville Syrj�l�:
> > > On Thu, Apr 29, 2004 at 07:19:01AM +0200, Denis Oliver Kropp wrote:
> > > > What about using the packed YUV format DSPF_YUY2 that is supported by the
> > G200
> > > > and implemented in the driver.
> > > >
> > > > Conversion from planar to packed is faster than from YUV to RGB.
> > > > Another advantage would be hardware scaling.
> Currently the MythTV driver only supports I420 and YV12 output formats. I can
> add YUY2. Rob, can you check whether YUY2 works with the dfbmga mplayer output ?
> 
> In general, I have a remark on all these format conversions. When I look at the
> dfbmga output plugin, the xine output plugin or the MythTV output plugin, they
> all do format conversions (and some of them use mmx for it when available).

The only conversion in dfbmga is from YUY2/UYVY to ARGB but that coversion 
is performed by the hardware.

> Wouldn't it be nice to have these conversions in the DirectFB framework, so one
> could just have a source surface in a particular format and blit it to a
> destination surface with a different format ?

DirectFB can generally do that but the software accel code for YUV formats 
is quite incomplete. And software format conversion blits aren't very fast 
with DirectFB. To make them faster we could add support for optimized 
functions for each source/destination format combinations. Patches are 
welcome ;)

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


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

Reply via email to