public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: javier Martin <javier.martin@vista-silicon.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [Q] ov7670: green line in VGA resolution
Date: Mon, 19 Mar 2012 11:44:41 -0600	[thread overview]
Message-ID: <20120319114441.5c64574f@dt> (raw)
In-Reply-To: <CACKLOr28ECqBhTkMsd=6vSOMPZk2DgbRFWZOZXH39omQRP0fcA@mail.gmail.com>

On Mon, 19 Mar 2012 17:27:06 +0100
javier Martin <javier.martin@vista-silicon.com> wrote:

> I suspect the problem is related to the fact that this sensor has an
> array of 656 x 488 pixels but only 640 x 480 are active. The datasheet
> available from Omnivision (Version 1.4, August 21, 2006) is not clear
> about how to configure the sensor not to show non active pixels but I
> could find the following patch which addresses a similar problem for
> QVGA:

Interesting...nobody ever sent that patch anywhere where I've seen it.

Anyway, the ov7670 datasheet is not clear on much of anything, and the
things it *is* clear on are likely to be wrong.

The comment in the patch makes it clear how this was worked out, anyway:
"empirically determined."  Unless you can get through to the one person at
OmniVision who knows how this sensor actually works, the best that can be
done is to mess with the values for the window.  That's often done at both
the sensor and the controller level - if you look at the Marvell
controller, you'll see window tweaking there too.

jon

  reply	other threads:[~2012-03-19 17:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 16:27 [Q] ov7670: green line in VGA resolution javier Martin
2012-03-19 17:44 ` Jonathan Corbet [this message]
2012-03-20  8:42   ` javier Martin
2012-03-20 13:08     ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120319114441.5c64574f@dt \
    --to=corbet@lwn.net \
    --cc=javier.martin@vista-silicon.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox