This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-dvb.git tree:

Subject: V4L/DVB: gspca - gl860: use of real resolutions for MI2020 sensor
Author:  Olivier Lorin <[email protected]>
Date:    Thu Jun 24 04:30:05 2010 -0300

- 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 <[email protected]>
Signed-off-by: Jean-François Moine <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/gspca/gl860/gl860.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=0559984b6939fecdc26c724dfcbbd17974588955

diff --git a/drivers/media/video/gspca/gl860/gl860.c 
b/drivers/media/video/gspca/gl860/gl860.c
index 61319fa..e86eb8b 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[] = {
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 0
        },
-       { 800,  600, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
+       { 800,  598, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
                .bytesperline = 800,
-               .sizeimage = 800 * 600,
+               .sizeimage = 800 * 598,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 1
        },
@@ -231,9 +231,9 @@ static struct v4l2_pix_format mi2020_mode[] = {
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 2
        },
-       {1600, 1200, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
+       {1600, 1198, V4L2_PIX_FMT_SGBRG8, V4L2_FIELD_NONE,
                .bytesperline = 1600,
-               .sizeimage = 1600 * 1200,
+               .sizeimage = 1600 * 1198,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 3
        },

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to