[libcamera-devel] [PATCH 11/22] ipu3: Populate the EventProcessCall with the sensor controls

Jean-Michel Hautbois jeanmichel.hautbois at ideasonboard.com
Mon Nov 8 14:13:39 CET 2021


When EventProcessCall is to be sent, we populate the controls and notify
the IPA. Add the sensor controls in the event to notify their values for
the given frame.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois at ideasonboard.com>
---
 src/libcamera/pipeline/ipu3/ipu3.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 3fcfa777..5d87f6e5 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -862,6 +862,7 @@ void IPU3CameraData::queuePendingRequests()
 		ev.op = ipa::ipu3::EventProcessControls;
 		ev.frame = info->id;
 		ev.controls = request->controls();
+		ev.sensorControls = delayedCtrls_->get(ev.frame);
 		ipa_->processEvent(ev);
 
 		pendingRequests_.pop();
-- 
2.32.0



More information about the libcamera-devel mailing list