diff --git a/va/va.h b/va/va.h index 957dc53c6..b7deccfeb 100644 --- a/va/va.h +++ b/va/va.h @@ -530,7 +530,14 @@ typedef enum { VAProfileAV1Profile1 = 33, VAProfileHEVCSccMain444_10 = 34, /** \brief Profile ID used for protected video playback. */ - VAProfileProtected = 35 + VAProfileProtected = 35, + + /** + * @note 'VA_PROFILE_H264_HIGH_10' is an conditional compiling option + * for 'VAProfileH264High10' support. + */ +#define VA_PROFILE_H264_HIGH_10 + VAProfileH264High10 = 36, } VAProfile; /** diff --git a/va/va_str.c b/va/va_str.c index 2c44270eb..f6ae31bd6 100644 --- a/va/va_str.c +++ b/va/va_str.c @@ -37,6 +37,9 @@ const char *vaProfileStr(VAProfile profile) TOSTR(VAProfileMPEG4Main); TOSTR(VAProfileH264Main); TOSTR(VAProfileH264High); +#ifdef VA_PROFILE_H264_HIGH_10 + TOSTR(VAProfileH264High10); +#endif TOSTR(VAProfileVC1Simple); TOSTR(VAProfileVC1Main); TOSTR(VAProfileVC1Advanced); diff --git a/va/va_trace.c b/va/va_trace.c index b291adec3..4089bfaee 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -1053,7 +1053,6 @@ static void va_TraceSurface(VADisplay dpy, VAContextID context) va_TraceMsg(trace_ctx, NULL); } - void va_TraceInitialize( VADisplay dpy, int *major_version, /* out */ @@ -5662,6 +5661,9 @@ void va_TraceRenderPicture( va_TraceMPEG4Buf(dpy, context, buffers[i], type, size, num_elements, pbuf + size * j); } break; +#ifdef VA_PROFILE_H264_HIGH_10 + case VAProfileH264High10: +#endif case VAProfileH264Main: case VAProfileH264High: case VAProfileH264ConstrainedBaseline: