From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: How do private controls actually work?
Date: Tue, 02 Mar 2010 18:23:26 -0300 [thread overview]
Message-ID: <4B8D81CE.4070201@redhat.com> (raw)
In-Reply-To: <829197381003021242p1ae9d91ek68e2c063024d316@mail.gmail.com>
Devin Heitmueller wrote:
> On Tue, Mar 2, 2010 at 3:28 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:
> I had some extended discussion with Mauro on this yesterday on
> #linuxtv, and he is now in favor of introducing a standard user
===
> control for chroma gain, as opposed to doing a private control at all.
To be clear: I was never against ;)
It is worthy to summarize the discussions we have and the rationale to
create another control for it.
I've checked the datasheets of some chipsets, and the chroma gain is
different than the saturation control: the gain control (chroma or luma)
are applied at the analog input (or analog input samples) before the color
decoding, while the saturation is applied to the U/V output levels (some
datasheets call it as U/V output gain - causing some mess on the interpretation
of this value).
Also, saa7134 code as already some code to control the chroma gain. The driver
currently just puts some default value there, enabling AGC for PAL/NTSC and
disabling it for SECAM - but - as we have already troubles with AGC with cx88
and saa711x, I don't doubt that we may need to add the control logic there
to solve the same kind of trouble with composite/svideo inputs and some sources
that has a very high gain at the U/V level.
So, this control is not private to saa711x chipsets, but this control is also
present on other devices as well.
The API spec patch should clearly state that Saturation is for the U/V output
level, while gain is for the analog input gain.
--
Cheers,
Mauro
next prev parent reply other threads:[~2010-03-02 21:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 2:56 How do private controls actually work? Devin Heitmueller
2010-03-01 8:57 ` Laurent Pinchart
2010-03-01 9:07 ` Devin Heitmueller
2010-03-01 9:58 ` Hans Verkuil
2010-03-01 10:20 ` Devin Heitmueller
2010-03-01 11:18 ` Hans Verkuil
2010-03-01 22:29 ` Mauro Carvalho Chehab
2010-03-02 20:28 ` Hans Verkuil
2010-03-02 20:42 ` Devin Heitmueller
2010-03-02 20:56 ` Hans Verkuil
2010-03-02 21:23 ` Mauro Carvalho Chehab [this message]
2010-03-03 1:57 ` Andy Walls
2010-03-03 3:25 ` Mauro Carvalho Chehab
2010-03-01 11:47 ` Andy Walls
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=4B8D81CE.4070201@redhat.com \
--to=mchehab@redhat.com \
--cc=dheitmueller@kernellabs.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.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