diff options
author | xfengcarl <carl.zhang@intel.com> | 2017-06-15 23:33:45 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-11-21 23:27:31 -0800 |
commit | 841d116bd48f5fddbad63af8bf2639c1b9e9f933 (patch) | |
tree | 702ebc14a33e6d2da818f78de3b896dd16fb53bd | |
parent | d8b6b7a6d56e8a44ba38c81202efbe4c16b71575 (diff) | |
download | libva-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |