diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-02 02:28:44 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-04 01:14:13 +0300 |
commit | 961a6cf7cac9b788cc285a58ae1b8a480f00b633 (patch) | |
tree | d46a8f90f6a3a1933d59a8032b2c85d6dcbed17c /include | |
parent | 502ab9a146e037cc10e3315ced91a0bdfa385472 (diff) |
pipeline: rkisp1: Move ControlInfoMap to IPA module
Currently the pipeline handler advertises controls handled by the IPA
from a ControlInfoMap it manually constructs. This is wrong, as the IPA
module is the component that knows what controls it supports. Fix this
by moving the ControlInfoMap construction to the IPA module, and pass it
to the pipeline handler as a return value from the IPA init() function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Florian Sylvestre <fsylvestre@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/ipa/rkisp1.mojom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/ipa/rkisp1.mojom b/include/libcamera/ipa/rkisp1.mojom index e3537385..eaf3955e 100644 --- a/include/libcamera/ipa/rkisp1.mojom +++ b/include/libcamera/ipa/rkisp1.mojom @@ -11,7 +11,7 @@ import "include/libcamera/ipa/core.mojom"; interface IPARkISP1Interface { init(libcamera.IPASettings settings, uint32 hwRevision) - => (int32 ret); + => (int32 ret, libcamera.ControlInfoMap ipaControls); start() => (int32 ret); stop(); |