[Libva] [PATCH 0/5 v2] Add color conversion test option in putsurface

Zhao Halley halley.zhao at intel.com
Fri Jul 20 00:29:39 PDT 2012


v2 update:
 - loadsurface.h fix is for YV12 instead of NV12
 - add BGRX/RGBX fourcc to va.h
 - change command line option to "--fmt1 format1 --fmt2 format2" or
   "-1 format1 -2 format2" for color conversion

History:
v1:
 - refine loadsurface.h and add YUY2 support, with a fix for NV12 loading
 - add color conversion test option in putsurface
 - support NV12/YV12/I420->YV12/I420 conversion
 - support YUY2 in i965_GetSurfaceAttributes,

Zhao Halley (5):
  test: fix an issue in loading YV12 surface
  test: refine loadsurface.h, conveninent for new format support
  test: add YUY2 support in loadsurface.h
  add VA_FOURCC_BGRX/RGBX to va.h
  test: add color conversion test option in putsurface

 test/loadsurface.h                  |  168 +++++++++++++++++-----------
 test/putsurface/putsurface_common.c |  212 ++++++++++++++++++++++++++++++++---
 va/va.h                             |    2 +
 3 files changed, 302 insertions(+), 80 deletions(-)
 mode change 100644 => 100755 test/loadsurface.h
 mode change 100644 => 100755 test/putsurface/putsurface_common.c
 mode change 100644 => 100755 va/va.h

-- 
1.7.4.1



More information about the Libva mailing list