mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
libcamera: software_isp: Call Algorithm::configure
This patch adds Algorithm::configure call for the defined algorithms. This is preparation only since there are currently no Algorithm based algorithms defined. A part of this change is passing IPAConfigInfo instead of ControlInfoMap to configure() calls as this is what Algorithm::configure expects. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
97f9961e1b
commit
ecbc05c4c5
5 changed files with 22 additions and 12 deletions
|
@ -62,7 +62,7 @@ public:
|
|||
|
||||
int configure(const StreamConfiguration &inputCfg,
|
||||
const std::vector<std::reference_wrapper<StreamConfiguration>> &outputCfgs,
|
||||
const ControlInfoMap &sensorControls);
|
||||
const ipa::soft::IPAConfigInfo &configInfo);
|
||||
|
||||
int exportBuffers(const Stream *stream, unsigned int count,
|
||||
std::vector<std::unique_ptr<FrameBuffer>> *buffers);
|
||||
|
|
|
@ -20,7 +20,7 @@ interface IPASoftInterface {
|
|||
=> (int32 ret);
|
||||
start() => (int32 ret);
|
||||
stop();
|
||||
configure(libcamera.ControlInfoMap sensorCtrlInfoMap)
|
||||
configure(IPAConfigInfo configInfo)
|
||||
=> (int32 ret);
|
||||
|
||||
[async] processStats(uint32 frame,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue