ipa: rkisp1: Use frame number passed to Algorithm::prepare()

Now that the Algorithm::prepare() function takes a frame number, we can
use it to replace the IPAActiveState::frameCount member.

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:
Laurent Pinchart
2022-09-08 00:31:23 +03:00
parent 05e6a19373
commit b3724d3766
10 changed files with 17 additions and 34 deletions
-9
View File
@@ -192,15 +192,6 @@ namespace libcamera::ipa::rkisp1 {
* \brief Analogue gain multiplier
*/
/**
* \var IPAActiveState::frameCount
* \brief Counter of requests queued to the IPA module
*
* The counter is reset to 0 when the IPA module is configured, and is
* incremented for each request being queued, after calling the
* Algorithm::prepare() function of all algorithms.
*/
/**
* \struct IPAFrameContext
* \brief Per-frame context for algorithms