Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc4589c8 authored by Daniel Drake's avatar Daniel Drake Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarDaniel Drake <dsd@laptop.org>
Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 62929252
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -675,10 +675,10 @@ static struct ov7670_win_size {
		.width		= QVGA_WIDTH,
		.width		= QVGA_WIDTH,
		.height		= QVGA_HEIGHT,
		.height		= QVGA_HEIGHT,
		.com7_bit	= COM7_FMT_QVGA,
		.com7_bit	= COM7_FMT_QVGA,
		.hstart		= 164,		/* Empirically determined */
		.hstart		= 168,		/* Empirically determined */
		.hstop		=  20,
		.hstop		=  24,
		.vstart		=  14,
		.vstart		=  12,
		.vstop		= 494,
		.vstop		= 492,
		.regs 		= NULL,
		.regs 		= NULL,
	},
	},
	/* QCIF */
	/* QCIF */