summaryrefslogtreecommitdiff
path: root/test/v4l2_subdevice
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-07-15 12:17:09 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-07-15 17:27:33 +0200
commitea0b199da79e069c7160fb695956ef08787c6913 (patch)
tree0ce7300ae35f5ac31e8570d490d0a99adf2f2d1d /test/v4l2_subdevice
parentbda10cae5e92e21b9865578298eb7b01f095802d (diff)
libipa: Correct OV5670 CameraSensorHelper gain values
The datasheet states that the low 7 bits are fraction bits. real_gain = GainCode/128 For example, 0x080 is 1x gain, 0x100 is 2x gain. It means that we should have m0=1 and c1=128. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice')
0 files changed, 0 insertions, 0 deletions