diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-05 10:49:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:17:15 -0400 |
commit | c2446b3eba97243acbe2ad0939a28b5edb97eae7 (patch) | |
tree | f7ff764cf48062c4ef7c243205b85ae73d69763e /drivers/media/video/gspca/stk014.c | |
parent | efab8211db79d20032fa7d09b8a3671e68a9c5b9 (diff) |
V4L/DVB (8201): gspca: v4l2_pix_format in each subdriver.
main: Parameter comp_fac removed.
main, pac207:
get_buff_size op removed.
(all) v4l2_pix_format in each subdriver.
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/stk014.c')
-rw-r--r-- | drivers/media/video/gspca/stk014.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/drivers/media/video/gspca/stk014.c b/drivers/media/video/gspca/stk014.c index ad59c5ab5d90..d676cd16aa74 100644 --- a/drivers/media/video/gspca/stk014.c +++ b/drivers/media/video/gspca/stk014.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include "gspca.h" | 23 | #include "gspca.h" |
24 | #include "jpeg.h" | 24 | #include "jpeg.h" |
25 | 25 | ||
26 | #define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 1, 4) | 26 | #define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 1, 5) |
27 | static const char version[] = "2.1.4"; | 27 | static const char version[] = "2.1.5"; |
28 | 28 | ||
29 | MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>"); | 29 | MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>"); |
30 | MODULE_DESCRIPTION("Syntek DV4000 (STK014) USB Camera Driver"); | 30 | MODULE_DESCRIPTION("Syntek DV4000 (STK014) USB Camera Driver"); |
@@ -112,9 +112,17 @@ static struct ctrl sd_ctrls[] = { | |||
112 | }, | 112 | }, |
113 | }; | 113 | }; |
114 | 114 | ||
115 | static struct cam_mode vga_mode[] = { | 115 | static struct v4l2_pix_format vga_mode[] = { |
116 | {V4L2_PIX_FMT_JPEG, 320, 240}, | 116 | {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, |
117 | {V4L2_PIX_FMT_JPEG, 640, 480}, | 117 | .bytesperline = 320, |
118 | .sizeimage = 320 * 240 * 3 / 8 + 590, | ||
119 | .colorspace = V4L2_COLORSPACE_JPEG, | ||
120 | .priv = 1}, | ||
121 | {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, | ||
122 | .bytesperline = 640, | ||
123 | .sizeimage = 640 * 480 * 3 / 8 + 590, | ||
124 | .colorspace = V4L2_COLORSPACE_JPEG, | ||
125 | .priv = 0}, | ||
118 | }; | 126 | }; |
119 | 127 | ||
120 | /* -- read a register -- */ | 128 | /* -- read a register -- */ |