From 147808f20de9bee3b123a79fcff6ea4432d533a5 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 20 Feb 2009 09:28:59 +0100 Subject: v4l2-spec: document V4L2_CID_COLORFX. From: Hans Verkuil Priority: normal Signed-off-by: Hans Verkuil --- v4l2-spec/controls.sgml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'v4l2-spec/controls.sgml') diff --git a/v4l2-spec/controls.sgml b/v4l2-spec/controls.sgml index 0df57dcf7..7fbe82401 100644 --- a/v4l2-spec/controls.sgml +++ b/v4l2-spec/controls.sgml @@ -271,11 +271,20 @@ minimum value disables backlight compensation. boolean Enable the color killer (&ie; force a black & white image in case of a weak video signal). + + V4L2_CID_COLORFX + enum + Selects a color effect. Possible values for +enum v4l2_colorfx are: +V4L2_COLORFX_NONE (0), +V4L2_COLORFX_BW (1) and +V4L2_COLORFX_SEPIA (2). + V4L2_CID_LASTP1 End of the predefined control IDs (currently -V4L2_CID_COLOR_KILLER + 1). +V4L2_CID_COLORFX + 1). V4L2_CID_PRIVATE_BASE -- cgit v1.2.3 From 28258187ce09827121e04b2de19e454032427d96 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 20 Feb 2009 10:30:12 +0100 Subject: v4l2-common/v4l2-spec: support/document write-only and button controls From: Hans Verkuil The controls V4L2_CID_PAN_RESET and V4L2_CID_TILT_RESET changed their type to button controls (these are unused at the moment, so this is a safe change). The controls V4L2_CID_PAN_RELATIVE, V4L2_CID_TILT_RELATIVE, V4L2_CID_FOCUS_RELATIVE and V4L2_CID_ZOOM_RELATIVE are marked as write-only controls. Priority: normal Signed-off-by: Hans Verkuil CC: Laurent Pinchart --- v4l2-spec/controls.sgml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'v4l2-spec/controls.sgml') diff --git a/v4l2-spec/controls.sgml b/v4l2-spec/controls.sgml index 7fbe82401..477a97077 100644 --- a/v4l2-spec/controls.sgml +++ b/v4l2-spec/controls.sgml @@ -1688,7 +1688,7 @@ remain constant. camera horizontally by the specified amount. The unit is undefined. A positive value moves the camera to the right (clockwise when viewed from above), a negative value to the left. A value of zero does not -cause motion. +cause motion. This is a write-only control. @@ -1698,25 +1698,23 @@ cause motion. This control turns the camera vertically by the specified amount. The unit is undefined. A positive value moves the camera up, a negative value down. A value of -zero does not cause motion. +zero does not cause motion. This is a write-only control. V4L2_CID_PAN_RESET  - boolean - When this control is set -to TRUE (1), the camera moves horizontally to the -default position. + button + When this control is set, +the camera moves horizontally to the default position. V4L2_CID_TILT_RESET  - boolean - When this control is set -to TRUE (1), the camera moves vertically to the -default position. + button + When this control is set, +the camera moves vertically to the default position. @@ -1759,7 +1757,7 @@ negative values towards infinity. This control moves the focal point of the camera by the specified amount. The unit is undefined. Positive values move the focus closer to the camera, -negative values towards infinity. +negative values towards infinity. This is a write-only control. @@ -1787,7 +1785,7 @@ value should be a positive integer. Specify the objective lens focal length relatively to the current value. Positive values move the zoom lens group towards the telephoto direction, negative values towards the -wide-angle direction. The zoom unit is driver-specific. +wide-angle direction. The zoom unit is driver-specific. This is a write-only control. -- cgit v1.2.3