Julien Moutte wrote:
Hi,
I am rewriting the DirectFB video render for GStreamer 0.9 and i have
some questions on the latest DirectFB.
1) I m getting my video frames as IDirectFBSurface * , then i m blitting
them or stretch blitting them to either the primary display layer's
surface or an external surface the application provided me. Is it
possible to blit surfaces that have different pixel formats ?
Yes, but it is not accelerated by all drivers and
you have to implement Planar YUV to RGB conversion yourself, because
it is not yet supported in software.
2) When stretch blitting is not accelerated, what is the best
behaviour :
a) tell the upstreams elements that we won't do scaling and let a
videoscale element take care of that upstream ?
b) try to lower the display layer configuration to something that's
approaching the video geometry ?
The latter solution is better.
3) I have seen on the drivers status web page that the Radeon driver
supports Stretch Blit acceleration but it doesn't seem to be true, did i
miss something ?
The R200 driver (Radeon from 8500 to 9200) supports StretchBlit, other
radeons doesn't support it actually.
4) From the drivers page i can see that accelerations are supported only
in some specific pixel formats. How does one grab from DirectFB the list
of pixel formats that are hardware accelerated ?
You can test if a pixel format is supported by hardware using
IDirectFBSurface::GetAccelerationMask().
--
Regards,
Claudio Ciccani
[EMAIL PROTECTED]
http://directfb.org
http://sf.net/projects/php-directfb
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev