summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxfengcarl <carl.zhang@intel.com>2017-06-15 23:33:45 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-11-21 23:27:31 -0800
commit841d116bd48f5fddbad63af8bf2639c1b9e9f933 (patch)
tree702ebc14a33e6d2da818f78de3b896dd16fb53bd
parentd8b6b7a6d56e8a44ba38c81202efbe4c16b71575 (diff)
downloadlibva-841d116bd48f5fddbad63af8bf2639c1b9e9f933.tar.gz
add RGB 10-bit packed format
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. Signed-off-by: Carl.Zhang <carl.zhang@intel.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 cd236a5..4766524 100644
--- a/va/va.h
+++ b/va/va.h
@@ -669,6 +669,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 */