bad: Update plugins cache

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/899>
This commit is contained in:
Thibault Saunier 2024-01-12 08:00:31 -03:00 committed by GStreamer Marge Bot
parent 4dcea207d9
commit 5d4bf4c6a5
3 changed files with 217 additions and 6 deletions

View file

@ -4606,6 +4606,7 @@
"description": "Selects the right transform element based on the caps", "description": "Selects the right transform element based on the caps",
"hierarchy": [ "hierarchy": [
"GstAutoConvert", "GstAutoConvert",
"GstBaseAutoConvert",
"GstBin", "GstBin",
"GstElement", "GstElement",
"GstObject", "GstObject",
@ -4655,11 +4656,12 @@
}, },
"rank": "none" "rank": "none"
}, },
"autovideoconvert": { "autodeinterlace": {
"author": "Benjamin Gaignard <benjamin.gaignard@stericsson.com>", "author": "Thibault Saunier <tsaunier@igalia.com>",
"description": "Selects the right color space converter based on the caps", "description": "Selects the right deinterlacer based on caps",
"hierarchy": [ "hierarchy": [
"GstAutoVideoConvert", "GstAutoDeinterlace",
"GstBaseAutoConvert",
"GstBin", "GstBin",
"GstElement", "GstElement",
"GstObject", "GstObject",
@ -4669,7 +4671,75 @@
"interfaces": [ "interfaces": [
"GstChildProxy" "GstChildProxy"
], ],
"klass": "Generic/Bin", "klass": "Bin/Colorspace/Scale/Video/Converter/Deinterlace",
"pad-templates": {
"sink": {
"caps": "ANY",
"direction": "sink",
"presence": "always"
},
"src": {
"caps": "ANY",
"direction": "src",
"presence": "always"
}
},
"properties": {
"fields": {
"blurb": "Fields to use for deinterlacing. Note that if the underlying implementation doesn't support the property it will be ignored.",
"conditionally-available": false,
"construct": false,
"construct-only": false,
"controllable": false,
"default": "all (0)",
"mutable": "null",
"readable": true,
"type": "GstAutoDeinterlaceFields",
"writable": true
},
"layout": {
"blurb": "Layout to use Note that if the underlying implementation doesn't support the property it will be ignored.",
"conditionally-available": false,
"construct": false,
"construct-only": false,
"controllable": false,
"default": "auto (0)",
"mutable": "null",
"readable": true,
"type": "GstAutoDeinterlaceFieldLayout",
"writable": true
},
"mode": {
"blurb": "Deinterlace Mode",
"conditionally-available": false,
"construct": false,
"construct-only": false,
"controllable": false,
"default": "auto (0)",
"mutable": "null",
"readable": true,
"type": "GstAutoDeinterlaceModes",
"writable": true
}
},
"rank": "none"
},
"autovideoconvert": {
"author": "Thibault Saunier <tsaunier@igalia.com>",
"description": "Selects the right color space converter based on the caps",
"hierarchy": [
"GstAutoVideoConvert",
"GstBaseAutoConvert",
"GstBin",
"GstElement",
"GstObject",
"GInitiallyUnowned",
"GObject"
],
"interfaces": [
"GstChildProxy"
],
"klass": "Bin/Colorspace/Scale/Video/Converter",
"long-name": "Select color space converter based on caps", "long-name": "Select color space converter based on caps",
"pad-templates": { "pad-templates": {
"sink": { "sink": {
@ -4685,11 +4755,140 @@
}, },
"properties": {}, "properties": {},
"rank": "none" "rank": "none"
},
"autovideoflip": {
"author": "Thibault Saunier <tsaunier@igalia.com>",
"description": "Selects the right video flip element based on the caps",
"hierarchy": [
"GstAutoVideoFlip",
"GstBaseAutoConvert",
"GstBin",
"GstElement",
"GstObject",
"GInitiallyUnowned",
"GObject"
],
"interfaces": [
"GstChildProxy"
],
"klass": "Bin/Filter/Effect/Video",
"pad-templates": {
"sink": {
"caps": "ANY",
"direction": "sink",
"presence": "always"
},
"src": {
"caps": "ANY",
"direction": "src",
"presence": "always"
}
},
"properties": {
"video-direction": {
"blurb": "Video direction: rotation and flipping",
"conditionally-available": false,
"construct": true,
"construct-only": false,
"controllable": true,
"default": "identity (0)",
"mutable": "playing",
"readable": true,
"type": "GstVideoOrientationMethod",
"writable": true
}
},
"rank": "none"
} }
}, },
"filename": "gstautoconvert", "filename": "gstautoconvert",
"license": "LGPL", "license": "LGPL",
"other-types": {}, "other-types": {
"GstAutoDeinterlaceFieldLayout": {
"kind": "enum",
"values": [
{
"desc": "Auto detection",
"name": "auto",
"value": "0"
},
{
"desc": "Top field first",
"name": "tff",
"value": "1"
},
{
"desc": "Bottom field first",
"name": "bff",
"value": "2"
}
]
},
"GstAutoDeinterlaceFields": {
"kind": "enum",
"values": [
{
"desc": "All fields",
"name": "all",
"value": "0"
},
{
"desc": "Top fields only",
"name": "top",
"value": "1"
},
{
"desc": "Bottom fields only",
"name": "bottom",
"value": "2"
},
{
"desc": "Automatically detect",
"name": "auto",
"value": "3"
}
]
},
"GstAutoDeinterlaceModes": {
"kind": "enum",
"values": [
{
"desc": "Auto detection (best effort)",
"name": "auto",
"value": "0"
},
{
"desc": "Force deinterlacing",
"name": "interlaced",
"value": "1"
},
{
"desc": "Run in passthrough mode",
"name": "disabled",
"value": "2"
},
{
"desc": "Auto detection (strict)",
"name": "auto-strict",
"value": "3"
}
]
},
"GstBaseAutoConvert": {
"hierarchy": [
"GstBaseAutoConvert",
"GstBin",
"GstElement",
"GstObject",
"GInitiallyUnowned",
"GObject"
],
"interfaces": [
"GstChildProxy"
],
"kind": "object"
}
},
"package": "GStreamer Bad Plug-ins", "package": "GStreamer Bad Plug-ins",
"source": "gst-plugins-bad", "source": "gst-plugins-bad",
"tracers": {}, "tracers": {},

View file

@ -91,6 +91,15 @@ gst_auto_deinterlace_field_layout_get_type (void)
return auto_deinterlace_field_layout_type; return auto_deinterlace_field_layout_type;
} }
/**
* GstAutoDeinterlaceFields:
* @GST_AUTO_DEINTERLACE_FIELDS_ALL: All fields (missing data is interpolated)
* @GST_AUTO_DEINTERLACE_FIELDS_TOP: Top Fields only
* @GST_AUTO_DEINTERLACE_FIELDS_BOTTOM: Bottom Fields Only
* @GST_AUTO_DEINTERLACE_FIELDS_AUTO: Automatically detect
*
* Since: 1.24
*/
typedef enum typedef enum
{ {
GST_AUTO_DEINTERLACE_FIELDS_ALL, /* All (missing data is interp.) */ GST_AUTO_DEINTERLACE_FIELDS_ALL, /* All (missing data is interp.) */
@ -767,6 +776,8 @@ gst_auto_deinterlace_class_init (GstAutoDeinterlaceClass * klass)
DEFAULT_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS) DEFAULT_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)
); );
gst_type_mark_as_plugin_api (GST_TYPE_AUTO_DEINTERLACE_FIELDS, 0);
gst_type_mark_as_plugin_api (GST_TYPE_AUTO_DEINTERLACE_MODES, 0);
gst_type_mark_as_plugin_api (GST_TYPE_AUTO_DEINTERLACE_FIELD_LAYOUT, 0); gst_type_mark_as_plugin_api (GST_TYPE_AUTO_DEINTERLACE_FIELD_LAYOUT, 0);
gst_element_class_set_static_metadata (gstelement_class, gst_element_class_set_static_metadata (gstelement_class,

View file

@ -36,6 +36,7 @@ plugin_init (GstPlugin * plugin)
ret |= GST_ELEMENT_REGISTER (autovideoconvert, plugin); ret |= GST_ELEMENT_REGISTER (autovideoconvert, plugin);
ret |= GST_ELEMENT_REGISTER (autodeinterlace, plugin); ret |= GST_ELEMENT_REGISTER (autodeinterlace, plugin);
ret |= GST_ELEMENT_REGISTER (autovideoflip, plugin); ret |= GST_ELEMENT_REGISTER (autovideoflip, plugin);
gst_type_mark_as_plugin_api (GST_TYPE_BASE_AUTO_CONVERT, 0);
return ret; return ret;
} }