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 <david.plowman@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
David Plowman 2020-07-01 13:50:21 +01:00 committed by Laurent Pinchart
parent 73b18967b6
commit fd2b55cb3f
3 changed files with 9 additions and 14 deletions

View file

@ -22,10 +22,7 @@ class Focus : public Algorithm
public:
Focus(Controller *controller);
char const *Name() const override;
void Read(boost::property_tree::ptree const &params) override;
void Process(StatisticsPtr &stats, Metadata *image_metadata) override;
private:
bool print_;
};
} /* namespace RPi */