From 4484d72262532de4b0332a7ac331035e8f07297d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 16 Sep 2009 11:02:15 -0300 Subject: v4l2-spec: Remove duplicated xml files From: Mauro Carvalho Chehab Instead of having its own version, use the one at kernel docs. Priority: normal Signed-off-by: Mauro Carvalho Chehab --- v4l2-spec/vidioc-g-ctrl.sgml | 130 ------------------------------------------- 1 file changed, 130 deletions(-) delete mode 100644 v4l2-spec/vidioc-g-ctrl.sgml (limited to 'v4l2-spec/vidioc-g-ctrl.sgml') diff --git a/v4l2-spec/vidioc-g-ctrl.sgml b/v4l2-spec/vidioc-g-ctrl.sgml deleted file mode 100644 index 8b5e6ff7f..000000000 --- a/v4l2-spec/vidioc-g-ctrl.sgml +++ /dev/null @@ -1,130 +0,0 @@ - - - ioctl VIDIOC_G_CTRL, VIDIOC_S_CTRL - &manvol; - - - - VIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control - - - - - - int ioctl - int fd - int request - struct v4l2_control -*argp - - - - - - Arguments - - - - fd - - &fd; - - - - request - - VIDIOC_G_CTRL, VIDIOC_S_CTRL - - - - argp - - - - - - - - - Description - - To get the current value of a control applications -initialize the id field of a struct -v4l2_control and call the -VIDIOC_G_CTRL ioctl with a pointer to this -structure. To change the value of a control applications initialize -the id and value -fields of a struct v4l2_control and call the -VIDIOC_S_CTRL ioctl. - - When the id is invalid drivers -return an &EINVAL;. When the value is out -of bounds drivers can choose to take the closest valid value or return -an &ERANGE;, whatever seems more appropriate. However, -VIDIOC_S_CTRL is a write-only ioctl, it does not -return the actual new value. - - These ioctls work only with user controls. For other -control classes the &VIDIOC-G-EXT-CTRLS;, &VIDIOC-S-EXT-CTRLS; or -&VIDIOC-TRY-EXT-CTRLS; must be used. - - - struct <structname>v4l2_control</structname> - - &cs-str; - - - __u32 - id - Identifies the control, set by the -application. - - - __s32 - value - New value or current value. - - - -
-
- - - &return-value; - - - - EINVAL - - The &v4l2-control; id is -invalid. - - - - ERANGE - - The &v4l2-control; value -is out of bounds. - - - - EBUSY - - The control is temporarily not changeable, possibly -because another applications took over control of the device function -this control belongs to. - - - - -
- - -- cgit v1.2.3