]> 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)
commitdb26314d7d116be8c44e742c78465d84f2c58de9
treee566ae1e29e1c94d97a424c5a1982c973c81bad1
parentc50aa5d54e964dee334b61996f96d54a02df0168
[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