mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-19 10:25:05 +03:00
ipa: raspberrypi: AGC: handle modes with different sensitivities
When the sensor is switched to a mode with a different sensitivity, the target exposure values need to be adjusted proportionately to maintain the same image brightness. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
d0c429c34c
commit
abaa45d627
2 changed files with 23 additions and 5 deletions
|
@ -126,6 +126,7 @@ private:
|
|||
int lock_count_;
|
||||
DeviceStatus last_device_status_;
|
||||
libcamera::utils::Duration last_target_exposure_;
|
||||
double last_sensitivity_; // sensitivity of the previous camera mode
|
||||
// Below here the "settings" that applications can change.
|
||||
std::string metering_mode_name_;
|
||||
std::string exposure_mode_name_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue