Skip to content

Commit

Permalink
add VAProfileH264High10
Browse files Browse the repository at this point in the history
Signed-off-by: Jianfeng Zheng <[email protected]>
  • Loading branch information
jianfeng.zheng committed Dec 14, 2022
1 parent 82e400e commit bb0d700
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 @@ -530,7 +530,8 @@ typedef enum {
VAProfileAV1Profile1 = 33,
VAProfileHEVCSccMain444_10 = 34,
/** \brief Profile ID used for protected video playback. */
VAProfileProtected = 35
VAProfileProtected = 35,
VAProfileH264High10 = 36
} 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 @@ -37,6 +37,7 @@ const char *vaProfileStr(VAProfile profile)
TOSTR(VAProfileMPEG4Main);
TOSTR(VAProfileH264Main);
TOSTR(VAProfileH264High);
TOSTR(VAProfileH264High10);
TOSTR(VAProfileVC1Simple);
TOSTR(VAProfileVC1Main);
TOSTR(VAProfileVC1Advanced);
Expand Down
1 change: 1 addition & 0 deletions va/va_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -5662,6 +5662,7 @@ void va_TraceRenderPicture(
va_TraceMPEG4Buf(dpy, context, buffers[i], type, size, num_elements, pbuf + size * j);
}
break;
case VAProfileH264High10:
case VAProfileH264Main:
case VAProfileH264High:
case VAProfileH264ConstrainedBaseline:
Expand Down

0 comments on commit bb0d700

Please sign in to comment.