[Libva] [PATCH] support 422H/422V/411P/444P format for wayland video output

Zhao Halley halley.zhao at intel.com
Wed Sep 11 17:09:23 PDT 2013


---
 src/i965_output_wayland.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/i965_output_wayland.c b/src/i965_output_wayland.c
index be7f32c..569d79b 100644
--- a/src/i965_output_wayland.c
+++ b/src/i965_output_wayland.c
@@ -250,6 +250,10 @@ va_GetSurfaceBufferWl(
     case VA_FOURCC('I','4','2','0'):
     case VA_FOURCC('I','M','C','1'):
     case VA_FOURCC('I','M','C','3'):
+    case VA_FOURCC('4','2','2','H'):
+    case VA_FOURCC('4','2','2','V'):
+    case VA_FOURCC('4','1','1','P'):
+    case VA_FOURCC('4','4','4','P'):
         switch (obj_surface->subsampling) {
         case SUBSAMPLE_YUV411:
             drm_format = WL_DRM_FORMAT_YUV411;
-- 
1.7.9.5



More information about the Libva mailing list