[Libva] [PATCH][RFC] Add vaQuery{Get,Put}ImageFormats()

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Tue Nov 23 00:54:31 PST 2010


Hi,

vaQueryImageFormats() returns the image formats supported by 
vaCreateImage(). However, some implementations may not support 
vaGetImage() or vaPutImage() with a particular format. In that case, it 
may be interesting to know about it beforehand, instead of having the user 
test the outcome of va{Get,Put}Image() and try another format.

It should also be possible to provide a default implementation right into 
va/va.c.

WDYT?

Regards,
Gwenole.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-vaQuery-Get-Put-ImageFormats.patch
Type: text/x-diff
Size: 4180 bytes
Desc: 
URL: <http://lists.freedesktop.org/archives/libva/attachments/20101123/69910776/attachment.patch>


More information about the Libva mailing list