ipa: rkisp1: Raise maximum analogue gain
Omnivision OV4689 sensor driver exposes maximum analogue gain of 16x. Raise kMaxAnalogueGain to 16.0, so that the full gain range can be used. Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
This commit is contained in:
committed by
Jacopo Mondi
parent
d500930e7d
commit
7986d3d3c1
@@ -36,9 +36,14 @@ namespace ipa::rkisp1::algorithms {
|
||||
|
||||
LOG_DEFINE_CATEGORY(RkISP1Agc)
|
||||
|
||||
/* Limits for analogue gain values */
|
||||
/*
|
||||
* Limits for analogue gain values
|
||||
*
|
||||
* \todo Remove the hard-coded limits and let the sensor helper specify
|
||||
* the minimum and maximum allowed gain values.
|
||||
*/
|
||||
static constexpr double kMinAnalogueGain = 1.0;
|
||||
static constexpr double kMaxAnalogueGain = 8.0;
|
||||
static constexpr double kMaxAnalogueGain = 16.0;
|
||||
|
||||
/* \todo Honour the FrameDurationLimits control instead of hardcoding a limit */
|
||||
static constexpr utils::Duration kMaxShutterSpeed = 60ms;
|
||||
|
||||
Reference in New Issue
Block a user