summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/se401.c
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@hhs.nl>2008-09-04 21:22:56 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-04 21:22:56 +0200
commitbf2a2202f75cda679303f09d150f9549f9835953 (patch)
tree5f5d6b2466e573b920fffa83c5d3eff1f59346d1 /drivers/media/video/se401.c
parentV4L/DVB (8869): gspca: Move the Sonix webcams with TAS5110C1B from sn9c102 to... (diff)
downloadlinux-bf2a2202f75cda679303f09d150f9549f9835953.tar.xz
linux-bf2a2202f75cda679303f09d150f9549f9835953.zip
V4L/DVB (8870): gspca: Fix dark room problem with sonixb.
When using the sonixb driver in a dark room and given that the autoexposure algorithm starts with a setting most suitable for daylight, the picture produced by the cam may actually be 100% black leading to a avg_lum value of 0, so an avg_lum value of 0 does not always signal an exposure settings change (which it normally does). This patch adds a check for the really black image case and stops dropping all frames as invalid in this case. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/se401.c')
0 files changed, 0 insertions, 0 deletions