]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt9p031: Implement black level compensation control
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 10 Mar 2012 00:02:57 +0000 (21:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 16:37:39 +0000 (13:37 -0300)
commitcd515f00363a73ed7f0f0427519d5d49e527a0ef
tree9aadbdc54c1b716adb4a3d897c627c55d483db20
parent6c91dd8e0f40f0d068ec74be45bc826debebc3b9
[media] mt9p031: Implement black level compensation control

Add four new controls to configure black level compensation (BLC):

- V4L2_CID_BLC_AUTO selects between manual and auto BLC
- V4L2_CID_BLC_TARGET_LEVEL sets the target level for auto BLC
- V4L2_CID_BLC_ANALOG_OFFSET sets the analog offset for manual BLC
- V4L2_CID_BLC_DIGITAL_OFFSET sets the digital offset for manual BLC

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9p031.c