ipa: libipa: algorithm: process(): Pass frame number

Pass the frame number of the current frame being processed.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Kieran Bingham 2022-07-21 13:13:07 +01:00 committed by Laurent Pinchart
parent 87d36de543
commit 494662f082
16 changed files with 30 additions and 13 deletions

View file

@ -332,7 +332,7 @@ void IPARkISP1::processStatsBuffer(const uint32_t frame, const uint32_t bufferId
IPAFrameContext frameContext;
for (auto const &algo : algorithms())
algo->process(context_, frameContext, stats);
algo->process(context_, frame, frameContext, stats);
setControls(frame);