summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2022-03-31 22:23:19 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2022-04-02 01:09:56 +0530
commit28a44e80f0d8e4065f2a9dcd6e0255906c9fd437 (patch)
treed596001f3a6368ba6bc7401c244c16da9917a10c
parent08d7e66df0782bc4aa0d01ca12cbc98c3073c26f (diff)
ipa: vimc: Rename processControls() to queueRequest()
Synchronise with other IPA interfaces (for e.g. IPU3, RkISP1) that uses queueRequest() to pass in the request controls to IPA. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--include/libcamera/ipa/vimc.mojom2
-rw-r--r--src/ipa/vimc/vimc.cpp6
-rw-r--r--src/libcamera/pipeline/vimc/vimc.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/libcamera/ipa/vimc.mojom b/include/libcamera/ipa/vimc.mojom
index e3b14e38..e5ac3609 100644
--- a/include/libcamera/ipa/vimc.mojom
+++ b/include/libcamera/ipa/vimc.mojom
@@ -37,7 +37,7 @@ interface IPAVimcInterface {
* handle parameters at runtime.
*/
[async] fillParams(uint32 frame, uint32 bufferId);
- [async] processControls(uint32 frame, libcamera.ControlList controls);
+ [async] queueRequest(uint32 frame, libcamera.ControlList controls);
};
interface IPAVimcEventInterface {
diff --git a/src/ipa/vimc/vimc.cpp b/src/ipa/vimc/vimc.cpp
index 8481b82b..315302c6 100644
--- a/src/ipa/vimc/vimc.cpp
+++ b/src/ipa/vimc/vimc.cpp
@@ -44,7 +44,7 @@ public:
void unmapBuffers(const std::vector<unsigned int> &ids) override;
void fillParams(uint32_t frame, uint32_t bufferId) override;
- void processControls(uint32_t frame, const ControlList &controls) override;
+ void queueRequest(uint32_t frame, const ControlList &controls) override;
private:
void initTrace();
@@ -140,8 +140,8 @@ void IPAVimc::fillParams([[maybe_unused]] uint32_t frame, uint32_t bufferId)
paramsFilled.emit(bufferId);
}
-void IPAVimc::processControls([[maybe_unused]] uint32_t frame,
- [[maybe_unused]] const ControlList &controls)
+void IPAVimc::queueRequest([[maybe_unused]] uint32_t frame,
+ [[maybe_unused]] const ControlList &controls)
{
}
diff --git a/src/libcamera/pipeline/vimc/vimc.cpp b/src/libcamera/pipeline/vimc/vimc.cpp
index 29960fe3..69b83d07 100644
--- a/src/libcamera/pipeline/vimc/vimc.cpp
+++ b/src/libcamera/pipeline/vimc/vimc.cpp
@@ -432,7 +432,7 @@ int PipelineHandlerVimc::queueRequestDevice(Camera *camera, Request *request)
if (ret < 0)
return ret;
- data->ipa_->processControls(request->sequence(), request->controls());
+ data->ipa_->queueRequest(request->sequence(), request->controls());
return 0;
}