aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gl860/gl860.c
diff options
context:
space:
mode:
authorOlivier Lorin <o.lorin@laposte.net>2010-06-24 03:30:05 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 13:50:24 -0400
commitbff7e839da4bdc344ec789bf8ae903dfc4db20c1 (patch)
treece7ff34d1ab48a59815d0a716b33059674566d63 /drivers/media/video/gspca/gl860/gl860.c
parentf980f5d2a45ef1812933d52361aefd50f01e2193 (diff)
V4L/DVB: gspca - gl860: use of real resolutions for MI2020 sensor
- Change of rounded image resolutions to the real ones for MI2020 sensor in order to discard 2 random lines in the bottom of images Signed-off-by: Olivier Lorin <o.lorin@laposte.net> Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gl860/gl860.c')
-rw-r--r--drivers/media/video/gspca/gl860/gl860.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c
index 61319fa0d4e0..e86eb8b4aedc 100644
--- a/drivers/media/video/gspca/gl860/gl860.c
+++ b/drivers/media/video/gspca/gl860/gl860.c
@@ -219,9 +219,9 @@ static struct v4l2_pix_format mi2020_mode[] = {
219 .colorspace = V4L2_COLORSPACE_SRGB, 219 .colorspace = V4L2_COLORSPACE_SRGB,
220 .priv = 0 220 .priv = 0
221 }, 221 },
222 { 800, 600, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, 222 { 800, 598, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
223 .bytesperline = 800, 223 .bytesperline = 800,
224 .sizeimage = 800 * 600, 224 .sizeimage = 800 * 598,
225 .colorspace = V4L2_COLORSPACE_SRGB, 225 .colorspace = V4L2_COLORSPACE_SRGB,
226 .priv = 1 226 .priv = 1
227 }, 227 },
@@ -231,9 +231,9 @@ static struct v4l2_pix_format mi2020_mode[] = {
231 .colorspace = V4L2_COLORSPACE_SRGB, 231 .colorspace = V4L2_COLORSPACE_SRGB,
232 .priv = 2 232 .priv = 2
233 }, 233 },
234 {1600, 1200, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE, 234 {1600, 1198, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
235 .bytesperline = 1600, 235 .bytesperline = 1600,
236 .sizeimage = 1600 * 1200, 236 .sizeimage = 1600 * 1198,
237 .colorspace = V4L2_COLORSPACE_SRGB, 237 .colorspace = V4L2_COLORSPACE_SRGB,
238 .priv = 3 238 .priv = 3
239 }, 239 },