[libcamera-devel] [RFC PATCH v3 13/16] FULL: pipeline: ipu3: Set AeEnable ControlInfo
Paul Elder
paul.elder at ideasonboard.com
Fri Jul 2 12:37:57 CEST 2021
We want the IPU3 IPA to support enabling and disabling AE, so initialize
the AeEnable ControlInfo in the IPU3 pipeline handler.
Bug: https://bugs.libcamera.org/show_bug.cgi?id=42
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
Changes in v3:
- use boolean ControlInfo constructor
---
src/libcamera/pipeline/ipu3/ipu3.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index d3dafd98..a755493c 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -12,6 +12,7 @@
#include <vector>
#include <libcamera/base/log.h>
+#include <libcamera/base/span.h>
#include <libcamera/base/utils.h>
#include <libcamera/camera.h>
@@ -49,6 +50,7 @@ static constexpr unsigned int IMGU_OUTPUT_HEIGHT_MARGIN = 32;
static constexpr Size IPU3ViewfinderSize(1280, 720);
static const ControlInfoMap::Map IPU3Controls = {
+ { &controls::AeEnable, ControlInfo(Span<const bool>({ false, true }), true) },
{ &controls::draft::MaxLatency, ControlInfo(0, 0, 0) },
{ &controls::draft::PipelineDepth, ControlInfo(2, 3) },
};
--
2.27.0
More information about the libcamera-devel
mailing list