From bb5b2001f9093d0c6e50639bc98db15b0418ef43 Mon Sep 17 00:00:00 2001 From: Nana Guo Date: Tue, 19 May 2015 14:22:41 -0400 Subject: libva: Add "attrib_ptr" display attribute and color space flag BZ: IMINAN-37403 Change-Id: I53b17541695990bcde231a79f7ba2a91e388413a Signed-off-by: Nana Guo --- va/va.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/va/va.h b/va/va.h index 75a4bc0..ac3338f 100755 --- a/va/va.h +++ b/va/va.h @@ -3207,6 +3207,13 @@ typedef enum * specify vaPutSurface render area if there is no drawable on the monitor */ VADisplayAttribRenderRect = 18, + /* + * The flag is used to indicate that the range flag of color-space conversion. + * "value" field should be assigned as VA_SOURCE_RANGE_FULL or VA_SOURCE_RANGE_REDUCED + * to indicate full range or reduced range + */ + VADisplayAttribColorRange = 19, + } VADisplayAttribType; /* flags for VADisplayAttribute */ @@ -3222,6 +3229,7 @@ typedef struct _VADisplayAttribute int value; /* used by the set/get attribute functions */ /* flags can be VA_DISPLAY_ATTRIB_GETTABLE or VA_DISPLAY_ATTRIB_SETTABLE or OR'd together */ unsigned int flags; + void *attrib_ptr; /* if flags contains VA_DISPLAY_ATTRIB_POINTER, then "attrib_ptr" points to a structure for this display attribute */ } VADisplayAttribute; /* Get maximum number of display attributs supported by the implementation */ -- cgit v1.2.3