[media] v4l: ctrls: Add a control for digital gain
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Jun 2017 19:59:58 +0000 (16:59 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 11:14:34 +0000 (08:14 -0300)
commite72cb0e79475b0d26625e802846e281a84304c07
treee03b5f6a29c593c0c84f6357a3505009c747539d
parent8e792f5287a99ba314c1ddb2b12a09f9c045b753
[media] v4l: ctrls: Add a control for digital gain

Add V4L2_CID_DIGITAL_GAIN to control explicitly digital gain.

We already have analogue gain control which the digital gain control
complements. Typically higher quality images are obtained using analogue
gain only as the digital gain does not add information to the image
(rather it may remove it).

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/extended-controls.rst
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h