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

* Re: gspca_sunplus: problem with brightness control
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Francois Moine @ 2009-08-31  9:28 UTC (permalink / raw)
  To: Németh Márton; +Cc: Michel Xhaard, V4L Mailing List

On Sun, 30 Aug 2009 08:22:46 +0200
Németh Márton <nm127@freemail.hu> wrote:

> 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.
	[snip]

Hi Márton,

I fixed this problem in my test repository. As I did some other changes
in sunplus.c, may you check if everything works for you?

Regards.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

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

* Re: gspca_sunplus: problem with brightness control
  2009-08-31  9:28 ` Jean-Francois Moine
@ 2009-09-01 18:40   ` Németh Márton
  0 siblings, 0 replies; 3+ messages in thread
From: Németh Márton @ 2009-09-01 18:40 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: Michel Xhaard, V4L Mailing List

Hi,

Jean-Francois Moine wrote:
> On Sun, 30 Aug 2009 08:22:46 +0200
> Németh Márton <nm127@freemail.hu> wrote:
> 
>> 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.
> 	[snip]
>
> I fixed this problem in my test repository. As I did some other changes
> in sunplus.c, may you check if everything works for you?

I tested the version "12663:7f68f4e03299" from
http://linuxtv.org/hg/~jfrancois/gspca/ . The picture is still OK, the
brightness, contrast and color contrast are working correctly now as
expected. I have done the tests with "Trust 610 LCD Powerc@m Zoom" device
in webcam mode (USB ID=06d6:0031).

Thank you for your work!

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