libcamera: ipa: Merge controls and v4l2controls in IPAOperationData
Now that the V4L2ControlList is merely a helper to construct a ControlList for V4L2 controls, without any data member, all controls can be transferred between pipeline handlers and IPAs using ControlList only. Remove the v4l2controls member for IPAOperationData and use the control member instead. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
343978af0b
commit
ce739e616c
4 changed files with 4 additions and 13 deletions
|
@ -215,7 +215,7 @@ void IPARkISP1::setControls(unsigned int frame)
|
|||
V4L2ControlList ctrls(ctrls_);
|
||||
ctrls.set(V4L2_CID_EXPOSURE, static_cast<int32_t>(exposure_));
|
||||
ctrls.set(V4L2_CID_ANALOGUE_GAIN, static_cast<int32_t>(gain_));
|
||||
op.v4l2controls.push_back(ctrls);
|
||||
op.controls.push_back(ctrls);
|
||||
|
||||
queueFrameAction.emit(frame, op);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue