[libcamera-devel,RFC,v3,14/16] pipeline: ipu3: Set AeLock ControlInfo
diff mbox series

Message ID 20210702103800.41291-15-paul.elder@ideasonboard.com
State Superseded
Delegated to: Paul Elder
Headers show
Series
  • Preliminary FULL plumbing
Related show

Commit Message

Paul Elder July 2, 2021, 10:37 a.m. UTC
We want the IPU3 IPA to support AeLock, so initialize the
AeLock ControlInfo in the IPU3 pipeline handler.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=43
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>

---
Changes in v3:
- use boolean ControlInfo constructor
---
 src/libcamera/pipeline/ipu3/ipu3.cpp | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index a755493c..053c13de 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -51,6 +51,7 @@  static constexpr Size IPU3ViewfinderSize(1280, 720);
 
 static const ControlInfoMap::Map IPU3Controls = {
 	{ &controls::AeEnable, ControlInfo(Span<const bool>({ false, true }), true) },
+	{ &controls::AeLock, ControlInfo(Span<const bool>({ false, true }), false) },
 	{ &controls::draft::MaxLatency, ControlInfo(0, 0, 0) },
 	{ &controls::draft::PipelineDepth, ControlInfo(2, 3) },
 };