diff options
author | Daniel Drake <dsd@laptop.org> | 2010-10-18 17:07:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 11:41:31 -0400 |
commit | dc4589c814a3a50a4cfc2077690fc7fd397308c8 (patch) | |
tree | fd865a08661d7a003969551c8abb849013bcaeb5 | |
parent | 629292522a13b7e7f93ace8a5c79de2812c230a9 (diff) |
[media] ov7670: fix QVGA visible area
The QVGA mode has a green horizontal line on the left hand side, and a red
(or sometimes blue) vertical line at the bottom. Tweak the visible area
to remove them.
Thanks to Mauro for explaining how to fix this.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/ov7670.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index a18dcd05087b..0b78f33a69b4 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c | |||
@@ -675,10 +675,10 @@ static struct ov7670_win_size { | |||
675 | .width = QVGA_WIDTH, | 675 | .width = QVGA_WIDTH, |
676 | .height = QVGA_HEIGHT, | 676 | .height = QVGA_HEIGHT, |
677 | .com7_bit = COM7_FMT_QVGA, | 677 | .com7_bit = COM7_FMT_QVGA, |
678 | .hstart = 164, /* Empirically determined */ | 678 | .hstart = 168, /* Empirically determined */ |
679 | .hstop = 20, | 679 | .hstop = 24, |
680 | .vstart = 14, | 680 | .vstart = 12, |
681 | .vstop = 494, | 681 | .vstop = 492, |
682 | .regs = NULL, | 682 | .regs = NULL, |
683 | }, | 683 | }, |
684 | /* QCIF */ | 684 | /* QCIF */ |