mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
bad: Mark more types as plugin API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
parent
33fd7251d0
commit
fb2077061f
5 changed files with 165 additions and 4 deletions
|
@ -38949,7 +38949,23 @@
|
|||
},
|
||||
"filename": "gstisac",
|
||||
"license": "LGPL",
|
||||
"other-types": {},
|
||||
"other-types": {
|
||||
"GstIsacEncOutputFrameLen": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "30 ms",
|
||||
"name": "30 ms",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"desc": "60 ms",
|
||||
"name": "60 ms, only usable in wideband mode (16 kHz)",
|
||||
"value": "60"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"package": "GStreamer Bad Plug-ins",
|
||||
"source": "gst-plugins-bad",
|
||||
"tracers": {},
|
||||
|
@ -40624,7 +40640,28 @@
|
|||
},
|
||||
"filename": "gstldac",
|
||||
"license": "LGPL",
|
||||
"other-types": {},
|
||||
"other-types": {
|
||||
"GstLdacEqmid": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "HQ",
|
||||
"name": "hq",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "SQ",
|
||||
"name": "sq",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"desc": "MQ",
|
||||
"name": "mq",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"package": "GStreamer Bad Plug-ins",
|
||||
"source": "gst-plugins-bad",
|
||||
"tracers": {},
|
||||
|
@ -244358,7 +244395,23 @@
|
|||
},
|
||||
"filename": "gstsvtav1",
|
||||
"license": "LGPL",
|
||||
"other-types": {},
|
||||
"other-types": {
|
||||
"GstSvtAv1EncIntraRefreshType": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Open GOP",
|
||||
"name": "CRA",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"desc": "Closed GOP",
|
||||
"name": "IDR",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"package": "GStreamer Bad Plug-ins",
|
||||
"source": "gst-plugins-bad",
|
||||
"tracers": {},
|
||||
|
@ -244705,7 +244758,103 @@
|
|||
},
|
||||
"filename": "gstsvthevcenc",
|
||||
"license": "GPL",
|
||||
"other-types": {},
|
||||
"other-types": {
|
||||
"GstSvtHevcEncBPyramid": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Flat",
|
||||
"name": "flat",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "2-Level Hierarchy",
|
||||
"name": "2-level-hierarchy",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"desc": "3-Level Hierarchy",
|
||||
"name": "3-level-hierarchy",
|
||||
"value": "2"
|
||||
},
|
||||
{
|
||||
"desc": "4-Level Hierarchy",
|
||||
"name": "4-level-hierarchy",
|
||||
"value": "3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GstSvtHevcEncBaseLayerMode": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Use B-frames in the base layer pointing to the same past picture",
|
||||
"name": "B-frame",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "Use P-frames in the base layer",
|
||||
"name": "P-frame",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GstSvtHevcEncPredStruct": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Low Delay Prediction Structure with P/p pictures",
|
||||
"name": "low-delay-P",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "Low Delay Prediction Structure with B/b pictures",
|
||||
"name": "low-delay-B",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"desc": "Random Access Prediction Structure",
|
||||
"name": "random-access",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GstSvtHevcEncRC": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Constant QP Control",
|
||||
"name": "cqp",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "Variable Bitrate Contorol",
|
||||
"name": "vbr",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"GstSvtHevcEncTune": {
|
||||
"kind": "enum",
|
||||
"values": [
|
||||
{
|
||||
"desc": "Visually Optimized Mode",
|
||||
"name": "sq",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"desc": "PSNR/SSIM Optimized Mode",
|
||||
"name": "oq",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"desc": "VMAF Optimized Mode",
|
||||
"name": "vmaf",
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"package": "GStreamer Bad Plug-ins",
|
||||
"source": "gst-plugins-bad",
|
||||
"tracers": {},
|
||||
|
|
|
@ -425,6 +425,8 @@ gst_isacenc_class_init (GstIsacEncClass * klass)
|
|||
|
||||
gst_element_class_add_static_pad_template (gstelement_class, &sink_template);
|
||||
gst_element_class_add_static_pad_template (gstelement_class, &src_template);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_TYPE_ISACENC_OUTPUT_FRAME_LEN, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -142,6 +142,8 @@ gst_ldac_enc_class_init (GstLdacEncClass * klass)
|
|||
"Encode an LDAC audio stream",
|
||||
"Sanchayan Maity <sanchayan@asymptotic.io>");
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_LDAC_EQMID, 0);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (ldac_enc_debug, "ldacenc", 0,
|
||||
"LDAC encoding element");
|
||||
}
|
||||
|
|
|
@ -334,6 +334,8 @@ gst_svtav1enc_class_init (GstSvtAv1EncClass * klass)
|
|||
"Colon-delimited list of key=value pairs of additional parameters to set",
|
||||
PROP_PARAMETERS_STRING_DEFAULT,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_SVTAV1ENC_TYPE_INTRA_REFRESH_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -621,6 +621,12 @@ gst_svthevc_enc_class_init (GstSvtHevcEncClass * klass)
|
|||
|
||||
gst_element_class_add_static_pad_template (element_class, &sink_factory);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_factory);
|
||||
|
||||
gst_type_mark_as_plugin_api (GST_SVTHEVC_ENC_B_PYRAMID_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_SVTHEVC_ENC_BASE_LAYER_MODE_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_SVTHEVC_ENC_PRED_STRUCT_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_SVTHEVC_ENC_RC_TYPE, 0);
|
||||
gst_type_mark_as_plugin_api (GST_SVTHEVC_ENC_TUNE_TYPE, 0);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue