From 841d116bd48f5fddbad63af8bf2639c1b9e9f933 Mon Sep 17 00:00:00 2001 From: xfengcarl Date: Thu, 15 Jun 2017 23:33:45 +0800 Subject: 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 --- va/va.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- cgit v1.2.1