diff options
author | David Plowman <david.plowman@raspberrypi.com> | 2020-06-23 10:14:02 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-06-25 06:47:53 +0300 |
commit | 58e63a6e7e09f271793663024b9777fb6378c33b (patch) | |
tree | 8724fd5ffe45351c3c72b153265cbb2570147f9a /src/ipa/raspberrypi/controller/rpi/sharpen.hpp | |
parent | f68c6eb17ba5b501b5406b134901116969a27cb5 (diff) |
libcamera: ipa: raspberrypi: Make sharpening mode_factor an ordinary double
No need for it to be std::atomic as SwitchMode runs synchronously with
Prepare.
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/sharpen.hpp')
-rw-r--r-- | src/ipa/raspberrypi/controller/rpi/sharpen.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/raspberrypi/controller/rpi/sharpen.hpp b/src/ipa/raspberrypi/controller/rpi/sharpen.hpp index f871aa65..a3bf899d 100644 --- a/src/ipa/raspberrypi/controller/rpi/sharpen.hpp +++ b/src/ipa/raspberrypi/controller/rpi/sharpen.hpp @@ -26,7 +26,7 @@ private: double threshold_; double strength_; double limit_; - std::atomic<double> mode_factor_; + double mode_factor_; }; } // namespace RPi |