[libcamera-devel] [PATCH 2/3] ipa: ipu3: Drive requestQueue when controls are accepted

Kate Hsuan hpa at redhat.com
Fri Sep 16 12:37:12 CEST 2022


Drive and dispatch the controls to the algorithms when the controls
are received.

Signed-off-by: Kate Hsuan <hpa at redhat.com>
---
 src/ipa/ipu3/ipu3.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index ac0c42a7..4f64a546 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -657,6 +657,9 @@ void IPAIPU3::queueRequest(const uint32_t frame, const ControlList &controls)
 {
 	/* \todo Start processing for 'frame' based on 'controls'. */
 	context_.frameContexts[frame % kMaxFrameContexts] = { frame, controls };
+
+	for (auto const &algo : algorithms())
+		algo->queueRequest(context_, frame, controls);
 }
 
 /**
-- 
2.37.3



More information about the libcamera-devel mailing list