aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2012-04-16 09:45:44 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 13:28:19 -0400
commit0bf6b7dc5fd1e60e93657d4fe4b3d788216b9d5e (patch)
tree7fc860e2ee33601d4e2c5a478e0327b8e49538a6 /include/linux/videodev2.h
parentcf072139c7952e267a2eff334f224a62c949ee96 (diff)
[media] V4L: Add camera scene mode control
Add control for the scene mode feature available in image sensor with more advanced ISP firmware. The V4L2_CID_SCENE_MODE menu control allows to select a set of parameters or a specific image processing and capture control algorithm optimized for common image capture conditions. Signed-off-by: HeungJun Kim <riverful.kim@samsung.com> 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.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index a3e47ad60a6d..092bf5aaf348 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1740,6 +1740,24 @@ enum v4l2_exposure_metering {
1740 V4L2_EXPOSURE_METERING_SPOT = 2, 1740 V4L2_EXPOSURE_METERING_SPOT = 2,
1741}; 1741};
1742 1742
1743#define V4L2_CID_SCENE_MODE (V4L2_CID_CAMERA_CLASS_BASE+26)
1744enum v4l2_scene_mode {
1745 V4L2_SCENE_MODE_NONE = 0,
1746 V4L2_SCENE_MODE_BACKLIGHT = 1,
1747 V4L2_SCENE_MODE_BEACH_SNOW = 2,
1748 V4L2_SCENE_MODE_CANDLE_LIGHT = 3,
1749 V4L2_SCENE_MODE_DAWN_DUSK = 4,
1750 V4L2_SCENE_MODE_FALL_COLORS = 5,
1751 V4L2_SCENE_MODE_FIREWORKS = 6,
1752 V4L2_SCENE_MODE_LANDSCAPE = 7,
1753 V4L2_SCENE_MODE_NIGHT = 8,
1754 V4L2_SCENE_MODE_PARTY_INDOOR = 9,
1755 V4L2_SCENE_MODE_PORTRAIT = 10,
1756 V4L2_SCENE_MODE_SPORTS = 11,
1757 V4L2_SCENE_MODE_SUNSET = 12,
1758 V4L2_SCENE_MODE_TEXT = 13,
1759};
1760
1743/* FM Modulator class control IDs */ 1761/* FM Modulator class control IDs */
1744#define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900) 1762#define V4L2_CID_FM_TX_CLASS_BASE (V4L2_CTRL_CLASS_FM_TX | 0x900)
1745#define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1) 1763#define V4L2_CID_FM_TX_CLASS (V4L2_CTRL_CLASS_FM_TX | 1)