add YUY2 to supported image list
authorZhao halley <halley.zhao@intel.com>
Thu, 31 May 2012 09:00:27 +0000 (17:00 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 25 Jun 2012 00:59:52 +0000 (08:59 +0800)
src/i965_drv_video.c

index 7096fd3..c6ca50e 100755 (executable)
@@ -105,6 +105,8 @@ i965_image_formats_map[I965_MAX_IMAGE_FORMATS + 1] = {
       { VA_FOURCC('I','4','2','0'), VA_LSB_FIRST, 12, } },
     { I965_SURFACETYPE_YUV,
       { VA_FOURCC('N','V','1','2'), VA_LSB_FIRST, 12, } },
+    { I965_SURFACETYPE_YUV,
+      { VA_FOURCC('Y','U','Y','2'), VA_LSB_FIRST, 16, } },
 };
 
 /* List of supported subpicture formats */