public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/media/video/saa7115.c misreports max. value of contrast and saturation
@ 2006-02-15  5:19 Kyler Laird
  2006-03-08 21:19 ` Adrian Bunk
  0 siblings, 1 reply; 6+ messages in thread
From: Kyler Laird @ 2006-02-15  5:19 UTC (permalink / raw)
  To: linux-kernel

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.

Please copy me on responses.

Thank you.

--kyler


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-09  0:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-03-09  0:21       ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox