summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intle.com>2014-09-28 16:21:17 -0700
committerXiang, Haihao <haihao.xiang@intel.com>2015-12-07 14:02:44 +0800
commit2acfdb3a5e38e092db1f01ada84f190e7e9fbb24 (patch)
tree9539b70f5a7dde31f3fa6147aa47546566de3d50
parent403173baf8084dba215423f8687594d932b2045a (diff)
downloadlibva-2acfdb3a5e38e092db1f01ada84f190e7e9fbb24.tar.gz
Added 10-bit YUV RT format value and fourcc codes
(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)
-rw-r--r--va/va.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index cd0032b..fb3066f 100644
--- a/va/va.h
+++ b/va/va.h
@@ -461,6 +461,9 @@ typedef struct _VAConfigAttrib {
#define VA_RT_FORMAT_YUV444 0x00000004
#define VA_RT_FORMAT_YUV411 0x00000008
#define VA_RT_FORMAT_YUV400 0x00000010
+/** YUV formats with more than 8 bpp */
+#define VA_RT_FORMAT_YUV420_10BPP 0x00000100
+/** RGB formats */
#define VA_RT_FORMAT_RGB16 0x00010000
#define VA_RT_FORMAT_RGB32 0x00020000
/* RGBP covers RGBP and BGRP fourcc */
@@ -2286,6 +2289,11 @@ VAStatus vaQuerySurfaceError(
* 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes
*/
#define VA_FOURCC_YV16 0x36315659
+/**
+ * 10-bit and 16-bit Planar YUV 4:2:0.
+ */
+#define VA_FOURCC_P010 0x30313050
+#define VA_FOURCC_P016 0x36313050
/* byte order */
#define VA_LSB_FIRST 1