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.
> 
> Yes YUY2 should work. It sounds like vo_directfb could do a better job 
> choosing the pixelformat. I believe it should be possible to force the 
> pixelformat with -vf format=yuy2 option. vo_dfbmga will use YUY2 on G200 
> without any options. In fact it's the only format supported because the 
> G200 BES doesn't handle RGB formats.
> 
> I'm not sure which would actually be faster YUY2 or NV12. Some codecs may 
> output YUY2 directly thus avoiding any conversions but NV12 would have 
> less data to copy. If the codec would only output YV12 conversion to NV12 
> should be faster because it wouldn't involve scaling. NV12 might be an 
> interesting experiment if nothing more :)

Which scaling? Replication of chroma data?

I guess mplayer has fast MMX code for that conversion.

-- 
Best regards,
  Denis Oliver Kropp

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

                            Convergence GmbH


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

Reply via email to