ipa: raspberrypi: Pass the maximum allowable shutter speed into the AGC
In order to provide an optimal split between shutter speed and gain, the AGC must know the maximum allowable shutter speed, as limited by the maximum frame duration (either application provided or the default). Add a new API function, SetMaxShutter, to the AgcAlgorithm class. The IPA provides the maximum shutter speed for AGC calculations. This applies to both the manual and auto AGC modes. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
362301b131
commit
47d243c44a
4 changed files with 48 additions and 15 deletions
|
@ -19,6 +19,7 @@ public:
|
|||
virtual void SetEv(double ev) = 0;
|
||||
virtual void SetFlickerPeriod(double flicker_period) = 0;
|
||||
virtual void SetFixedShutter(double fixed_shutter) = 0; // microseconds
|
||||
virtual void SetMaxShutter(double max_shutter) = 0; // microseconds
|
||||
virtual void SetFixedAnalogueGain(double fixed_analogue_gain) = 0;
|
||||
virtual void SetMeteringMode(std::string const &metering_mode_name) = 0;
|
||||
virtual void SetExposureMode(std::string const &exposure_mode_name) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue