Commit 9067d902 authored by He Junyan's avatar He Junyan Committed by GStreamer Merge Bot

libs: profile: Add screen extended main/main10/main444 define.

Part-of: <!311>
parent 8486f82d
......@@ -128,6 +128,12 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
"video/x-h265", "main-444"},
{GST_VAAPI_PROFILE_H265_MAIN_444_10, VAProfileHEVCMain444_10,
"video/x-h265", "main-444-10"},
{GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN, VAProfileHEVCSccMain,
"video/x-h265", "screen-extended-main"},
{GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN_10, VAProfileHEVCSccMain10,
"video/x-h265", "screen-extended-main-10"},
{GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN_444, VAProfileHEVCSccMain444,
"video/x-h265", "screen-extended-main-444"},
#endif
{GST_VAAPI_PROFILE_VP9_0, VAProfileVP9Profile0,
"video/x-vp9", "profile0"},
......
......@@ -181,6 +181,12 @@ typedef enum {
GST_VAAPI_PROFILE_H265_MAIN_422_10 = GST_VAAPI_MAKE_PROFILE(H265,4),
GST_VAAPI_PROFILE_H265_MAIN_444 = GST_VAAPI_MAKE_PROFILE(H265,5),
GST_VAAPI_PROFILE_H265_MAIN_444_10 = GST_VAAPI_MAKE_PROFILE(H265,6),
GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN =
GST_VAAPI_MAKE_PROFILE(H265,7),
GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN_10 =
GST_VAAPI_MAKE_PROFILE(H265,8),
GST_VAAPI_PROFILE_H265_SCREEN_EXTENDED_MAIN_444 =
GST_VAAPI_MAKE_PROFILE(H265,9),
GST_VAAPI_PROFILE_VP9_0 = GST_VAAPI_MAKE_PROFILE(VP9,1),
GST_VAAPI_PROFILE_VP9_1 = GST_VAAPI_MAKE_PROFILE(VP9,2),
GST_VAAPI_PROFILE_VP9_2 = GST_VAAPI_MAKE_PROFILE(VP9,3),
......
......@@ -238,6 +238,9 @@ string_of_VAProfile (VAProfile profile)
MAP (HEVCMain422_10);
MAP (HEVCMain444);
MAP (HEVCMain444_10);
MAP (HEVCSccMain);
MAP (HEVCSccMain10);
MAP (HEVCSccMain444);
#endif
MAP (HEVCMain);
MAP (HEVCMain10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment