[libcamera-devel,RFC,v4,19/21] pipeline: ipu3: Set AeLock ControlInfo
diff mbox series

Message ID 20210716105631.158153-20-paul.elder@ideasonboard.com
State Superseded
Headers show
Series
  • Preliminary FULL plumbing
Related show

Commit Message

Paul Elder July 16, 2021, 10:56 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 v4:
- use the actual new boolean ControlInfo constructor

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 0057c250..2550ae03 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -50,6 +50,7 @@  static constexpr Size IPU3ViewfinderSize(1280, 720);
 
 static const ControlInfoMap::Map IPU3Controls = {
 	{ &controls::AeEnable, ControlInfo({ false, true }, true) },
+	{ &controls::AeLock, ControlInfo({ false, true }, false) },
 	{ &controls::draft::MaxLatency, ControlInfo(0, 0, 0) },
 	{ &controls::draft::PipelineDepth, ControlInfo(2, 3) },
 };