From 0f0ba3656fc14cbc5471b2d3e11d9c6f79f9ab0c Mon Sep 17 00:00:00 2001 From: Carl Zhang Date: Wed, 31 Mar 2021 16:11:06 -0400 Subject: [PATCH] Report the capability of vaCopy support Report vaCopy support, it is a standalone feature , which is related with vaDisplay. not depend on VPP , vaConfig etc. 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 f24e7c48a..e9c0b21cd 100644 --- a/va/va.h +++ b/va/va.h @@ -5056,6 +5056,12 @@ typedef enum * HW attribute, read/write, specify the sub device configure */ VADisplayAttribSubDevice = 19, + /* + * HW attribute. read only. specify whether vaCopy support on current HW + * The value of each bit should equal to 1 << VA_EXEC_MODE_XXX to represent + * modes of vaCopy + */ + VADisplayAttribCopy = 20, } VADisplayAttribType; /* flags for VADisplayAttribute */