aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/v4l2-controls.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-02-06 10:40:28 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-05 12:12:05 -0500
commit01df530c2791610727e345b3dd97ef75943c7320 (patch)
treec0e6588230df2335afe4ff6a9bd4fc59e635ede2 /include/uapi/linux/v4l2-controls.h
parent5d478e0de87113b9fa6b4021935e605b71e0ee28 (diff)
[media] bttv: convert to the control framework
Note that the private chroma agc control has been replaced with the standard CHROMA_AGC control. Also fixes a mute/automute problem where closing the file handle would force mute on. That's not what you want since that would make the mute state out of sync with the mute control. Instead check against the user count. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/uapi/linux/v4l2-controls.h')
-rw-r--r--include/uapi/linux/v4l2-controls.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index dcd63745e83a..1d00ca9f0ba3 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -146,6 +146,11 @@ enum v4l2_colorfx {
146 * of controls. We reserve 16 controls for this driver. */ 146 * of controls. We reserve 16 controls for this driver. */
147#define V4L2_CID_USER_MEYE_BASE (V4L2_CID_USER_BASE + 0x1000) 147#define V4L2_CID_USER_MEYE_BASE (V4L2_CID_USER_BASE + 0x1000)
148 148
149/* The base for the bttv driver controls.
150 * We reserve 32 controls for this driver. */
151#define V4L2_CID_USER_BTTV_BASE (V4L2_CID_USER_BASE + 0x1010)
152
153
149/* MPEG-class control IDs */ 154/* MPEG-class control IDs */
150 155
151#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) 156#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)