linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Krufky <mkrufky@m1k.net>
To: Andrew Morton <akpm@osdl.org>
Cc: Mauro Carvalho Chehab <mchehab@brturbo.com.br>,
	Linux and Kernel Video <video4linux-list@redhat.com>,
	trivial@rustcorp.com.au, linux-kernel@vger.kernel.org
Subject: [TRIVIAL PATCH] v4l cx88 hue offset fix
Date: Wed, 29 Jun 2005 22:43:49 -0400	[thread overview]
Message-ID: <42C35C65.8030900@m1k.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: trivial-v4l-cx88-video-hue-offset-fix.patch --]
[-- Type: text/plain, Size: 945 bytes --]

  Changed hue offset to 128 to correct behavior in cx88 cards.
  Previously, setting 0% or 100% hue was required to avoid blue/green
  people on screen.  Now, 50% Hue means no offset, just like bt878 stuff.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>

 cx88-video.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -upr a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
--- a/drivers/media/video/cx88/cx88-video.c	2005-06-29 21:59:40.000000000 -0400
+++ b/drivers/media/video/cx88/cx88-video.c	2005-06-29 21:54:27.000000000 -0400
@@ -268,7 +268,7 @@ static struct cx88_ctrl cx8800_ctls[] = 
 			.default_value = 0,
 			.type          = V4L2_CTRL_TYPE_INTEGER,
 		},
-		.off                   = 0,
+		.off                   = 128,
 		.reg                   = MO_HUE,
 		.mask                  = 0x00ff,
 		.shift                 = 0,

             reply	other threads:[~2005-06-30  2:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30  2:43 Michael Krufky [this message]
2005-06-30 13:49 ` [TRIVIAL PATCH] v4l cx88 hue offset fix Mauro Carvalho Chehab
2005-06-30 16:17   ` [TRIVIAL 2.6.12 / 2.6.13 " Michael Krufky
2005-06-30 19:10     ` Jesper Juhl

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=42C35C65.8030900@m1k.net \
    --to=mkrufky@m1k.net \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@brturbo.com.br \
    --cc=trivial@rustcorp.com.au \
    --cc=video4linux-list@redhat.com \
    /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).