From fd2b55cb3f2b50e273e01f422c251c18ffa441ef Mon Sep 17 00:00:00 2001 From: David Plowman Date: Wed, 1 Jul 2020 13:50:21 +0100 Subject: ipa: raspberrypi: Enable focus measure without recompile Previously, output of the focus measure could not be enabled without recompiling (because of the RPI_LOGGING_ENABLE macro). This uses the libcamera logging mechanism instead, so can be enabled/disabled at runtime. Signed-off-by: David Plowman Reviewed-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/rpi/focus.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ipa/raspberrypi/controller/rpi/focus.hpp') diff --git a/src/ipa/raspberrypi/controller/rpi/focus.hpp b/src/ipa/raspberrypi/controller/rpi/focus.hpp index d53401f7..a9756ea7 100644 --- a/src/ipa/raspberrypi/controller/rpi/focus.hpp +++ b/src/ipa/raspberrypi/controller/rpi/focus.hpp @@ -22,10 +22,7 @@ class Focus : public Algorithm public: Focus(Controller *controller); char const *Name() const override; - void Read(boost::property_tree::ptree const ¶ms) override; void Process(StatisticsPtr &stats, Metadata *image_metadata) override; -private: - bool print_; }; } /* namespace RPi */ -- cgit v1.2.1