From ef7a07dd8a3634d9dd5d0383b86e3a1a69d7c768 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Tue, 20 Oct 2020 17:43:15 +0200 Subject: libcamera: controls: Generate an array of valid values For each Control that supports enumerated values generate an array of ControlValue which contains the full list of valid values. At the expense of a slight increase in memory occupation this change allows the construction of the ControlInfo associated with a Control from the values list, defaulting the minimum and maximum values reported by the ControlInfo. Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- src/libcamera/control_ids.cpp.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcamera/control_ids.cpp.in') diff --git a/src/libcamera/control_ids.cpp.in b/src/libcamera/control_ids.cpp.in index 056645cf..5fb1c2c3 100644 --- a/src/libcamera/control_ids.cpp.in +++ b/src/libcamera/control_ids.cpp.in @@ -8,6 +8,7 @@ */ #include +#include /** * \file control_ids.h -- cgit v1.2.1