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

Message ID 20210702103800.41291-17-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:38 a.m. UTC
We want the IPU3 IPA to support AwbLock, so initialize the
AwbLock ControlInfo in the IPU3 pipeline handler.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=45
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 7906c6ca..5409e955 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -52,6 +52,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::AwbLock, ControlInfo(Span<const bool>({ false, true }), false) },
 	{ &controls::AwbMode, ControlInfo(controls::AwbModeValues) },
 	{ &controls::draft::MaxLatency, ControlInfo(0, 0, 0) },
 	{ &controls::draft::PipelineDepth, ControlInfo(2, 3) },