summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/lux.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/lux.hpp')
-rw-r--r--src/ipa/raspberrypi/controller/rpi/lux.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipa/raspberrypi/controller/rpi/lux.hpp b/src/ipa/raspberrypi/controller/rpi/lux.hpp
index f9090484..45c84439 100644
--- a/src/ipa/raspberrypi/controller/rpi/lux.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/lux.hpp
@@ -8,6 +8,8 @@
#include <mutex>
+#include "libcamera/internal/utils.h"
+
#include "../lux_status.h"
#include "../algorithm.hpp"
@@ -28,7 +30,7 @@ public:
private:
// These values define the conditions of the reference image, against
// which we compare the new image.
- double reference_shutter_speed_; // in micro-seconds
+ libcamera::utils::Duration reference_shutter_speed_;
double reference_gain_;
double reference_aperture_; // units of 1/f
double reference_Y_; // out of 65536