From: Zhao Halley Date: Thu, 12 Sep 2013 00:09:23 +0000 (+0800) Subject: support 422H/422V/411P/444P format for wayland video output X-Git-Tag: 1.2.1~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53697bc0fad0a048999b28ea7c8c40a291f9ab2d;p=platform%2Fupstream%2Flibva-intel-driver.git support 422H/422V/411P/444P format for wayland video output (cherry picked from commit 7a02190eda3abc245ba918f6078a121373f50703) --- 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;