Hi Gwenole,
I thought that the intent of vaQueryImageFormats() is to return formats that
can be used for va{Create, Get, Put)Image(). Are there implementations that can
only support GetImage but not PutImage or vice versa?
Regards,
Jonathan
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf
Of Gwenole Beauchesne
Sent: Tuesday, November 23, 2010 12:55 AM
To: [email protected]
Subject: [Libva] [PATCH][RFC] Add vaQuery{Get,Put}ImageFormats()
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.
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva