@@ -294,8 +294,11 @@ int AgcAlgorithm::configure(agc::Session &session, agc::ActiveState &state, cons
};
LOG(Agc, Debug)
- << "Exposure: [" << minExposure << ", " << maxExposure
- << "], gain: [" << minGain << ", " << maxGain << "]";
+ << "exposure:[" << minExposure << ',' << maxExposure << ']'
+ << " gain: [" << minGain << ',' << maxGain << ']'
+ << " line-duration:" << session.lineDuration
+ << " sensor-output:" << session.sensor.outputSize
+ ;
/*
* Compute the frame duration limits.
@@ -615,9 +618,11 @@ void AgcAlgorithm::process(const agc::Session &session, agc::ActiveState &state,
});
LOG(Agc, Debug)
- << "Divided up exposure time, analogue gain, quantization gain"
- << " and digital gain are " << newEv.exposureTime << ", " << newEv.analogueGain
- << ", " << newEv.quantizationGain << " and " << newEv.digitalGain;
+ << "exposure-time:" << newEv.exposureTime
+ << " analogue-gain" << newEv.analogueGain
+ << " quantization-gain" << newEv.quantizationGain
+ << " digital-gain: " << newEv.digitalGain
+ ;
/* Update the estimated exposure and gain. */
state.automatic.exposure = clampExposure(newEv.exposureTime, session);
The log message showing the result of AGC seems too verbose to me, and the labels and values are far from each other. And also log the line duration when showing exposure and gain limits. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- src/ipa/libipa/agc.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-)