libcamera/include
Christian Rauch 5fd18af233 libcamera: controls: initialise control info to ControlTypeNone by default
The default ControlInfo constructor allows partially initialising the
min/max/def values. Uninitialised values are assigned to 0 by default.
This implicit initialisation makes it impossible to distinguish between
an uninitialised and an explicitly 0-initialised ControlValue.

Default construct the ControlValue in the ControlInfo default contructor to
explicitly represent uninitialised values by the ControlTypeNone type.

Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
2022-09-12 18:29:11 +09:00
..
android android: Update Android headers 2021-05-31 19:26:59 +03:00
libcamera libcamera: controls: initialise control info to ControlTypeNone by default 2022-09-12 18:29:11 +09:00
linux include: linux: Add V4L2 subdev internal routing API 2022-08-03 17:00:46 +03:00
meson.build libcamera: Fix base and ipa include dir 2021-09-28 20:09:39 +03:00