]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 24 Apr 2015 07:04:04 +0000 (04:04 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 30 May 2015 14:48:09 +0000 (11:48 -0300)
commit0a6867700a17d56c9a35dcadaefb182e217cb86d
treee566ae1e29e1c94d97a424c5a1982c973c81bad1
parent1e5ed8789544c4015672602fd630f4ebfa96113b
[media] gspca: sn9c2028: Add gain and autogain controls Genius Videocam Live v2

Autogain algorithm is very simple, if average luminance is low - increase gain,
if it's high - decrease gain. Gain granularity is low enough for this algo to
stabilize quickly.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/gspca/sn9c2028.c
drivers/media/usb/gspca/sn9c2028.h