ipa: ipu3: Set the AnalogueGain control
We can report the controls::AnalogueGain metadata now that AGC is updating it correctly. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
parent
268882fa30
commit
d6f4abeead
1 changed files with 2 additions and 0 deletions
|
@ -628,6 +628,8 @@ 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::ColourTemperature, context_.frameContext.awb.temperatureK);
|
||||
|
||||
ctrls.set(controls::ExposureTime, context_.frameContext.sensor.exposure * lineDuration_.get<std::micro>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue