diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2014-08-06 17:50:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 08:31:08 -0200 |
commit | e1b78a335996031fea81d3dcbea9724ed3dd4a80 (patch) | |
tree | 82be03285964934c8562c96b66d1cdcb624a41b8 /drivers/media/usb/uvc/uvcvideo.h | |
parent | 4daee77976718b3e8136e37872d7ad5c36754e25 (diff) | |
download | talos-obmc-linux-e1b78a335996031fea81d3dcbea9724ed3dd4a80.tar.gz talos-obmc-linux-e1b78a335996031fea81d3dcbea9724ed3dd4a80.zip |
[media] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale
This patch adds a quirk to force Y8 pixel format even if the camera reports
half-width YUYV.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r-- | drivers/media/usb/uvc/uvcvideo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h index 864ada740360..2600c9667a64 100644 --- a/drivers/media/usb/uvc/uvcvideo.h +++ b/drivers/media/usb/uvc/uvcvideo.h @@ -148,6 +148,7 @@ #define UVC_QUIRK_PROBE_DEF 0x00000100 #define UVC_QUIRK_RESTRICT_FRAME_RATE 0x00000200 #define UVC_QUIRK_RESTORE_CTRLS_ON_INIT 0x00000400 +#define UVC_QUIRK_FORCE_Y8 0x00000800 /* Format flags */ #define UVC_FMT_FLAG_COMPRESSED 0x00000001 |