summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/ipu3_agc.cpp
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-06-07 14:05:44 +0200
committerJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-06-28 10:48:33 +0200
commit32677e122008f1c06d1712a5e869d355a57067d9 (patch)
tree433debec975e4100b4ac3ecf2c524209d412e6be /src/ipa/ipu3/ipu3_agc.cpp
parent1684c3f930b2a27884037bc38856477b80cddd50 (diff)
ipa: Create a camera sensor helper class
For various sensor operations, it may be needed to do sensor specific computations, like analogue gain or vertical blanking. This commit introduces a new camera sensor helper in libipa which aims to solve this specific issue. It is based on the MIPI alliance Specification for Camera Command Set and implements, for now, only the analogue "Global gain" mode. Setting analogue gain for a specific sensor is not a straightforward operation, as one needs to know how the gain is calculated for it. Three helpers are created in this patch: imx219, ov5670 and ov5693. Adding a new sensor is pretty straightforward as one only needs to implement the sub-class for it and register that class to the CameraSensorHelperFactory. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/ipu3_agc.cpp')
0 files changed, 0 insertions, 0 deletions