summaryrefslogtreecommitdiff
path: root/src/android/jpeg/encoder_libjpeg.cpp
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-07-15 12:13:15 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-07-15 17:27:23 +0200
commitbda10cae5e92e21b9865578298eb7b01f095802d (patch)
tree4004efabf253630f582315ea994496e31385ee04 /src/android/jpeg/encoder_libjpeg.cpp
parent35e23837fab8e7837254db32e6a76ddbe4453189 (diff)
libipa: Add CameraSensorHelper for OV13858
Extend the CameraSensorHelper factory with support for an OV13858 sensor as found in the Soraka Chromebook. The datasheet states that low 7 bits are fraction bits, so the gain is calculated as gainCode=128*gain. According to the formula, it means m0=1 and c1=128. m1 then has to be 0, and c0=0. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> 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 'src/android/jpeg/encoder_libjpeg.cpp')
0 files changed, 0 insertions, 0 deletions