aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/videodev2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index ace8ac000b9b..3cd13b2faab5 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1139,6 +1139,7 @@ struct v4l2_ext_controls {
1139#define V4L2_CTRL_CLASS_FM_TX 0x009b0000 /* FM Modulator control class */ 1139#define V4L2_CTRL_CLASS_FM_TX 0x009b0000 /* FM Modulator control class */
1140#define V4L2_CTRL_CLASS_FLASH 0x009c0000 /* Camera flash controls */ 1140#define V4L2_CTRL_CLASS_FLASH 0x009c0000 /* Camera flash controls */
1141#define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */ 1141#define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
1142#define V4L2_CTRL_CLASS_IMAGE_SOURCE 0x009e0000 /* Image source controls */
1142 1143
1143#define V4L2_CTRL_ID_MASK (0x0fffffff) 1144#define V4L2_CTRL_ID_MASK (0x0fffffff)
1144#define V4L2_CTRL_ID2CLASS(id) ((id) & 0x0fff0000UL) 1145#define V4L2_CTRL_ID2CLASS(id) ((id) & 0x0fff0000UL)
@@ -1788,6 +1789,14 @@ enum v4l2_jpeg_chroma_subsampling {
1788#define V4L2_JPEG_ACTIVE_MARKER_DQT (1 << 17) 1789#define V4L2_JPEG_ACTIVE_MARKER_DQT (1 << 17)
1789#define V4L2_JPEG_ACTIVE_MARKER_DHT (1 << 18) 1790#define V4L2_JPEG_ACTIVE_MARKER_DHT (1 << 18)
1790 1791
1792/* Image source controls */
1793#define V4L2_CID_IMAGE_SOURCE_CLASS_BASE (V4L2_CTRL_CLASS_IMAGE_SOURCE | 0x900)
1794#define V4L2_CID_IMAGE_SOURCE_CLASS (V4L2_CTRL_CLASS_IMAGE_SOURCE | 1)
1795
1796#define V4L2_CID_VBLANK (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 1)
1797#define V4L2_CID_HBLANK (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 2)
1798#define V4L2_CID_ANALOGUE_GAIN (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 3)
1799
1791/* 1800/*
1792 * T U N I N G 1801 * T U N I N G
1793 */ 1802 */