summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2021-05-24 14:50:22 +0530
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-05-24 14:13:37 +0300
commitc76ca01323d8f7cb26b3a0c1137de92f7538a2c6 (patch)
treef636d016b2c304d4cc260cd3866bc323e5833fd0 /include
parent231d93557d8555d2bd713832203bb17b678d6ed0 (diff)
ipa: ipu3: Introduce IPAConfigInfo in IPC
IPAConfigInfo is a consolidated data structure passed from IPU3 pipeline-handler to IPU3 IPA. The structure can be extended with additional parameters to accommodate the requirements of multiple IPU3 IPA modules. Adapt the in-tree IPU3 IPA to use IPAConfigInfo as well. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/ipa/ipu3.mojom10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/libcamera/ipa/ipu3.mojom b/include/libcamera/ipa/ipu3.mojom
index 9e3cd885..6b6b431f 100644
--- a/include/libcamera/ipa/ipu3.mojom
+++ b/include/libcamera/ipa/ipu3.mojom
@@ -30,13 +30,19 @@ struct IPU3Action {
libcamera.ControlList controls;
};
+struct IPAConfigInfo {
+ libcamera.IPACameraSensorInfo sensorInfo;
+ map<uint32, ControlInfoMap> entityControls;
+ libcamera.Size bdsOutputSize;
+ libcamera.Size iif;
+};
+
interface IPAIPU3Interface {
init(libcamera.IPASettings settings) => (int32 ret);
start() => (int32 ret);
stop();
- configure(map<uint32, libcamera.ControlInfoMap> entityControls,
- libcamera.Size bdsOutputSize) => ();
+ configure(IPAConfigInfo configInfo) => ();
mapBuffers(array<libcamera.IPABuffer> buffers);
unmapBuffers(array<uint32> ids);