Skip to content

Commit 0115352

Browse files
davidwuAMDXinfengZhang
authored andcommitted
va: add av1 profile2
Adding VAProfileAV1Profile2 to support 12bit AV1 decoding Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
1 parent 438398b commit 0115352

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

va/va.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ typedef enum {
541541
VAProfileProtected = 35,
542542
VAProfileH264High10 = 36,
543543
VAProfileVVCMain10 = 37,
544-
VAProfileVVCMultilayerMain10 = 38
544+
VAProfileVVCMultilayerMain10 = 38,
545+
VAProfileAV1Profile2 = 39
545546
} VAProfile;
546547

547548
/**

va/va_str.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const char *vaProfileStr(VAProfile profile)
6464
TOSTR(VAProfileHEVCSccMain444);
6565
TOSTR(VAProfileAV1Profile0);
6666
TOSTR(VAProfileAV1Profile1);
67+
TOSTR(VAProfileAV1Profile2);
6768
TOSTR(VAProfileHEVCSccMain444_10);
6869
TOSTR(VAProfileProtected);
6970
TOSTR(VAProfileVVCMain10);

va/va_trace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6775,6 +6775,7 @@ void va_TraceRenderPicture(
67756775
break;
67766776
case VAProfileAV1Profile0:
67776777
case VAProfileAV1Profile1:
6778+
case VAProfileAV1Profile2:
67786779
for (j = 0; j < num_elements; j++) {
67796780
va_TraceMsg(trace_ctx, "\telement[%d] = \n", j);
67806781

0 commit comments

Comments
 (0)