ipa: libipa: algorithm: Add queueRequest() to the Algorithm class

Add queueRequest() function to the Algorithm class. The queueRequest() function
provides controls values coming from the application to each algorithm.
Each algorithm is responsible for retrieving the controls associated to them.

Signed-off-by: Florian Sylvestre <fsylvestre@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Florian Sylvestre 2022-07-20 17:42:18 +02:00 committed by Laurent Pinchart
parent c49f47589c
commit 242191fbb6
2 changed files with 24 additions and 0 deletions

View file

@ -9,6 +9,8 @@
#include <memory>
#include <string>
#include <libcamera/controls.h>
namespace libcamera {
class YamlObject;
@ -40,6 +42,12 @@ public:
{
}
virtual void queueRequest([[maybe_unused]] typename Module::Context &context,
[[maybe_unused]] const uint32_t frame,
[[maybe_unused]] const ControlList &controls)
{
}
virtual void process([[maybe_unused]] typename Module::Context &context,
[[maybe_unused]] typename Module::FrameContext *frameContext,
[[maybe_unused]] const typename Module::Stats *stats)