linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: "Frank Schäfer" <fschaefer.oss@googlemail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 2/3] libv4lconvert: pac7302-devices: remove unneeded flag V4LCONTROL_WANTS_WB
Date: Tue, 11 Sep 2012 09:33:34 +0200	[thread overview]
Message-ID: <504EE94E.9050800@redhat.com> (raw)
In-Reply-To: <504E4E83.4050706@googlemail.com>

Hi,

On 09/10/2012 10:33 PM, Frank Schäfer wrote:

<snip>

>>> And if AWB is on, the WB control should be disabled, right ?
>>
>> No, the software AWB works by applying software rgb gains, so the
>> hardware
>> control is still useful, as the better the color balance of the input,
>> the better the end-result will be.
>
> Hmm... auto-whitebalance should compensate the setting made with the
> manual hardware controlled whitebalance.

In an ideal world, yes. But that would only work if we know the exact
units in which the controls operate, and we don't. Also notice that even
if we had some sort of feedback looped software awb algorithm to get
over the units issue, the pac7302 is really funky in that it has both
blue / red balance controls and a color temperature control, so which
of those should such a software awb control ?

> But I guess they are working too differenty.

Right, the advantage of doing software whitebalance using software rgb
gains, is that we know the units of the software gains, so we don't need
a feedback loop, instead we just measure which correction we think we
should apply, and then apply it "blindly" (so without any feedback loop).

Regards,

Hans

  reply	other threads:[~2012-09-11  7:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09 18:36 [PATCH 1/3] libv4lconvert: fix format of the error messages concerning jpeg frame size mismatch Frank Schäfer
2012-09-09 18:36 ` [PATCH 2/3] libv4lconvert: pac7302-devices: remove unneeded flag V4LCONTROL_WANTS_WB Frank Schäfer
2012-09-09 21:24   ` Hans de Goede
2012-09-10 15:41     ` Frank Schäfer
2012-09-10 18:33       ` Hans de Goede
2012-09-10 20:33         ` Frank Schäfer
2012-09-11  7:33           ` Hans de Goede [this message]
2012-09-09 18:36 ` [PATCH 3/3] libv4lconvert: update the list of pac7302 webcams Frank Schäfer
2012-09-09 21:26   ` Hans de Goede
2012-10-09 21:33     ` Robert Abel
2012-09-09 21:21 ` [PATCH 1/3] libv4lconvert: fix format of the error messages concerning jpeg frame size mismatch Hans de Goede

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=504EE94E.9050800@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=fschaefer.oss@googlemail.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;
as well as URLs for NNTP newsgroup(s).