On Mon, 14 Jul 2003 12:33:13 +0300, Ville Syrj�l� <[EMAIL PROTECTED]> wrote:

On Mon, Jul 14, 2003 at 09:11:22PM +1200, Simon Glass wrote:
G400-G550 all have the same accelerator features. Even G200 can do this
but it only supports YUY2 whereas G400 and better also support UYVY.

So the data must be YUY2/UYVY and it must be located in video RAM
for hw accel to kick in.
If you don't need to read from the YUV and RGB overlay surfaces you can
create them with DSCAPS_VIDEOONLY. This will guarantee that hw accel will
work.
But if you do need to read from the surfaces don't specify DSCAPS_*ONLY.
This way DirectFB will automagically copy the unscaled images to video RAM
before the accelerator performas the blit. Unless of course you don't have enough video RAM left in which case it will fall back to software.
As you noticed YUV<->RGB software accel isn't implemented.

Well that works brilliantly - thank you very much! Now I



-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


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




Reply via email to