[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)
commitdfea00191aec19dc1115934a3c06e97fd8338e2e
tree9aadbdc54c1b716adb4a3d897c627c55d483db20
parent15693b57931b19f3bb4664cb4fa3f6f966058749
[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