diff options
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index a9b03ae44037..dc3e3ea28f99 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1763,6 +1763,22 @@ enum v4l2_scene_mode { | |||
1763 | #define V4L2_LOCK_WHITE_BALANCE (1 << 1) | 1763 | #define V4L2_LOCK_WHITE_BALANCE (1 << 1) |
1764 | #define V4L2_LOCK_FOCUS (1 << 2) | 1764 | #define V4L2_LOCK_FOCUS (1 << 2) |
1765 | 1765 | ||
1766 | #define V4L2_CID_AUTO_FOCUS_START (V4L2_CID_CAMERA_CLASS_BASE+28) | ||
1767 | #define V4L2_CID_AUTO_FOCUS_STOP (V4L2_CID_CAMERA_CLASS_BASE+29) | ||
1768 | #define V4L2_CID_AUTO_FOCUS_STATUS (V4L2_CID_CAMERA_CLASS_BASE+30) | ||
1769 | #define V4L2_AUTO_FOCUS_STATUS_IDLE (0 << 0) | ||
1770 | #define V4L2_AUTO_FOCUS_STATUS_BUSY (1 << 0) | ||
1771 | #define V4L2_AUTO_FOCUS_STATUS_REACHED (1 << 1) | ||
1772 | #define V4L2_AUTO_FOCUS_STATUS_FAILED (1 << 2) | ||
1773 | |||
1774 | #define V4L2_CID_AUTO_FOCUS_RANGE (V4L2_CID_CAMERA_CLASS_BASE+31) | ||
1775 | enum v4l2_auto_focus_range { | ||
1776 | V4L2_AUTO_FOCUS_RANGE_AUTO = 0, | ||
1777 | V4L2_AUTO_FOCUS_RANGE_NORMAL = 1, | ||
1778 | V4L2_AUTO_FOCUS_RANGE_MACRO = 2, | ||
1779 | V4L2_AUTO_FOCUS_RANGE_INFINITY = 3, | ||
1780 | }; | ||
1781 | |||
1766 | /* FM Modulator class control IDs */ | 1782 | /* FM Modulator class control IDs */ |
1767 | #define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900) | 1783 | #define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900) |
1768 | #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1) | 1784 | #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1) |