mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
VP9: gstvaapiprofile: Add profile definitions
This commit is contained in:
parent
608a045ba1
commit
a3d63724dd
2 changed files with 11 additions and 0 deletions
|
@ -67,6 +67,7 @@ static const GstVaapiCodecMap gst_vaapi_codecs[] = {
|
||||||
{ GST_VAAPI_CODEC_JPEG, "jpeg" },
|
{ GST_VAAPI_CODEC_JPEG, "jpeg" },
|
||||||
{ GST_VAAPI_CODEC_VP8, "vp8" },
|
{ GST_VAAPI_CODEC_VP8, "vp8" },
|
||||||
{ GST_VAAPI_CODEC_H265, "h265" },
|
{ GST_VAAPI_CODEC_H265, "h265" },
|
||||||
|
{ GST_VAAPI_CODEC_VP9, "vp9" },
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -159,6 +160,11 @@ static const GstVaapiProfileMap gst_vaapi_profiles[] = {
|
||||||
{ GST_VAAPI_PROFILE_H265_MAIN10, VAProfileHEVCMain10,
|
{ GST_VAAPI_PROFILE_H265_MAIN10, VAProfileHEVCMain10,
|
||||||
"video/x-h265", "main10"
|
"video/x-h265", "main10"
|
||||||
},
|
},
|
||||||
|
#endif
|
||||||
|
#if VA_CHECK_VERSION(0,38,0)
|
||||||
|
{ GST_VAAPI_PROFILE_VP9, VAProfileVP9Profile0,
|
||||||
|
"video/x-vp9", NULL
|
||||||
|
},
|
||||||
#endif
|
#endif
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,6 +40,7 @@ G_BEGIN_DECLS
|
||||||
* @GST_VAAPI_CODEC_VC1: VC-1 Advanced profile (SMPTE 421M)
|
* @GST_VAAPI_CODEC_VC1: VC-1 Advanced profile (SMPTE 421M)
|
||||||
* @GST_VAAPI_CODEC_JPEG: JPEG (ITU-T 81)
|
* @GST_VAAPI_CODEC_JPEG: JPEG (ITU-T 81)
|
||||||
* @GST_VAAPI_CODEC_H265: H.265 aka MPEG-H Part 2 (ITU-T H.265)
|
* @GST_VAAPI_CODEC_H265: H.265 aka MPEG-H Part 2 (ITU-T H.265)
|
||||||
|
* @GST_VAAPI_CODEC_VP9: VP9 (libvpx)
|
||||||
*
|
*
|
||||||
* The set of all codecs for #GstVaapiCodec.
|
* The set of all codecs for #GstVaapiCodec.
|
||||||
*/
|
*/
|
||||||
|
@ -54,6 +55,7 @@ typedef enum {
|
||||||
GST_VAAPI_CODEC_JPEG = GST_MAKE_FOURCC('J','P','G',0),
|
GST_VAAPI_CODEC_JPEG = GST_MAKE_FOURCC('J','P','G',0),
|
||||||
GST_VAAPI_CODEC_VP8 = GST_MAKE_FOURCC('V','P','8',0),
|
GST_VAAPI_CODEC_VP8 = GST_MAKE_FOURCC('V','P','8',0),
|
||||||
GST_VAAPI_CODEC_H265 = GST_MAKE_FOURCC('2','6','5',0),
|
GST_VAAPI_CODEC_H265 = GST_MAKE_FOURCC('2','6','5',0),
|
||||||
|
GST_VAAPI_CODEC_VP9 = GST_MAKE_FOURCC('V','P','9',0),
|
||||||
} GstVaapiCodec;
|
} GstVaapiCodec;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -129,6 +131,8 @@ 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:
|
||||||
|
* VP9 prfile 0
|
||||||
*
|
*
|
||||||
* The set of all profiles for #GstVaapiProfile.
|
* The set of all profiles for #GstVaapiProfile.
|
||||||
*/
|
*/
|
||||||
|
@ -165,6 +169,7 @@ 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),
|
||||||
} GstVaapiProfile;
|
} GstVaapiProfile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue