mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 00:19:44 +03:00
libcamera: ipa: raspberrypi: agc: Report fixed exposure/gain values during SwitchMode
When an application has specified fixed exposure time and/or gain they must be programmed into the sensor immediately, even before the sensor has been started. For this to happen they must be written into the image metadata when the SwitchMode method is invoked. We also make the default exposure/gain, when nothing has been set, customisable in the tuning file. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
23ada683db
commit
2fb5b298da
2 changed files with 60 additions and 16 deletions
|
@ -60,6 +60,8 @@ struct AgcConfig {
|
|||
std::string default_exposure_mode;
|
||||
std::string default_constraint_mode;
|
||||
double base_ev;
|
||||
double default_exposure_time;
|
||||
double default_analogue_gain;
|
||||
};
|
||||
|
||||
class Agc : public AgcAlgorithm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue