libcamera: raspberrypi: Switch to DelayedControls
Use the libcamera core helper DelayedControls instead of the local StaggeredCtrl. The new helper is modeled after the StaggeredCtrl implementation and behaves the same. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
5023ad293d
commit
85f2a5c134
3 changed files with 28 additions and 35 deletions
|
@ -974,7 +974,7 @@ void IPARPi::processStats(unsigned int bufferId)
|
|||
applyAGC(&agcStatus, ctrls);
|
||||
|
||||
IPAOperationData op;
|
||||
op.operation = RPi::IPA_ACTION_V4L2_SET_STAGGERED;
|
||||
op.operation = RPi::IPA_ACTION_SET_DELAYED_CTRLS;
|
||||
op.controls.emplace_back(ctrls);
|
||||
queueFrameAction.emit(0, op);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue