summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/cam_helper/cam_helper_imx283.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-09-26 12:29:28 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-09-30 10:56:49 +0300
commit09c291192c58fcf37a997aab273e3b0409a79277 (patch)
tree27e52c3c34cae0f81f5937ae1e537c7c8b935aad /src/ipa/rpi/cam_helper/cam_helper_imx283.cpp
parentfa2dfd55cc9e86589e505f9edc82a94b57405677 (diff)
ipa: rpi: Replace last users of math.h
As described in the coding style document, libcamera favours <cmath> over <math.h>. Replace the last few occurrences of the latter with the former in the Raspberry Pi IPA and adapt the code accordingly. In some cases, the <math.h> include is simply dropped as it isn't needed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src/ipa/rpi/cam_helper/cam_helper_imx283.cpp')
-rw-r--r--src/ipa/rpi/cam_helper/cam_helper_imx283.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/rpi/cam_helper/cam_helper_imx283.cpp b/src/ipa/rpi/cam_helper/cam_helper_imx283.cpp
index 1fd4d7f3..cb0be72a 100644
--- a/src/ipa/rpi/cam_helper/cam_helper_imx283.cpp
+++ b/src/ipa/rpi/cam_helper/cam_helper_imx283.cpp
@@ -8,7 +8,7 @@
#include <assert.h>
#include "cam_helper.h"
-#include "math.h"
+
using namespace RPiController;
class CamHelperImx283 : public CamHelper