OSDN Git Service

add RGB 10-bit packed format
authorxfengcarl <carl.zhang@intel.com>
Thu, 15 Jun 2017 15:33:45 +0000 (23:33 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 22 Nov 2017 07:27:31 +0000 (23:27 -0800)
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>
va/va.h

diff --git a/va/va.h b/va/va.h
index cd236a5..4766524 100644 (file)
--- 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 */