mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 00:25:07 +03:00
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:
parent
73b18967b6
commit
fd2b55cb3f
3 changed files with 9 additions and 14 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue