Skip to content

Commit e448c30

Browse files
committed
report the capability of vaCopy support
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
1 parent fb31fe6 commit e448c30

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

va/va.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4835,6 +4835,15 @@ VAStatus vaDeassociateSubpicture (
48354835
* brightness etc. in the rendering process. The application can query what
48364836
* attributes are supported by the driver, and then set the appropriate attributes
48374837
* before calling vaPutSurface()
4838+
*
4839+
* Display attributes also are used to query/set display adaptor (vaDisplay) related information.
4840+
* These attributes do not depend on vaConfig, only related with platform or display adaptor
4841+
* They could not be used for vaPutSurface.
4842+
* App could call vaQueryDisplayAttributes/vaGetDisplayAttributes to query these attributes
4843+
* at anytime after vaInitialize, but only could call vaSetDisplayAttributes for these attributes
4844+
* after vaInitialize and before any other function call if the attributes is settable.
4845+
* To distinguish these two types of display attributes, this display adaptor related attributes
4846+
* should be marked as "HW attribute" in the description.
48384847
*/
48394848
/* PowerVR IEP Lite attributes */
48404849
typedef enum
@@ -4957,6 +4966,12 @@ typedef enum
49574966
* specify vaPutSurface render area if there is no drawable on the monitor
49584967
*/
49594968
VADisplayAttribRenderRect = 18,
4969+
/*
4970+
* HW attribute. read only. specify whether vaCopy support on current HW
4971+
* The value of each bit should equal to 1 << VA_EXEC_MODE_XXX to represent
4972+
* modes of vaCopy
4973+
*/
4974+
VADisplayAttribCopy = 19,
49604975
} VADisplayAttribType;
49614976

49624977
/* flags for VADisplayAttribute */

0 commit comments

Comments
 (0)