summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intle.com>2014-12-16 16:41:41 -0800
committerAustin Yuan <shengquan.yuan@intel.com>2014-12-17 08:47:42 +0800
commit9883619e5368ae8c70c3cff245471801ef5e9ac0 (patch)
tree0d9937a024a18c81dc065a1fdf0753ac553a3142
parent3f41b7582431e0e7a02fbf98d324361f60e88ac6 (diff)
downloadlibva-9883619e5368ae8c70c3cff245471801ef5e9ac0.tar.gz
Added new RT format for 10-bit per component RGB surfaces.
Signed-off-by: Jonathan Bian <jonathan.bian@intle.com>
-rw-r--r--va/va.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 13d5713..8c078ae 100644
--- a/va/va.h
+++ b/va/va.h
@@ -740,6 +740,12 @@ typedef struct _VAConfigAttrib {
#define VA_RT_FORMAT_RGB32 0x00020000
/* RGBP covers RGBP and BGRP fourcc */
#define VA_RT_FORMAT_RGBP 0x00100000
+/**
+ * RGB 10-bit packed format with upper 2 bits as alpha channel.
+ * The existing pre-defined fourcc codes can be used to signal
+ * the position of each component for this RT format.
+ */
+#define VA_RT_FORMAT_RGB32_10BPP 0x00200000
#define VA_RT_FORMAT_PROTECTED 0x80000000
/** @name Attribute values for VAConfigAttribRateControl */