Skip to content

Commit

Permalink
va: add av1 profile2
Browse files Browse the repository at this point in the history
Adding VAProfileAV1Profile2 to support 12bit AV1 decoding

Signed-off-by: David (Ming Qiang) Wu <[email protected]>
  • Loading branch information
davidwuAMD authored and XinfengZhang committed Jul 25, 2024
1 parent 438398b commit 0115352
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion va/va.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,8 @@ typedef enum {
VAProfileProtected = 35,
VAProfileH264High10 = 36,
VAProfileVVCMain10 = 37,
VAProfileVVCMultilayerMain10 = 38
VAProfileVVCMultilayerMain10 = 38,
VAProfileAV1Profile2 = 39
} VAProfile;

/**
Expand Down
1 change: 1 addition & 0 deletions va/va_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const char *vaProfileStr(VAProfile profile)
TOSTR(VAProfileHEVCSccMain444);
TOSTR(VAProfileAV1Profile0);
TOSTR(VAProfileAV1Profile1);
TOSTR(VAProfileAV1Profile2);
TOSTR(VAProfileHEVCSccMain444_10);
TOSTR(VAProfileProtected);
TOSTR(VAProfileVVCMain10);
Expand Down
1 change: 1 addition & 0 deletions va/va_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0115352

Please sign in to comment.