summaryrefslogtreecommitdiff
path: root/src/apps/lc-compliance/capture_test.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-09-29 15:06:01 +0200
committerJacopo Mondi <jacopo@jmondi.org>2022-12-22 12:11:21 +0100
commitff9b8befbb7adbd8b308399b6ec9ebe508c67c0a (patch)
tree68bdb65d6c72045b67b0476388b190365b1b871c /src/apps/lc-compliance/capture_test.cpp
parentf66a5c447b65bce774a1bc2d01034f437bf764b5 (diff)
ipa: camera_sensor_helper: Add AR0521 support
Add support for OnSemi AR0521 5Mpx image sensor to libipa. The sensor analogue gain is implemented as a coarse and a fine factor, with the coarse gain being a power of two and the fine gain being a value in the [1.0, 2.0[ range. The mapping between gain codes and gain values is tabulated in the datasheet, and the table values are very close but not identical to the mathematical model. Compute the gain using the model to keep the code shorter, if this causes precision issues the calculation could be replaced with a table. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/apps/lc-compliance/capture_test.cpp')
0 files changed, 0 insertions, 0 deletions