mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
vtenc: Fix authors of encoder features
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8120>
This commit is contained in:
parent
07e538c043
commit
d09605a3ff
3 changed files with 29 additions and 17 deletions
|
@ -4788,7 +4788,7 @@
|
||||||
"rank": "primary"
|
"rank": "primary"
|
||||||
},
|
},
|
||||||
"vtenc_h265": {
|
"vtenc_h265": {
|
||||||
"author": "Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>",
|
"author": "Piotr Brzeziński <piotr@centricular.com>",
|
||||||
"description": "H.265/HEVC encoder",
|
"description": "H.265/HEVC encoder",
|
||||||
"hierarchy": [
|
"hierarchy": [
|
||||||
"vtenc_h265",
|
"vtenc_h265",
|
||||||
|
@ -4924,7 +4924,7 @@
|
||||||
"rank": "primary"
|
"rank": "primary"
|
||||||
},
|
},
|
||||||
"vtenc_h265_hw": {
|
"vtenc_h265_hw": {
|
||||||
"author": "Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>",
|
"author": "Piotr Brzeziński <piotr@centricular.com>",
|
||||||
"description": "H.265/HEVC (HW only) encoder",
|
"description": "H.265/HEVC (HW only) encoder",
|
||||||
"hierarchy": [
|
"hierarchy": [
|
||||||
"vtenc_h265_hw",
|
"vtenc_h265_hw",
|
||||||
|
@ -5060,7 +5060,7 @@
|
||||||
"rank": "primary"
|
"rank": "primary"
|
||||||
},
|
},
|
||||||
"vtenc_h265a": {
|
"vtenc_h265a": {
|
||||||
"author": "Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>",
|
"author": "Piotr Brzeziński <piotr@centricular.com>",
|
||||||
"description": "H.265/HEVC with alpha encoder",
|
"description": "H.265/HEVC with alpha encoder",
|
||||||
"hierarchy": [
|
"hierarchy": [
|
||||||
"vtenc_h265a",
|
"vtenc_h265a",
|
||||||
|
@ -5196,7 +5196,7 @@
|
||||||
"rank": "primary"
|
"rank": "primary"
|
||||||
},
|
},
|
||||||
"vtenc_h265a_hw": {
|
"vtenc_h265a_hw": {
|
||||||
"author": "Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>",
|
"author": "Piotr Brzeziński <piotr@centricular.com>",
|
||||||
"description": "H.265/HEVC with alpha (HW only) encoder",
|
"description": "H.265/HEVC with alpha (HW only) encoder",
|
||||||
"hierarchy": [
|
"hierarchy": [
|
||||||
"vtenc_h265a_hw",
|
"vtenc_h265a_hw",
|
||||||
|
@ -5332,7 +5332,7 @@
|
||||||
"rank": "primary"
|
"rank": "primary"
|
||||||
},
|
},
|
||||||
"vtenc_prores": {
|
"vtenc_prores": {
|
||||||
"author": "Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>",
|
"author": "Nirbheek Chauhan <nirbheek@centricular.com>",
|
||||||
"description": "Apple ProRes encoder",
|
"description": "Apple ProRes encoder",
|
||||||
"hierarchy": [
|
"hierarchy": [
|
||||||
"vtenc_prores",
|
"vtenc_prores",
|
||||||
|
@ -254320,4 +254320,4 @@
|
||||||
"tracers": {},
|
"tracers": {},
|
||||||
"url": "Unknown package origin"
|
"url": "Unknown package origin"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -309,8 +309,7 @@ gst_vtenc_base_init (GstVTEncClass * klass)
|
||||||
description = g_strdup_printf ("%s encoder", codec_details->name);
|
description = g_strdup_printf ("%s encoder", codec_details->name);
|
||||||
|
|
||||||
gst_element_class_set_metadata (element_class, longname,
|
gst_element_class_set_metadata (element_class, longname,
|
||||||
"Codec/Encoder/Video/Hardware", description,
|
"Codec/Encoder/Video/Hardware", description, codec_details->authors);
|
||||||
"Ole André Vadla Ravnås <oleavr@soundrop.com>, Dominik Röttsches <dominik.rottsches@intel.com>");
|
|
||||||
|
|
||||||
g_free (longname);
|
g_free (longname);
|
||||||
g_free (description);
|
g_free (description);
|
||||||
|
@ -2551,7 +2550,7 @@ gst_vtenc_register (GstPlugin * plugin,
|
||||||
0,
|
0,
|
||||||
(GInstanceInitFunc) gst_vtenc_init,
|
(GInstanceInitFunc) gst_vtenc_init,
|
||||||
};
|
};
|
||||||
gchar *type_name;
|
char *type_name;
|
||||||
GType type;
|
GType type;
|
||||||
gboolean result;
|
gboolean result;
|
||||||
|
|
||||||
|
@ -2571,18 +2570,30 @@ gst_vtenc_register (GstPlugin * plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static const GstVTEncoderDetails gst_vtenc_codecs[] = {
|
static const GstVTEncoderDetails gst_vtenc_codecs[] = {
|
||||||
{"H.264", "h264", "video/x-h264", kCMVideoCodecType_H264, FALSE},
|
{"H.264", "h264", "video/x-h264",
|
||||||
{"H.265/HEVC", "h265", "video/x-h265", kCMVideoCodecType_HEVC, FALSE},
|
"Ole André Vadla Ravnås <oleavr@soundrop.com>, "
|
||||||
|
"Dominik Röttsches <dominik.rottsches@intel.com>",
|
||||||
|
kCMVideoCodecType_H264, FALSE},
|
||||||
|
{"H.265/HEVC", "h265", "video/x-h265",
|
||||||
|
"Piotr Brzeziński <piotr@centricular.com>",
|
||||||
|
kCMVideoCodecType_HEVC, FALSE},
|
||||||
{"H.265/HEVC with alpha", "h265a", "video/x-h265",
|
{"H.265/HEVC with alpha", "h265a", "video/x-h265",
|
||||||
|
"Piotr Brzeziński <piotr@centricular.com>",
|
||||||
kCMVideoCodecType_HEVCWithAlpha, FALSE},
|
kCMVideoCodecType_HEVCWithAlpha, FALSE},
|
||||||
#ifndef HAVE_IOS
|
#ifndef HAVE_IOS
|
||||||
{"H.264 (HW only)", "h264_hw", "video/x-h264", kCMVideoCodecType_H264, TRUE},
|
{"H.264 (HW only)", "h264_hw", "video/x-h264",
|
||||||
{"H.265/HEVC (HW only)", "h265_hw", "video/x-h265", kCMVideoCodecType_HEVC,
|
"Ole André Vadla Ravnås <oleavr@soundrop.com>, "
|
||||||
TRUE},
|
"Dominik Röttsches <dominik.rottsches@intel.com>",
|
||||||
|
kCMVideoCodecType_H264, TRUE},
|
||||||
|
{"H.265/HEVC (HW only)", "h265_hw", "video/x-h265",
|
||||||
|
"Piotr Brzeziński <piotr@centricular.com>",
|
||||||
|
kCMVideoCodecType_HEVC, TRUE},
|
||||||
{"H.265/HEVC with alpha (HW only)", "h265a_hw", "video/x-h265",
|
{"H.265/HEVC with alpha (HW only)", "h265a_hw", "video/x-h265",
|
||||||
|
"Piotr Brzeziński <piotr@centricular.com>",
|
||||||
kCMVideoCodecType_HEVCWithAlpha, TRUE},
|
kCMVideoCodecType_HEVCWithAlpha, TRUE},
|
||||||
#endif
|
#endif
|
||||||
{"Apple ProRes", "prores", "video/x-prores",
|
{"Apple ProRes", "prores", "video/x-prores",
|
||||||
|
"Nirbheek Chauhan <nirbheek@centricular.com>",
|
||||||
GST_kCMVideoCodecType_Some_AppleProRes, FALSE},
|
GST_kCMVideoCodecType_Some_AppleProRes, FALSE},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -59,9 +59,10 @@ typedef struct _GstVTEncoderDetails GstVTEncoderDetails;
|
||||||
|
|
||||||
struct _GstVTEncoderDetails
|
struct _GstVTEncoderDetails
|
||||||
{
|
{
|
||||||
const gchar * name;
|
const char * name;
|
||||||
const gchar * element_name;
|
const char * element_name;
|
||||||
const gchar * mimetype;
|
const char * mimetype;
|
||||||
|
const char * authors;
|
||||||
CMVideoCodecType format_id;
|
CMVideoCodecType format_id;
|
||||||
gboolean require_hardware;
|
gboolean require_hardware;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue