mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
docs: mark GstVideoConvertScale as plugin API
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4408>
This commit is contained in:
parent
6c25caa572
commit
be208b9f50
2 changed files with 208 additions and 0 deletions
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue