diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-04-30 03:34:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-14 13:24:24 -0400 |
commit | cf072139c7952e267a2eff334f224a62c949ee96 (patch) | |
tree | 9e793840d43b70152f506a43fe7e06ee97e7f524 /include/linux/videodev2.h | |
parent | 7f84ad8bdb63a8bfcbb83755e487e06be5db54cf (diff) |
[media] V4L: Add camera exposure metering control
The V4L2_CID_EXPOSURE_METERING control allows to determine
a method used by the camera for measuring the amount of light
available for automatic exposure.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 593a1bd33111..a3e47ad60a6d 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -1733,6 +1733,13 @@ enum v4l2_iso_sensitivity_auto_type { | |||
1733 | V4L2_ISO_SENSITIVITY_AUTO = 1, | 1733 | V4L2_ISO_SENSITIVITY_AUTO = 1, |
1734 | }; | 1734 | }; |
1735 | 1735 | ||
1736 | #define V4L2_CID_EXPOSURE_METERING (V4L2_CID_CAMERA_CLASS_BASE+25) | ||
1737 | enum v4l2_exposure_metering { | ||
1738 | V4L2_EXPOSURE_METERING_AVERAGE = 0, | ||
1739 | V4L2_EXPOSURE_METERING_CENTER_WEIGHTED = 1, | ||
1740 | V4L2_EXPOSURE_METERING_SPOT = 2, | ||
1741 | }; | ||
1742 | |||
1736 | /* FM Modulator class control IDs */ | 1743 | /* FM Modulator class control IDs */ |
1737 | #define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900) | 1744 | #define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900) |
1738 | #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1) | 1745 | #define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1) |