mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstvaapiporfile: Add more VP9 profile definitions
https://bugzilla.gnome.org/show_bug.cgi?id=764082
This commit is contained in:
parent
45145d73dd
commit
4e5cf53ee0
2 changed files with 22 additions and 5 deletions
|
@ -132,8 +132,16 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
|
||||||
"video/x-h265", "main-10"},
|
"video/x-h265", "main-10"},
|
||||||
#endif
|
#endif
|
||||||
#if VA_CHECK_VERSION(0,38,0)
|
#if VA_CHECK_VERSION(0,38,0)
|
||||||
{GST_VAAPI_PROFILE_VP9, VAProfileVP9Profile0,
|
{GST_VAAPI_PROFILE_VP9_0, VAProfileVP9Profile0,
|
||||||
"video/x-vp9", NULL},
|
"video/x-vp9", "profile0"},
|
||||||
|
#endif
|
||||||
|
#if VA_CHECK_VERSION(0,39,0)
|
||||||
|
{GST_VAAPI_PROFILE_VP9_1, VAProfileVP9Profile1,
|
||||||
|
"video/x-vp9", "profile1"},
|
||||||
|
{GST_VAAPI_PROFILE_VP9_2, VAProfileVP9Profile2,
|
||||||
|
"video/x-vp9", "profile2"},
|
||||||
|
{GST_VAAPI_PROFILE_VP9_3, VAProfileVP9Profile3,
|
||||||
|
"video/x-vp9", "profile3"},
|
||||||
#endif
|
#endif
|
||||||
{0,}
|
{0,}
|
||||||
};
|
};
|
||||||
|
|
|
@ -131,8 +131,14 @@ typedef enum {
|
||||||
* H.265 main 10 profile [A.3.3]
|
* H.265 main 10 profile [A.3.3]
|
||||||
* @GST_VAAPI_PROFILE_H265_MAIN_STILL_PICTURE:
|
* @GST_VAAPI_PROFILE_H265_MAIN_STILL_PICTURE:
|
||||||
* H.265 main still picture profile [A.3.4]
|
* H.265 main still picture profile [A.3.4]
|
||||||
* @GST_VAAPI_PROFILE_VP9:
|
* @GST_VAAPI_PROFILE_VP9_0:
|
||||||
* VP9 prfile 0
|
* VP9 prfile 0, bitdepth=8, 420
|
||||||
|
* @GST_VAAPI_PROFILE_VP9_1:
|
||||||
|
* VP9 prfile 1, bitdepth=8, 422/444/440/RGB
|
||||||
|
* @GST_VAAPI_PROFILE_VP9_2:
|
||||||
|
* VP9 prfile 2, bitdepth=10/12, 420
|
||||||
|
* @GST_VAAPI_PROFILE_VP9_3:
|
||||||
|
* VP9 prfile 3 bitdepth=10/12, 422/444/440/RGB
|
||||||
*
|
*
|
||||||
* The set of all profiles for #GstVaapiProfile.
|
* The set of all profiles for #GstVaapiProfile.
|
||||||
*/
|
*/
|
||||||
|
@ -169,7 +175,10 @@ typedef enum {
|
||||||
GST_VAAPI_PROFILE_H265_MAIN10 = GST_VAAPI_MAKE_PROFILE(H265,2),
|
GST_VAAPI_PROFILE_H265_MAIN10 = GST_VAAPI_MAKE_PROFILE(H265,2),
|
||||||
GST_VAAPI_PROFILE_H265_MAIN_STILL_PICTURE =
|
GST_VAAPI_PROFILE_H265_MAIN_STILL_PICTURE =
|
||||||
GST_VAAPI_MAKE_PROFILE(H265,3),
|
GST_VAAPI_MAKE_PROFILE(H265,3),
|
||||||
GST_VAAPI_PROFILE_VP9 = GST_VAAPI_MAKE_PROFILE(VP9,1),
|
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),
|
||||||
|
GST_VAAPI_PROFILE_VP9_3 = GST_VAAPI_MAKE_PROFILE(VP9,4),
|
||||||
} GstVaapiProfile;
|
} GstVaapiProfile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue