@@ -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) },
};
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@ideasonboard.com> --- Changes in v3: - use boolean ControlInfo constructor --- src/libcamera/pipeline/ipu3/ipu3.cpp | 2 ++ 1 file changed, 2 insertions(+)