V4L/DVB (9898): v4l2: Add privacy control
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sun, 14 Dec 2008 19:22:05 +0000 (16:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:10 +0000 (09:39 -0200)
The privacy control prevents video from being acquired by the camera. A true
value indicates that no image can be captured. Devices that implement the
privacy control must support read access and may support write access.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/linux/videodev2.h

index e450a92a622b0c5106cbb9591acc9f2e4ea293d1..6e6743bd0f92274818099917b041a0be3b9855df 100644 (file)
@@ -1122,6 +1122,8 @@ enum  v4l2_exposure_auto_type {
 #define V4L2_CID_ZOOM_RELATIVE                 (V4L2_CID_CAMERA_CLASS_BASE+14)
 #define V4L2_CID_ZOOM_CONTINUOUS               (V4L2_CID_CAMERA_CLASS_BASE+15)
 
+#define V4L2_CID_PRIVACY                       (V4L2_CID_CAMERA_CLASS_BASE+16)
+
 /*
  *     T U N I N G
  */