[libcamera-devel] [PATCH 2/4] ipa: rkisp1: Transfer queueRequest() call to each algorithm
Florian Sylvestre
fsylvestre at baylibre.com
Mon Jul 4 17:23:16 CEST 2022
Implement rkisp1 queueRequest() function to update each algorithm with user
controls.
Signed-off-by: Florian Sylvestre <fsylvestre at baylibre.com>
---
src/ipa/rkisp1/rkisp1.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index a32bb9d1..9b0d675c 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -270,9 +270,10 @@ void IPARkISP1::unmapBuffers(const std::vector<unsigned int> &ids)
}
void IPARkISP1::queueRequest([[maybe_unused]] const uint32_t frame,
- [[maybe_unused]] const ControlList &controls)
+ const ControlList &controls)
{
- /* \todo Start processing for 'frame' based on 'controls'. */
+ for (auto const &algo : algorithms())
+ algo->queueRequest(context_, frame, controls);
}
void IPARkISP1::fillParamsBuffer(const uint32_t frame, const uint32_t bufferId)
--
2.34.1
More information about the libcamera-devel
mailing list