ipa: ipu3: Shorten exposure and gain lines
When the effective sensor values are stored during the EventStatReady event, the lines are long. Fix it. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
parent
046ca79086
commit
e3900d1bf9
1 changed files with 5 additions and 2 deletions
|
@ -547,8 +547,11 @@ void IPAIPU3::processEvent(const IPU3Event &event)
|
|||
const ipu3_uapi_stats_3a *stats =
|
||||
reinterpret_cast<ipu3_uapi_stats_3a *>(mem.data());
|
||||
|
||||
context_.frameContext.sensor.exposure = event.sensorControls.get(V4L2_CID_EXPOSURE).get<int32_t>();
|
||||
context_.frameContext.sensor.gain = camHelper_->gain(event.sensorControls.get(V4L2_CID_ANALOGUE_GAIN).get<int32_t>());
|
||||
int32_t exposure = event.sensorControls.get(V4L2_CID_EXPOSURE).get<int32_t>();
|
||||
int32_t gain = event.sensorControls.get(V4L2_CID_ANALOGUE_GAIN).get<int32_t>();
|
||||
|
||||
context_.frameContext.sensor.exposure = exposure;
|
||||
context_.frameContext.sensor.gain = camHelper_->gain(gain);
|
||||
|
||||
parseStatistics(event.frame, event.frameTimestamp, stats);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue