@@ -30,7 +30,7 @@ interface IPAIPU3Interface {
start() => (int32 ret);
stop();
- configure(map<uint32, ControlInfoMap> entityControls) => ();
+ configure(map<uint32, ControlInfoMap> entityControls, Size bdsOutputSize) => ();
mapBuffers(array<IPABuffer> buffers);
unmapBuffers(array<uint32> ids);
@@ -35,7 +35,9 @@ public:
int start() override { return 0; }
void stop() override {}
- void configure(const std::map<uint32_t, ControlInfoMap> &entityControls) override;
+ void configure(
+ const std::map<uint32_t, ControlInfoMap> &entityControls,
+ const Size &bdsOutputSize) override;
void mapBuffers(const std::vector<IPABuffer> &buffers) override;
void unmapBuffers(const std::vector<unsigned int> &ids) override;
@@ -62,7 +64,8 @@ private:
uint32_t maxGain_;
};
-void IPAIPU3::configure(const std::map<uint32_t, ControlInfoMap> &entityControls)
+void IPAIPU3::configure(const std::map<uint32_t, ControlInfoMap> &entityControls,
+ [[maybe_unused]] const Size &bdsOutputSize)
{
if (entityControls.empty())
return;
@@ -719,6 +719,7 @@ int PipelineHandlerIPU3::start(Camera *camera, [[maybe_unused]] const ControlLis
IPU3CameraData *data = cameraData(camera);
CIO2Device *cio2 = &data->cio2_;
ImgUDevice *imgu = data->imgu_;
+ Rectangle bds{ 0, 0, data->pipeConfig_.bds };
int ret;
/* Allocate buffers for internal pipeline usage. */