[Libva] [PATCH][G45] Add vaDeriveImage()

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Mon Mar 8 08:48:34 PST 2010


Hi,

This patch implements vaDeriveImage() for the G45 driver. Tested with a 
newer version of MPlayer. In SW decoding mode (1080p MPEG-2), overall CPU 
usage is below 30% with vaDeriveImage() vs. 40% with vaCreateImage() + 
vaPutImage().

Note that with Xv, this is around 24%. So, some further optimisations 
could be done in MPlayer, namely by using direct rendering to the surface 
instead of using a temporary copy. But this is not possible for all 
codecs, e.g. H.264.

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 039_g45_add_vaDeriveImage.patch
Type: text/x-diff
Size: 9929 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/libva/attachments/20100308/98cfdd21/attachment.patch>


More information about the Libva mailing list