summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-03-27 09:54:49 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-12-07 14:02:34 +0800
commit403173baf8084dba215423f8687594d932b2045a (patch)
treeef09096fccbd3364b45123214dd67e4d3b3d30ca
parent959776b6f77401779c3d2fe7d2e731061e2408f5 (diff)
downloadlibva-403173baf8084dba215423f8687594d932b2045a.tar.gz
Add the new YV16 fourcc code
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)
-rw-r--r--va/va.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 88fde4e..cd0032b 100644
--- 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