aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 3cd13b2faab..0ae6eb2fb1f 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1140,6 +1140,7 @@ struct v4l2_ext_controls {
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#define V4L2_CTRL_CLASS_IMAGE_SOURCE 0x009e0000 /* Image source controls */
1143#define V4L2_CTRL_CLASS_IMAGE_PROC 0x009f0000 /* Image processing controls */
1143 1144
1144#define V4L2_CTRL_ID_MASK (0x0fffffff) 1145#define V4L2_CTRL_ID_MASK (0x0fffffff)
1145#define V4L2_CTRL_ID2CLASS(id) ((id) & 0x0fff0000UL) 1146#define V4L2_CTRL_ID2CLASS(id) ((id) & 0x0fff0000UL)
@@ -1797,6 +1798,13 @@ enum v4l2_jpeg_chroma_subsampling {
1797#define V4L2_CID_HBLANK (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 2) 1798#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#define V4L2_CID_ANALOGUE_GAIN (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 3)
1799 1800
1801/* Image processing controls */
1802#define V4L2_CID_IMAGE_PROC_CLASS_BASE (V4L2_CTRL_CLASS_IMAGE_PROC | 0x900)
1803#define V4L2_CID_IMAGE_PROC_CLASS (V4L2_CTRL_CLASS_IMAGE_PROC | 1)
1804
1805#define V4L2_CID_LINK_FREQ (V4L2_CID_IMAGE_PROC_CLASS_BASE + 1)
1806#define V4L2_CID_PIXEL_RATE (V4L2_CID_IMAGE_PROC_CLASS_BASE + 2)
1807
1800/* 1808/*
1801 * T U N I N G 1809 * T U N I N G
1802 */ 1810 */