summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intle.com>2014-09-28 16:21:17 -0700
committerAustin Yuan <shengquan.yuan@intel.com>2014-10-11 04:24:59 +0800
commit52ed6a80c332fd744a39442c4053df3befade570 (patch)
tree4dd2c86b9ddf5c1b9d3fb4e2f1d17de36cc62f8f
parent50615dd0c9bf0d518327455b2f5cf73ae301f312 (diff)
downloadlibva-52ed6a80c332fd744a39442c4053df3befade570.tar.gz
Added 10-bit YUV RT format value and fourcc codes
-rw-r--r--va/va.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 1ba18ec..73c6ff5 100644
--- a/va/va.h
+++ b/va/va.h
@@ -733,6 +733,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 */
@@ -3063,6 +3066,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