ipa: rkisp1: Report and use sensor controls
The pipeline handler populates a new sensorControls ControlList, to have the effective exposure and gain values for the current frame. This is done when a statistics buffer is received. 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>
This commit is contained in:
parent
55c07ed4db
commit
431749b399
3 changed files with 5 additions and 2 deletions
|
@ -314,7 +314,7 @@ void IPARkISP1::setControls(unsigned int frame)
|
|||
ControlList ctrls(ctrls_);
|
||||
ctrls.set(V4L2_CID_EXPOSURE, static_cast<int32_t>(exposure_));
|
||||
ctrls.set(V4L2_CID_ANALOGUE_GAIN, static_cast<int32_t>(gain_));
|
||||
op.controls = ctrls;
|
||||
op.sensorControls = ctrls;
|
||||
|
||||
queueFrameAction.emit(frame, op);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue