[Libva] [PATCH 0/3] API: add vaQuerySurfaceAttributes()

Gwenole Beauchesne gb.devel at gmail.com
Mon May 27 12:03:21 PDT 2013


Hi,

This patch series provides vaQuerySurfaceAttributes() over vaGetSurfaceAttributes().
The former allows for rapidly collecting the set of supported VA surface attributes
for a specific VA config. In particular, the interest was to get the whole set of
supported pixel-formats for vaCreateSurfaces(), instead of individually checking for
each of them.

vaGetSurfaceAttributes() was removed from the external API, but the VA driver hook
was kept so far. vaQuerySurfaceAttributes() is implemented in terms of that removed
API with an approximation of the surface formats, based on image formats.

Regards,
Gwenole Beauchesne (3):
  API: add vaQuerySurfaceAttributes().
  Add default implementation for vaQuerySurfaceAttributes().
  tests: cope with new vaQuerySurfaceAttributes() API.

 test/putsurface/putsurface_common.c |  188 ++++++++++++++++++++++++++++-------
 va/va.c                             |  149 +++++++++++++++++++++++++--
 va/va.h                             |   41 +++++---
 va/va_backend.h                     |    9 ++
 4 files changed, 330 insertions(+), 57 deletions(-)

-- 
1.7.9.5



More information about the Libva mailing list