@@ -1860,6 +1860,73 @@ it one step further. This is a write-only control.</entry>
</row>
<row><entry></entry></row>
+ <row id="v4l2-focus-auto-mode-type">
+ <entry spanname="id"><constant>V4L2_CID_FOCUS_AUTO_MODE</constant> </entry>
+ <entry>enum v4l2_focus_auto_mode_type</entry>
+ </row><row><entry spanname="descr">Enables setting modes of
+auto focus. The focus has 5 kinds of mode, and each enumerations express
+current auto focus mode in which the camera is. In the case of
+V4L2_FOCUS_AUTO_RECTANGLE, this control id can be clustered with
+4 control id which means focusing spot expressed by 4 point of rectangle.
+ </entry>
+ </row>
+ <row>
+ <entrytbl spanname="descr" cols="2">
+ <tbody valign="top">
+ <row>
+ <entry><constant>V4L2_FOCUS_AUTO_NORMAL</constant> </entry>
+ <entry>Normal mode Auto focus, single shot.</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_FOCUS_AUTO_MACRO</constant> </entry>
+ <entry>Macro mode Auto focus, single shot.</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_FOCUS_AUTO_CONTINUOUS</constant> </entry>
+ <entry>Continuous mode Auto focus, continuous shot.</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_FOCUS_AUTO_FACE_DETECTION</constant> </entry>
+ <entry>Face detection mode Auto focus, single shot.</entry>
+ </row>
+ <row>
+ <entry><constant>V4L2_FOCUS_AUTO_RECTANGLE</constant> </entry>
+ <entry>Rectangle mode Auto focus, single shot.</entry>
+ </row>
+ </tbody>
+ </entrytbl>
+ </row>
+ <row><entry></entry></row>
+
+ <row>
+ <entry spanname="id"><constant>V4L2_CID_FOCUS_AUTO_RECTANGLE_LEFT</constant> </entry>
+ <entry>integer</entry>
+ </row><row><entry spanname="descr">This control means the left
+side's point of the rectangle expressing focusing spot.</entry>
+ </row>
+ <row><entry></entry></row>
+
+ <entry spanname="id"><constant>V4L2_CID_FOCUS_AUTO_RECTANGLE_TOP</constant> </entry>
+ <entry>integer</entry>
+ </row><row><entry spanname="descr">This control means the top
+side's point of the rectangle expressing focusing spot.</entry>
+ </row>
+ <row><entry></entry></row>
+
+ <entry spanname="id"><constant>V4L2_CID_FOCUS_AUTO_RECTANGLE_WIDTH</constant> </entry>
+ <entry>integer</entry>
+ </row><row><entry spanname="descr">This control means the width
+length of the rectangle expressing focusing spot.</entry>
+ </row>
+ <row><entry></entry></row>
+
+ <entry spanname="id"><constant>V4L2_CID_FOCUS_AUTO_RECTANGLE_HEIGHT</constant> </entry>
+ <entry>integer</entry>
+ </row><row><entry spanname="descr">This control means the height
+length of the rectangle expressing focusing spot.</entry>
+ </row>
+ <row><entry></entry></row>
+
<row>
<entry spanname="id"><constant>V4L2_CID_PRIVACY</constant> </entry>
<entry>boolean</entry>
@@ -1385,6 +1385,14 @@ enum <link linkend="v4l2-exposure-auto-type">v4l2_exposure_auto_type</link> {
#define V4L2_CID_IRIS_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+17)
#define V4L2_CID_IRIS_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+18)
+enum <link linkend="v4l2-focus-auto-mode-type">v4l2_focus_auto_mode_type</link> {
+ V4L2_FOCUS_AUTO_NORMAL = 0,
+ V4L2_FOCUS_AUTO_MACRO = 1,
+ V4L2_FOCUS_AUTO_CONTINUOUS = 2,
+ V4L2_FOCUS_AUTO_FACE_DETECTION = 3,
+ V4L2_FOCUS_AUTO_RECTANGLE = 4
+};
+
/* FM Modulator class control IDs */
#define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900)
#define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)