diff --git a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json index 959a59cb57..933b24f59f 100644 --- a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json @@ -14677,6 +14677,212 @@ "filename": "gstvideoconvertscale", "license": "LGPL", "other-types": { + "GstVideoConvertScale": { + "hierarchy": [ + "GstVideoConvertScale", + "GstVideoFilter", + "GstBaseTransform", + "GstElement", + "GstObject", + "GInitiallyUnowned", + "GObject" + ], + "kind": "object", + "properties": { + "add-borders": { + "blurb": "Add black borders if necessary to keep the display aspect ratio", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "true", + "mutable": "null", + "readable": true, + "type": "gboolean", + "writable": true + }, + "alpha-mode": { + "blurb": "Alpha Mode to use", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "copy (0)", + "mutable": "null", + "readable": true, + "type": "GstVideoAlphaMode", + "writable": true + }, + "alpha-value": { + "blurb": "Alpha Value to use", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "1", + "max": "1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "gdouble", + "writable": true + }, + "chroma-mode": { + "blurb": "Chroma Resampling Mode", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "full (0)", + "mutable": "null", + "readable": true, + "type": "GstVideoChromaMode", + "writable": true + }, + "chroma-resampler": { + "blurb": "Chroma resampler method", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "linear (1)", + "mutable": "null", + "readable": true, + "type": "GstVideoResamplerMethod", + "writable": true + }, + "dither": { + "blurb": "Apply dithering while converting", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "bayer (4)", + "mutable": "null", + "readable": true, + "type": "GstVideoDitherMethod", + "writable": true + }, + "dither-quantization": { + "blurb": "Quantizer to use", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "1", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "envelope": { + "blurb": "Size of filter envelope", + "conditionally-available": false, + "construct": true, + "construct-only": false, + "controllable": false, + "default": "2", + "max": "5", + "min": "1", + "mutable": "null", + "readable": true, + "type": "gdouble", + "writable": true + }, + "gamma-mode": { + "blurb": "Gamma Conversion Mode", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "none (0)", + "mutable": "null", + "readable": true, + "type": "GstVideoGammaMode", + "writable": true + }, + "matrix-mode": { + "blurb": "Matrix Conversion Mode", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "full (0)", + "mutable": "null", + "readable": true, + "type": "GstVideoMatrixMode", + "writable": true + }, + "method": { + "blurb": "method", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "bilinear (1)", + "mutable": "null", + "readable": true, + "type": "GstVideoScaleMethod", + "writable": true + }, + "n-threads": { + "blurb": "Maximum number of threads to use", + "conditionally-available": false, + "construct": true, + "construct-only": false, + "controllable": false, + "default": "1", + "max": "-1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "primaries-mode": { + "blurb": "Primaries Conversion Mode", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "none (0)", + "mutable": "null", + "readable": true, + "type": "GstVideoPrimariesMode", + "writable": true + }, + "sharpen": { + "blurb": "Sharpening", + "conditionally-available": false, + "construct": true, + "construct-only": false, + "controllable": false, + "default": "0", + "max": "1", + "min": "0", + "mutable": "null", + "readable": true, + "type": "gdouble", + "writable": true + }, + "sharpness": { + "blurb": "Sharpness of filter", + "conditionally-available": false, + "construct": true, + "construct-only": false, + "controllable": false, + "default": "1", + "max": "1.5", + "min": "0.5", + "mutable": "null", + "readable": true, + "type": "gdouble", + "writable": true + } + } + }, "GstVideoScaleMethod": { "kind": "enum", "values": [ diff --git a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c index d921b7f770..dd46b55747 100644 --- a/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c +++ b/subprojects/gst-plugins-base/gst/videoconvertscale/gstvideoconvertscale.c @@ -408,6 +408,8 @@ gst_video_convert_scale_class_init (GstVideoConvertScaleClass * klass) klass->any_memory = FALSE; klass->converts = TRUE; klass->scales = TRUE; + + gst_type_mark_as_plugin_api (GST_TYPE_VIDEO_CONVERT_SCALE, 0); } static void