Skip to content

Commit 940820b

Browse files
author
jianfeng.zheng
committed
add VAProfileH264High10
Signed-off-by: jianfeng.zheng <[email protected]>
1 parent 0d971e9 commit 940820b

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
@@ -530,7 +530,8 @@ typedef enum {
530530
VAProfileAV1Profile1 = 33,
531531
VAProfileHEVCSccMain444_10 = 34,
532532
/** \brief Profile ID used for protected video playback. */
533-
VAProfileProtected = 35
533+
VAProfileProtected = 35,
534+
VAProfileH264High10 = 36
534535
} VAProfile;
535536

536537
/**

va/va_str.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const char *vaProfileStr(VAProfile profile)
3737
TOSTR(VAProfileMPEG4Main);
3838
TOSTR(VAProfileH264Main);
3939
TOSTR(VAProfileH264High);
40+
TOSTR(VAProfileH264High10);
4041
TOSTR(VAProfileVC1Simple);
4142
TOSTR(VAProfileVC1Main);
4243
TOSTR(VAProfileVC1Advanced);

va/va_trace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5749,6 +5749,7 @@ void va_TraceRenderPicture(
57495749
va_TraceMPEG4Buf(dpy, context, buffers[i], type, size, num_elements, pbuf + size * j);
57505750
}
57515751
break;
5752+
case VAProfileH264High10:
57525753
case VAProfileH264Main:
57535754
case VAProfileH264High:
57545755
case VAProfileH264ConstrainedBaseline:

0 commit comments

Comments
 (0)