public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Németh Márton" <nm127@freemail.hu>
To: Michel Xhaard <mxhaard@users.sourceforge.net>
Cc: "V4L Mailing List" <linux-media@vger.kernel.org>,
	"Németh Márton" <nm127@freemail.hu>
Subject: gspca_sunplus: problem with brightness control
Date: Sun, 30 Aug 2009 08:22:46 +0200	[thread overview]
Message-ID: <4A9A1AB6.2050801@freemail.hu> (raw)

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

             reply	other threads:[~2009-08-30  6:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30  6:22 Németh Márton [this message]
2009-08-31  9:28 ` gspca_sunplus: problem with brightness control Jean-Francois Moine
2009-09-01 18:40   ` Németh Márton

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=4A9A1AB6.2050801@freemail.hu \
    --to=nm127@freemail.hu \
    --cc=linux-media@vger.kernel.org \
    --cc=mxhaard@users.sourceforge.net \
    /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