hardware/intel/common/libva
Revisión | 841d116bd48f5fddbad63af8bf2639c1b9e9f933 (tree) |
---|---|
Tiempo | 2017-11-22 16:27:31 |
Autor | xfengcarl <carl.zhang@inte...> |
Commiter | Xiang, Haihao |
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>
@@ -669,6 +669,12 @@ typedef struct _VAConfigAttrib { | ||
669 | 669 | #define VA_RT_FORMAT_RGB32 0x00020000 |
670 | 670 | /* RGBP covers RGBP and BGRP fourcc */ |
671 | 671 | #define VA_RT_FORMAT_RGBP 0x00100000 |
672 | +/** | |
673 | + * RGB 10-bit packed format with upper 2 bits as alpha channel. | |
674 | + * The existing pre-defined fourcc codes can be used to signal | |
675 | + * the position of each component for this RT format. | |
676 | + */ | |
677 | +#define VA_RT_FORMAT_RGB32_10BPP 0x00200000 | |
672 | 678 | #define VA_RT_FORMAT_PROTECTED 0x80000000 |
673 | 679 | |
674 | 680 | /** @name Attribute values for VAConfigAttribRateControl */ |