diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-09-15 17:02:57 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-09-15 17:05:30 +0100 |
commit | 601b993f956c3a5dd61862e98bb2b313d41f85f5 (patch) | |
tree | 140944723ebf6d018731f3fafb44c07f4dc4d3db /sys | |
parent | bbb79439426e96ab632eec55950c76820aeeb019 (diff) |
docs: add gtk-doc chunks with Since: markers for new v4l2src properties
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 28 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 7 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 162c9b8ad..96b6e5913 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -329,21 +329,49 @@ gst_v4l2_object_install_properties_helper (GObjectClass * gobject_class, GST_TYPE_V4L2_DEVICE_FLAGS, DEFAULT_PROP_FLAGS, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + /** + * GstV4l2Src:brightness + * + * Picture brightness, or more precisely, the black level + * + * Since: 0.10.26 + */ g_object_class_install_property (gobject_class, PROP_BRIGHTNESS, g_param_spec_int ("brightness", "Brightness", "Picture brightness, or more precisely, the black level", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); + /** + * GstV4l2Src:contrast + * + * Picture contrast or luma gain + * + * Since: 0.10.26 + */ g_object_class_install_property (gobject_class, PROP_CONTRAST, g_param_spec_int ("contrast", "Contrast", "Picture contrast or luma gain", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); + /** + * GstV4l2Src:saturation + * + * Picture color saturation or chroma gain + * + * Since: 0.10.26 + */ g_object_class_install_property (gobject_class, PROP_SATURATION, g_param_spec_int ("saturation", "Saturation", "Picture color saturation or chroma gain", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE)); + /** + * GstV4l2Src:hue + * + * Hue or color balance + * + * Since: 0.10.26 + */ g_object_class_install_property (gobject_class, PROP_HUE, g_param_spec_int ("hue", "Hue", "Hue or color balance", G_MININT, diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index c2253694f..4724fe967 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -266,6 +266,13 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass) g_param_spec_boolean ("always-copy", "Always Copy", "If the buffer will or not be used directly from mmap", PROP_DEF_ALWAYS_COPY, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * GstV4l2Src:decimate + * + * Only use every nth frame + * + * Since: 0.10.26 + */ g_object_class_install_property (gobject_class, PROP_DECIMATE, g_param_spec_int ("decimate", "Decimate", "Only use every nth frame", 1, G_MAXINT, |