[Libva] [PATCH][G45] Handle cliprects in vaPutSurface()

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Wed Nov 4 09:30:58 PST 2009


Hi,

This patch adds support for clipping regions to vaPutSurface(). Actually, 
the approach I currently chose limits this to 80 cliprects. That should be 
more than enough though.

BTW, I am undecided whether we have to make i965_clear_dest_region() 
controlled by the VA_CLEAR_DRAWABLE flag or make it clear only the dest 
cliprects? What do you think?

This patch probably still needs some cleanups but it fits hwdecode-demos' 
`vaapi_h264 --clipping' provided we don't forcibly clear the dest region.

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-G45-Handle-cliprects-in-vaPutSurface.patch
Type: text/x-diff
Size: 20432 bytes
Desc: 
Url : http://lists.freedesktop.org/archives/libva/attachments/20091104/117bbf9d/attachment-0001.patch 


More information about the Libva mailing list