[Libva] [PATCH v2 0/5] Describe backends explicitly

Gwenole Beauchesne gb.devel at gmail.com
Fri Jul 6 09:42:01 PDT 2012


Hi,

This patch series desribes backends explicitly and simplifies DRI
structs to a common base. This is a prelude to VA/DRM and VA/Wayland
APIs. Besides, tests also use common utilities in order to make
porting easier.

* Changes:
- Use unsigned long for display_type ;
- Use new enums for VA_DRM_AUTH_* values.

* Against master:
  <http://cgit.freedesktop.org/~gb/libva/log/?h=10.drm_base>

* Against staging branch (this series):
  <http://cgit.freedesktop.org/~gb/libva/log/?h=staging.10.drm_base>

Benjamin Franzke (1):
  API: introduce DRM common utilities and data structures.

Dmitry Ermilov (1):
  tests: avcenc: use common VA display creation routines.

Gwenole Beauchesne (3):
  tests: simplify VA display construction.
  API: backend: rename dri_state to drm_state.
  API: backend: add VA display types.

 configure.ac                       |    2 +
 test/Makefile.am                   |    2 +-
 test/common/Makefile.am            |   48 +++++++++++++++
 test/common/va_display.c           |   82 +++++++++++++++++++++++++
 test/common/va_display.h           |   60 +++++++++++++++++++
 test/common/va_display_android.cpp |   90 ++++++++++++++++++++++++++++
 test/common/va_display_x11.c       |  116 ++++++++++++++++++++++++++++++++++++
 test/decode/Android.mk             |    4 +-
 test/decode/Makefile.am            |   28 +++++++--
 test/decode/mpeg2vldemo.cpp        |   81 +++++--------------------
 test/decode/tinyjpeg.c             |   38 ++++--------
 test/encode/Makefile.am            |   20 +++++--
 test/encode/avcenc.c               |   24 ++------
 test/vainfo/Android.mk             |    4 +-
 test/vainfo/Makefile.am            |   26 +++++---
 test/vainfo/vainfo.c               |   25 +-------
 va/Makefile.am                     |    1 +
 va/android/va_android.cpp          |   25 ++++----
 va/glx/va_glx.c                    |    1 +
 va/va_backend.h                    |   20 ++++++-
 va/va_drmcommon.h                  |   50 ++++++++++++++++
 va/x11/dri1_util.c                 |   28 ++++-----
 va/x11/dri2_util.c                 |   28 ++++-----
 va/x11/va_dricommon.c              |   10 ++--
 va/x11/va_dricommon.h              |   16 ++---
 va/x11/va_x11.c                    |    7 ++-
 26 files changed, 625 insertions(+), 211 deletions(-)
 create mode 100644 test/common/Makefile.am
 create mode 100644 test/common/va_display.c
 create mode 100644 test/common/va_display.h
 create mode 100644 test/common/va_display_android.cpp
 create mode 100644 test/common/va_display_x11.c
 create mode 100644 va/va_drmcommon.h

-- 
1.7.9.5



More information about the Libva mailing list