From 0652c99b07aa5d10ef95a8d250c693e0c259f143 Mon Sep 17 00:00:00 2001 From: "David (Ming Qiang) Wu" Date: Wed, 17 Jul 2024 13:51:11 -0400 Subject: [PATCH] va: add av1 profile2 Adding VAProfileAV1Profile2 to support 12bit AV1 decoding Signed-off-by: David (Ming Qiang) Wu --- va/va.h | 3 ++- va/va_str.c | 1 + va/va_trace.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/va/va.h b/va/va.h index db885bc2d..a4dda28a5 100644 --- a/va/va.h +++ b/va/va.h @@ -541,7 +541,8 @@ typedef enum { VAProfileProtected = 35, VAProfileH264High10 = 36, VAProfileVVCMain10 = 37, - VAProfileVVCMultilayerMain10 = 38 + VAProfileVVCMultilayerMain10 = 38, + VAProfileAV1Profile2 = 39 } VAProfile; /** diff --git a/va/va_str.c b/va/va_str.c index 7601cdef2..b47bf69a2 100644 --- a/va/va_str.c +++ b/va/va_str.c @@ -64,6 +64,7 @@ const char *vaProfileStr(VAProfile profile) TOSTR(VAProfileHEVCSccMain444); TOSTR(VAProfileAV1Profile0); TOSTR(VAProfileAV1Profile1); + TOSTR(VAProfileAV1Profile2); TOSTR(VAProfileHEVCSccMain444_10); TOSTR(VAProfileProtected); TOSTR(VAProfileVVCMain10); diff --git a/va/va_trace.c b/va/va_trace.c index 8993d6218..31f293833 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -6775,6 +6775,7 @@ void va_TraceRenderPicture( break; case VAProfileAV1Profile0: case VAProfileAV1Profile1: + case VAProfileAV1Profile2: for (j = 0; j < num_elements; j++) { va_TraceMsg(trace_ctx, "\telement[%d] = \n", j);