summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb/cxusb.h
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-04-29 19:16:59 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-28 23:04:44 +0300
commitead14a70754f8d7f5dbcb0553c7f11eb0fc4a6ac (patch)
tree9e22f71d842388dc8a83a8bc8adb3d678ea0164b /drivers/media/usb/dvb-usb/cxusb.h
parente478d40540544e229c843fe0c698ebc7d0ca07e6 (diff)
downloadlinux-ead14a70754f8d7f5dbcb0553c7f11eb0fc4a6ac.tar.xz
media: cxusb: add raw mode support for Medion MD95700
This adds raw (unprocessed) BT.656 stream capturing support for the analog part of Medion 95700. It can be enabled by setting CXUSB_EXTENDEDMODE_CAPTURE_RAW flag in parm.capture.extendedmode passed to VIDIOC_S_PARM. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb/cxusb.h')
-rw-r--r--drivers/media/usb/dvb-usb/cxusb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb/cxusb.h b/drivers/media/usb/dvb-usb/cxusb.h
index 9636f9575e58..35e72f571a2c 100644
--- a/drivers/media/usb/dvb-usb/cxusb.h
+++ b/drivers/media/usb/dvb-usb/cxusb.h
@@ -131,6 +131,7 @@ struct cxusb_medion_dev {
bool stop_streaming;
u32 width, height;
u32 field_order;
+ bool raw_mode;
struct cxusb_medion_auxbuf auxbuf;
v4l2_std_id norm;
@@ -154,6 +155,9 @@ struct cxusb_medion_vbuffer {
struct list_head list;
};
+/* Capture streaming parameters extendedmode field flags */
+#define CXUSB_EXTENDEDMODE_CAPTURE_RAW 1
+
/* defines for "debug" module parameter */
#define CXUSB_DBG_RC BIT(0)
#define CXUSB_DBG_I2C BIT(1)