diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-01-18 16:00:07 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-01-18 16:00:07 +0100 |
commit | d782a8992de461ff07995dfee871d79cedb2e02b (patch) | |
tree | 472fa740442f39879f284bbc3631ca56cf2567c5 /v4l2-spec | |
parent | 9350faa14070f543a22f0df4591439e5008e1ad0 (diff) | |
download | mediapointer-dvb-s2-d782a8992de461ff07995dfee871d79cedb2e02b.tar.gz mediapointer-dvb-s2-d782a8992de461ff07995dfee871d79cedb2e02b.tar.bz2 |
v4l2-spec: document zoom and privacy controls
From: Laurent Pinchart <laurent.pinchart@skynet.be>
Priority: normal
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-spec')
-rw-r--r-- | v4l2-spec/compat.sgml | 7 | ||||
-rw-r--r-- | v4l2-spec/controls.sgml | 43 | ||||
-rw-r--r-- | v4l2-spec/v4l2.sgml | 4 |
3 files changed, 53 insertions, 1 deletions
diff --git a/v4l2-spec/compat.sgml b/v4l2-spec/compat.sgml index c60af84cc..161da3161 100644 --- a/v4l2-spec/compat.sgml +++ b/v4l2-spec/compat.sgml @@ -2264,6 +2264,13 @@ was introduced in its place.</para> <constant>V4L2_PIX_FMT_NV16</constant> and <constant>V4L2_PIX_FMT_NV61</constant> were added.</para> </listitem> + <listitem> + <para>Added camera controls +<constant>V4L2_CID_ZOOM_ABSOLUTE</constant>, +<constant>V4L2_CID_ZOOM_RELATIVE</constant>, +<constant>V4L2_CID_ZOOM_CONTINUOUS</constant> and +<constant>V4L2_CID_PRIVACY</constant>.</para> + </listitem> </orderedlist> </section> </section> diff --git a/v4l2-spec/controls.sgml b/v4l2-spec/controls.sgml index b7d6b8363..52dd19bcf 100644 --- a/v4l2-spec/controls.sgml +++ b/v4l2-spec/controls.sgml @@ -1742,6 +1742,49 @@ adjustments. The effect of manual focus adjustments while this feature is enabled is undefined, drivers should ignore such requests.</entry> </row> <row><entry></entry></row> + + <row> + <entry spanname="id"><constant>V4L2_CID_ZOOM_ABSOLUTE</constant> </entry> + <entry>integer</entry> + </row><row><entry spanname="descr">Specify the objective lens +focal length as an absolute value. The zoom unit is driver-specific and its +value should be a positive integer.</entry> + </row> + <row><entry></entry></row> + + <row> + <entry spanname="id"><constant>V4L2_CID_ZOOM_RELATIVE</constant> </entry> + <entry>integer</entry> + </row><row><entry spanname="descr">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.</entry> + </row> + <row><entry></entry></row> + + <row> + <entry spanname="id"><constant>V4L2_CID_ZOOM_CONTINUOUS</constant> </entry> + <entry>integer</entry> + </row><row><entry spanname="descr">Move the objective lens group +at the specified speed until it reaches physical device limits or until an +explicit request to stop the movement. A positive value moves the zoom lens +group towards the telephoto direction. A value of zero stops the zoom lens +group movement. A negative value moves the zoom lens group towards the +wide-angle direction. The zoom speed unit is driver-specific.</entry> + </row> + <row><entry></entry></row> + + <row> + <entry spanname="id"><constant>V4L2_CID_PRIVACY</constant> </entry> + <entry>boolean</entry> + </row><row><entry spanname="descr">Prevent video from being acquired +by the camera. When this control is set to <constant>TRUE</constant> (1), no +image can be captured by the camera. Common means to enforce privacy are +mechanical obturation of the sensor and firmware image processing, but the +device is not restricted to these methods. Devices that implement the privacy +control must support read access and may support write access.</entry> + </row> + <row><entry></entry></row> </tbody> </tgroup> </table> diff --git a/v4l2-spec/v4l2.sgml b/v4l2-spec/v4l2.sgml index 782ccc36a..307180eec 100644 --- a/v4l2-spec/v4l2.sgml +++ b/v4l2-spec/v4l2.sgml @@ -123,7 +123,9 @@ applications. --> <date>2009-01-18</date> <authorinitials>hv</authorinitials> <revremark>Added pixel formats VYUY, NV16 and NV61, and changed -the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT.</revremark> +the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT. +Added camera controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE, +V4L2_CID_ZOOM_CONTINUOUS and V4L2_CID_PRIVACY.</revremark> </revision> <revision> |