summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/awb.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-03-27 13:20:21 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-03-31 13:29:17 +0100
commitcf6df17958f8af629410038d96e18b36df0ae6e7 (patch)
tree974272139253981f49c3e71e3e9f9d87a6dd9b20 /src/ipa/rkisp1/algorithms/awb.cpp
parentf7bf0be65360d9154e3bbed8d1a4c69cad7b0b98 (diff)
ipa: raspberrypi Store the target string in the controller
The target string may be used by algorithms to determine the running hardware target. Store the target string provided by the camera tuning files in the controller state. Add a getTarget() member function to retrieve this string. Validate the correct hardware target ("bcm2835") during the IPA initialisation phase. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/awb.cpp')
0 files changed, 0 insertions, 0 deletions
until the algorithm has * seen statistics and calculated meaningful values. The contents should be * ignored until then. */ struct AgcStatus { libcamera::utils::Duration totalExposureValue; /* value for all exposure and gain for this image */ libcamera::utils::Duration targetExposureValue; /* (unfiltered) target total exposure AGC is aiming for */ libcamera::utils::Duration shutterTime; double analogueGain; char exposureMode[32]; char constraintMode[32]; char meteringMode[32]; double ev; libcamera::utils::Duration flickerPeriod; int floatingRegionEnable; libcamera::utils::Duration fixedShutter; double fixedAnalogueGain; double digitalGain; int locked; };