[Libva] [PATCH v2 0/3] Simplify tests to use common VA display creation routines
Gwenole Beauchesne
gb.devel at gmail.com
Fri Jul 13 01:33:25 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.
Tested with VA/X11, VA/Wayland, VA/DRM and VA/EGL. Not tested with
VA/Android yet. I will push the following patches later on.
Changes (v2):
- Fix a minor bug in X11 put_surface() hook
- Report available display names with --display help
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 | 156 ++++++++++++++++++++++++++++++++++++
test/common/va_display.h | 64 +++++++++++++++
test/common/va_display_android.cpp | 91 +++++++++++++++++++++
test/common/va_display_x11.c | 139 ++++++++++++++++++++++++++++++++
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, 604 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