lkml.org 
[lkml]   [2005]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[TRIVIAL PATCH] v4l cx88 hue offset fix

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,
\
 
 \ /
  Last update: 2005-06-30 04:47    [W:0.438 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site