OSDN Git Service

Add the new YV16 fourcc code
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 27 Mar 2014 01:54:49 +0000 (09:54 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 7 Dec 2015 04:51:52 +0000 (12:51 +0800)
Some input sources require YV16, which is described as the following:
Planar YUV4:2:2; 8 bit Y plane, followed by 8 bit 2x1 subsampled
V and U planes.

V1->V2: Follow Gwenole and Haihao to update the comment

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 238b914bba8cc41076c14eb2d37938f2f705e78f)

va/va.h

diff --git a/va/va.h b/va/va.h
index 88fde4e..cd0032b 100644 (file)
--- a/va/va.h
+++ b/va/va.h
@@ -2281,6 +2281,11 @@ VAStatus vaQuerySurfaceError(
 #define VA_FOURCC_RGBP          0x50424752
 #define VA_FOURCC_BGRP          0x50524742
 #define VA_FOURCC_411R          0x52313134 /* rotated 411P */
+/**
+ * Planar YUV 4:2:2.
+ * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes
+ */
+#define VA_FOURCC_YV16          0x36315659
 
 /* byte order */
 #define VA_LSB_FIRST           1