public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Kyler Laird <kyler-keyword-lkml00.e701c2@lairds.com>,
	linux-kernel@vger.kernel.org, v4l-dvb-maintainer@linuxtv.org
Subject: Re: drivers/media/video/saa7115.c misreports max. value of contrast and saturation
Date: Thu, 9 Mar 2006 00:46:26 +0100	[thread overview]
Message-ID: <20060308234626.GV4006@stusta.de> (raw)
In-Reply-To: <1141858063.3133.2.camel@praia>

On Wed, Mar 08, 2006 at 07:47:43PM -0300, Mauro Carvalho Chehab wrote:
> Adrian,
> 
> 
> Em Qua, 2006-03-08 às 22:19 +0100, Adrian Bunk escreveu:
> > On Wed, Feb 15, 2006 at 12:19:08AM -0500, Kyler Laird wrote:
> > 
> > > For changes to V4L2_CID_CONTRAST and V4L2_CID_SATURATION, the value is
> > > checked by "if (ctrl->value < 0 || ctrl->value > 127)" yet the maximum
> > > value in v4l2_queryctrl is set to 255 for both of these items.  This
> > > means that programs (like MythTV) which set the contrast and saturation
> > > to the midvalue (127) get *full* contrast and saturation.  (It's not
> > > pretty.)
> > > 
> > > Setting the maximum values to 127 solves this problem.
> > 
> > Mauro, can you comment on this issue?
> Yes. Patch is already available at both git and mercurial trees, fixing
> it for saa7115 and cx25840:
> 
> http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=b77c2f933b620bccaa751d556c1aa2fca30de7ec;style=gitweb

This patch seems to be 2.1.16 stuff?

> Cheers, 
> Mauro.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2006-03-08 23:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15  5:19 drivers/media/video/saa7115.c misreports max. value of contrast and saturation Kyler Laird
2006-03-08 21:19 ` Adrian Bunk
2006-03-08 21:42   ` [v4l-dvb-maintainer] " Hans Verkuil
2006-03-08 22:47   ` Mauro Carvalho Chehab
2006-03-08 23:46     ` Adrian Bunk [this message]
2006-03-09  0:21       ` Mauro Carvalho Chehab

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=20060308234626.GV4006@stusta.de \
    --to=bunk@stusta.de \
    --cc=kyler-keyword-lkml00.e701c2@lairds.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=v4l-dvb-maintainer@linuxtv.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