aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@hhs.nl>2008-07-04 17:29:32 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:17:02 -0400
commitab8f12cf8e3d33adec382585f9f60f8686a372c3 (patch)
tree5e788581199b1a8ddeaba222d958a8a77ba84a02 /drivers/media/video/gspca/gspca.h
parent24c530b4abb979f9e79298f0b4c4e83781a0e4c3 (diff)
V4L/DVB (8197): gspca: pac207 frames no more decoded in the subdriver.
videodev2: New pixfmt pac207: Remove the specific decoding. main: get_buff_size operation added for the subdriver. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 0d23e0a90c77..05e8ee06071b 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -80,6 +80,7 @@ typedef void (*cam_pkt_op) (struct gspca_dev *gspca_dev,
80 struct gspca_frame *frame, 80 struct gspca_frame *frame,
81 __u8 *data, 81 __u8 *data,
82 int len); 82 int len);
83typedef int (*cam_get_buff_size_op) (struct gspca_dev *gspca_dev, int mode);
83 84
84struct ctrl { 85struct ctrl {
85 struct v4l2_queryctrl qctrl; 86 struct v4l2_queryctrl qctrl;
@@ -106,6 +107,7 @@ struct sd_desc {
106 cam_jpg_op get_jcomp; 107 cam_jpg_op get_jcomp;
107 cam_jpg_op set_jcomp; 108 cam_jpg_op set_jcomp;
108 cam_qmnu_op querymenu; 109 cam_qmnu_op querymenu;
110 cam_get_buff_size_op get_buff_size; /* optional */
109}; 111};
110 112
111/* packet types when moving from iso buf to frame buf */ 113/* packet types when moving from iso buf to frame buf */