ipa: ipu3: Rectify gain value reporting in request metadata
Report value of sensor's gain pertaining to the current request completion, as that is the gain value the request completed with. The Agc algorithm processes the gain value for incoming next request hence it should not be reported in request's metadata. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
a29f122a77
commit
68e4f70a69
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ void IPAIPU3::parseStatistics(unsigned int frame,
|
|||
int64_t frameDuration = (defVBlank_ + sensorInfo_.outputSize.height) * lineDuration_.get<std::micro>();
|
||||
ctrls.set(controls::FrameDuration, frameDuration);
|
||||
|
||||
ctrls.set(controls::AnalogueGain, context_.frameContext.agc.gain);
|
||||
ctrls.set(controls::AnalogueGain, context_.frameContext.sensor.gain);
|
||||
|
||||
ctrls.set(controls::ColourTemperature, context_.frameContext.awb.temperatureK);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue