public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* gspca_sunplus: problem with brightness control
@ 2009-08-30  6:22 Németh Márton
  2009-08-31  9:28 ` Jean-Francois Moine
  0 siblings, 1 reply; 3+ messages in thread
From: Németh Márton @ 2009-08-30  6:22 UTC (permalink / raw)
  To: Michel Xhaard; +Cc: V4L Mailing List, Németh Márton

Hi,

I am using a "Trust 610 LCD Powerc@m Zoom" device in webcam mode
(USB ID=06d6:0031). I am running Linux 2.6.31-rc7 updated with the
http://linuxtv.org/hg/v4l-dvb repository at version 12564:6f58a5d8c7c6.

When I start watching to the webcam picture and change the brightness
value then I get the following result. The possible brigthness values
are between 0 and 255.

for i in $(seq 0 255); do echo $i; v4lctl bright $i; done

0: average image
 |
 | lighter images
 v
127: the most light image
 |
 | "jump" in brightness
 v
128: the most dark image
 |
 | lighter images
 v
255: average image

It seems to me that the values 128...255 are really negative numbers, so
the possible range should be between -128...127 (two's complement representation)
in case of this webcam.

Note that the contrast and color controls does not have any jump in
the range 0...255.

Regards,

	Márton Németh

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

end of thread, other threads:[~2009-09-01 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30  6:22 gspca_sunplus: problem with brightness control Németh Márton
2009-08-31  9:28 ` Jean-Francois Moine
2009-09-01 18:40   ` Németh Márton

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