diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-04 20:29:32 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-07-04 20:29:32 +0200 |
commit | 436a0b366ed3b6fa7f8e4e93e9c80026f03fc2e6 (patch) | |
tree | b5688eedb5bdca5506fb44e0ca2d2ee7558596e3 /linux/drivers/media/video/gspca/gspca.h | |
parent | 468bba9e5710556d9d8d10a535ffefdfa346226e (diff) | |
download | mediapointer-dvb-s2-436a0b366ed3b6fa7f8e4e93e9c80026f03fc2e6.tar.gz mediapointer-dvb-s2-436a0b366ed3b6fa7f8e4e93e9c80026f03fc2e6.tar.bz2 |
gspca: pac207 frames no more decoded in the subdriver.
From: Hans de Goede <j.w.r.degoede@hhs.nl>
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>
Diffstat (limited to 'linux/drivers/media/video/gspca/gspca.h')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.h b/linux/drivers/media/video/gspca/gspca.h index 0d23e0a90..05e8ee060 100644 --- a/linux/drivers/media/video/gspca/gspca.h +++ b/linux/drivers/media/video/gspca/gspca.h @@ -80,6 +80,7 @@ typedef void (*cam_pkt_op) (struct gspca_dev *gspca_dev, struct gspca_frame *frame, __u8 *data, int len); +typedef int (*cam_get_buff_size_op) (struct gspca_dev *gspca_dev, int mode); struct ctrl { struct v4l2_queryctrl qctrl; @@ -106,6 +107,7 @@ struct sd_desc { cam_jpg_op get_jcomp; cam_jpg_op set_jcomp; cam_qmnu_op querymenu; + cam_get_buff_size_op get_buff_size; /* optional */ }; /* packet types when moving from iso buf to frame buf */ |