[Libva] [PATCH 0/3] Simplify tests to use common VA display creation routines

Gwenole Beauchesne gb.devel at gmail.com
Tue Jul 10 09:16:02 PDT 2012


Hi,

This patch series makes it possible to use common VA display creation
routines, instead of duplicating the code in every single test
instance. Besides, this allows for porting to new display APIs quite
easily. e.g. VA/Wayland, VA/DRM, VA/EGL.

This is a split off the common drm_state series since this is totally
unrelated. Besides, I also added an extra --display <name> argument to
select the display engine.

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

Gwenole Beauchesne (2):
  tests: simplify VA display construction.
  tests: allow selection of display.

 configure.ac                       |    2 +
 test/Makefile.am                   |    2 +-
 test/common/Makefile.am            |   48 +++++++++++++
 test/common/va_display.c           |  138 ++++++++++++++++++++++++++++++++++++
 test/common/va_display.h           |   64 +++++++++++++++++
 test/common/va_display_android.cpp |   91 ++++++++++++++++++++++++
 test/common/va_display_x11.c       |  117 ++++++++++++++++++++++++++++++
 test/decode/Android.mk             |    4 +-
 test/decode/Makefile.am            |   28 ++++++--
 test/decode/loadjpeg.c             |    3 +
 test/decode/mpeg2vldemo.cpp        |   83 +++++-----------------
 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 +------
 17 files changed, 564 insertions(+), 153 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

-- 
1.7.9.5



More information about the Libva mailing list