[Libva] [PATCH][G45] Fix subpictures rendering

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Fri Oct 30 06:50:33 PDT 2009


Hi,

The VA API specs mention that the dest rectangle to 
vaAssociateSubpicture() is relative to the parent surface. So, we have 
another level of scaling since the surface can be scaled during 
vaPutSurface().

This patch tries to fix that and is now on par with the VDPAU and XvBA 
backends.

Note: all patches from today makes it possible to have OSD in MPlayer, 
though there looks to be some problems remaining. In particular, some 
flickering and sometimes some wrong colors. I noticed the palette is not 
set up correctly, I will try to cook something for that.

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-G45-Fix-rendering-of-subpictures-scaling.patch
Type: text/x-diff
Size: 6804 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/libva/attachments/20091030/25f04f6b/attachment.patch 


More information about the Libva mailing list