summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipa/raspberrypi/cam_helper.cpp4
-rw-r--r--src/ipa/raspberrypi/cam_helper.h (renamed from src/ipa/raspberrypi/cam_helper.hpp)8
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx219.cpp4
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx290.cpp2
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx296.cpp2
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx477.cpp4
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx519.cpp4
-rw-r--r--src/ipa/raspberrypi/cam_helper_ov5647.cpp2
-rw-r--r--src/ipa/raspberrypi/cam_helper_ov9281.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/agc_algorithm.h (renamed from src/ipa/raspberrypi/controller/agc_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/algorithm.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/algorithm.h (renamed from src/ipa/raspberrypi/controller/algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/awb_algorithm.h (renamed from src/ipa/raspberrypi/controller/awb_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/ccm_algorithm.h (renamed from src/ipa/raspberrypi/controller/ccm_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/contrast_algorithm.h (renamed from src/ipa/raspberrypi/controller/contrast_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/controller.cpp4
-rw-r--r--src/ipa/raspberrypi/controller/controller.h (renamed from src/ipa/raspberrypi/controller/controller.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/denoise_algorithm.h (renamed from src/ipa/raspberrypi/controller/denoise_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/histogram.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/histogram.h (renamed from src/ipa/raspberrypi/controller/histogram.hpp)2
-rw-r--r--src/ipa/raspberrypi/controller/metadata.h (renamed from src/ipa/raspberrypi/controller/metadata.hpp)2
-rw-r--r--src/ipa/raspberrypi/controller/pwl.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/pwl.h (renamed from src/ipa/raspberrypi/controller/pwl.hpp)2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/agc.cpp6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/agc.h (renamed from src/ipa/raspberrypi/controller/rpi/agc.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/alsc.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/alsc.h (renamed from src/ipa/raspberrypi/controller/rpi/alsc.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/awb.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/awb.h (renamed from src/ipa/raspberrypi/controller/rpi/awb.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/black_level.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/black_level.h (renamed from src/ipa/raspberrypi/controller/rpi/black_level.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/ccm.cpp4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/ccm.h (renamed from src/ipa/raspberrypi/controller/rpi/ccm.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/contrast.cpp4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/contrast.h (renamed from src/ipa/raspberrypi/controller/rpi/contrast.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/dpc.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/dpc.h (renamed from src/ipa/raspberrypi/controller/rpi/dpc.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/focus.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/focus.h (renamed from src/ipa/raspberrypi/controller/rpi/focus.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/geq.cpp4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/geq.h (renamed from src/ipa/raspberrypi/controller/rpi/geq.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/lux.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/lux.h (renamed from src/ipa/raspberrypi/controller/rpi/lux.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/noise.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/noise.h (renamed from src/ipa/raspberrypi/controller/rpi/noise.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/rpi/sdn.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/sdn.h (renamed from src/ipa/raspberrypi/controller/rpi/sdn.hpp)6
-rw-r--r--src/ipa/raspberrypi/controller/rpi/sharpen.cpp2
-rw-r--r--src/ipa/raspberrypi/controller/rpi/sharpen.h (renamed from src/ipa/raspberrypi/controller/rpi/sharpen.hpp)4
-rw-r--r--src/ipa/raspberrypi/controller/sharpen_algorithm.h (renamed from src/ipa/raspberrypi/controller/sharpen_algorithm.hpp)4
-rw-r--r--src/ipa/raspberrypi/md_parser.h (renamed from src/ipa/raspberrypi/md_parser.hpp)2
-rw-r--r--src/ipa/raspberrypi/md_parser_smia.cpp2
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp18
53 files changed, 101 insertions, 101 deletions
diff --git a/src/ipa/raspberrypi/cam_helper.cpp b/src/ipa/raspberrypi/cam_helper.cpp
index 45db3950..7d136933 100644
--- a/src/ipa/raspberrypi/cam_helper.cpp
+++ b/src/ipa/raspberrypi/cam_helper.cpp
@@ -13,8 +13,8 @@
#include "libcamera/internal/v4l2_videodevice.h"
-#include "cam_helper.hpp"
-#include "md_parser.hpp"
+#include "cam_helper.h"
+#include "md_parser.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/cam_helper.hpp b/src/ipa/raspberrypi/cam_helper.h
index 2408fa15..6c52bb52 100644
--- a/src/ipa/raspberrypi/cam_helper.hpp
+++ b/src/ipa/raspberrypi/cam_helper.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * cam_helper.hpp - helper class providing camera information
+ * cam_helper.h - helper class providing camera information
*/
#pragma once
@@ -13,9 +13,9 @@
#include <libcamera/base/utils.h>
#include "camera_mode.h"
-#include "controller/controller.hpp"
-#include "controller/metadata.hpp"
-#include "md_parser.hpp"
+#include "controller/controller.h"
+#include "controller/metadata.h"
+#include "md_parser.h"
#include "libcamera/internal/v4l2_videodevice.h"
diff --git a/src/ipa/raspberrypi/cam_helper_imx219.cpp b/src/ipa/raspberrypi/cam_helper_imx219.cpp
index 17c35143..47af2c35 100644
--- a/src/ipa/raspberrypi/cam_helper_imx219.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx219.cpp
@@ -16,9 +16,9 @@
*/
#define ENABLE_EMBEDDED_DATA 0
-#include "cam_helper.hpp"
+#include "cam_helper.h"
#if ENABLE_EMBEDDED_DATA
-#include "md_parser.hpp"
+#include "md_parser.h"
#endif
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/cam_helper_imx290.cpp b/src/ipa/raspberrypi/cam_helper_imx290.cpp
index 0d9a94d8..94f07b86 100644
--- a/src/ipa/raspberrypi/cam_helper_imx290.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx290.cpp
@@ -7,7 +7,7 @@
#include <math.h>
-#include "cam_helper.hpp"
+#include "cam_helper.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/cam_helper_imx296.cpp b/src/ipa/raspberrypi/cam_helper_imx296.cpp
index 15674335..3c762536 100644
--- a/src/ipa/raspberrypi/cam_helper_imx296.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx296.cpp
@@ -9,7 +9,7 @@
#include <cmath>
#include <stddef.h>
-#include "cam_helper.hpp"
+#include "cam_helper.h"
using namespace RPiController;
using libcamera::utils::Duration;
diff --git a/src/ipa/raspberrypi/cam_helper_imx477.cpp b/src/ipa/raspberrypi/cam_helper_imx477.cpp
index 0767a5e1..2f267c04 100644
--- a/src/ipa/raspberrypi/cam_helper_imx477.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx477.cpp
@@ -14,8 +14,8 @@
#include <libcamera/base/log.h>
-#include "cam_helper.hpp"
-#include "md_parser.hpp"
+#include "cam_helper.h"
+#include "md_parser.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/cam_helper_imx519.cpp b/src/ipa/raspberrypi/cam_helper_imx519.cpp
index 1752760e..ab09baab 100644
--- a/src/ipa/raspberrypi/cam_helper_imx519.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx519.cpp
@@ -15,8 +15,8 @@
#include <libcamera/base/log.h>
-#include "cam_helper.hpp"
-#include "md_parser.hpp"
+#include "cam_helper.h"
+#include "md_parser.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/cam_helper_ov5647.cpp b/src/ipa/raspberrypi/cam_helper_ov5647.cpp
index 9dc3fc44..70c88484 100644
--- a/src/ipa/raspberrypi/cam_helper_ov5647.cpp
+++ b/src/ipa/raspberrypi/cam_helper_ov5647.cpp
@@ -7,7 +7,7 @@
#include <assert.h>
-#include "cam_helper.hpp"
+#include "cam_helper.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/cam_helper_ov9281.cpp b/src/ipa/raspberrypi/cam_helper_ov9281.cpp
index 130450af..a63a391b 100644
--- a/src/ipa/raspberrypi/cam_helper_ov9281.cpp
+++ b/src/ipa/raspberrypi/cam_helper_ov9281.cpp
@@ -7,7 +7,7 @@
#include <assert.h>
-#include "cam_helper.hpp"
+#include "cam_helper.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/controller/agc_algorithm.hpp b/src/ipa/raspberrypi/controller/agc_algorithm.h
index b718e595..610cf7d8 100644
--- a/src/ipa/raspberrypi/controller/agc_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/agc_algorithm.h
@@ -2,13 +2,13 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * agc_algorithm.hpp - AGC/AEC control algorithm interface
+ * agc_algorithm.h - AGC/AEC control algorithm interface
*/
#pragma once
#include <libcamera/base/utils.h>
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/algorithm.cpp b/src/ipa/raspberrypi/controller/algorithm.cpp
index e3afa647..a28a02ad 100644
--- a/src/ipa/raspberrypi/controller/algorithm.cpp
+++ b/src/ipa/raspberrypi/controller/algorithm.cpp
@@ -5,7 +5,7 @@
* algorithm.cpp - ISP control algorithms
*/
-#include "algorithm.hpp"
+#include "algorithm.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/controller/algorithm.hpp b/src/ipa/raspberrypi/controller/algorithm.h
index cad7c15b..ce3ca95f 100644
--- a/src/ipa/raspberrypi/controller/algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/algorithm.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * algorithm.hpp - ISP control algorithm interface
+ * algorithm.h - ISP control algorithm interface
*/
#pragma once
@@ -15,7 +15,7 @@
#include <memory>
#include <map>
-#include "controller.hpp"
+#include "controller.h"
#include <boost/property_tree/ptree.hpp>
diff --git a/src/ipa/raspberrypi/controller/awb_algorithm.hpp b/src/ipa/raspberrypi/controller/awb_algorithm.h
index 0de74fce..712c1aa1 100644
--- a/src/ipa/raspberrypi/controller/awb_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/awb_algorithm.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * awb_algorithm.hpp - AWB control algorithm interface
+ * awb_algorithm.h - AWB control algorithm interface
*/
#pragma once
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/ccm_algorithm.hpp b/src/ipa/raspberrypi/controller/ccm_algorithm.h
index 9c7172f5..324eae14 100644
--- a/src/ipa/raspberrypi/controller/ccm_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/ccm_algorithm.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * ccm_algorithm.hpp - CCM (colour correction matrix) control algorithm interface
+ * ccm_algorithm.h - CCM (colour correction matrix) control algorithm interface
*/
#pragma once
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/contrast_algorithm.hpp b/src/ipa/raspberrypi/controller/contrast_algorithm.h
index 1c0562e1..eaba6215 100644
--- a/src/ipa/raspberrypi/controller/contrast_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/contrast_algorithm.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * contrast_algorithm.hpp - contrast (gamma) control algorithm interface
+ * contrast_algorithm.h - contrast (gamma) control algorithm interface
*/
#pragma once
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/controller.cpp b/src/ipa/raspberrypi/controller/controller.cpp
index 6d95fa55..46229d68 100644
--- a/src/ipa/raspberrypi/controller/controller.cpp
+++ b/src/ipa/raspberrypi/controller/controller.cpp
@@ -7,8 +7,8 @@
#include <libcamera/base/log.h>
-#include "algorithm.hpp"
-#include "controller.hpp"
+#include "algorithm.h"
+#include "controller.h"
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp>
diff --git a/src/ipa/raspberrypi/controller/controller.hpp b/src/ipa/raspberrypi/controller/controller.h
index 29b2e8f3..be8ae8f9 100644
--- a/src/ipa/raspberrypi/controller/controller.hpp
+++ b/src/ipa/raspberrypi/controller/controller.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * controller.hpp - ISP controller interface
+ * controller.h - ISP controller interface
*/
#pragma once
@@ -19,7 +19,7 @@
#include "camera_mode.h"
#include "device_status.h"
-#include "metadata.hpp"
+#include "metadata.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/denoise_algorithm.hpp b/src/ipa/raspberrypi/controller/denoise_algorithm.h
index 7004fe55..15a45a41 100644
--- a/src/ipa/raspberrypi/controller/denoise_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/denoise_algorithm.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2021, Raspberry Pi (Trading) Limited
*
- * denoise.hpp - Denoise control algorithm interface
+ * denoise.h - Denoise control algorithm interface
*/
#pragma once
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/histogram.cpp b/src/ipa/raspberrypi/controller/histogram.cpp
index 91a759b5..f0c4adaf 100644
--- a/src/ipa/raspberrypi/controller/histogram.cpp
+++ b/src/ipa/raspberrypi/controller/histogram.cpp
@@ -7,7 +7,7 @@
#include <math.h>
#include <stdio.h>
-#include "histogram.hpp"
+#include "histogram.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/controller/histogram.hpp b/src/ipa/raspberrypi/controller/histogram.h
index 2ed8d971..33ba76c1 100644
--- a/src/ipa/raspberrypi/controller/histogram.hpp
+++ b/src/ipa/raspberrypi/controller/histogram.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * histogram.hpp - histogram calculation interface
+ * histogram.h - histogram calculation interface
*/
#pragma once
diff --git a/src/ipa/raspberrypi/controller/metadata.hpp b/src/ipa/raspberrypi/controller/metadata.h
index 9f73e61e..e46d0f9f 100644
--- a/src/ipa/raspberrypi/controller/metadata.hpp
+++ b/src/ipa/raspberrypi/controller/metadata.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019-2021, Raspberry Pi (Trading) Limited
*
- * metadata.hpp - general metadata class
+ * metadata.h - general metadata class
*/
#pragma once
diff --git a/src/ipa/raspberrypi/controller/pwl.cpp b/src/ipa/raspberrypi/controller/pwl.cpp
index d93cd201..b02979f0 100644
--- a/src/ipa/raspberrypi/controller/pwl.cpp
+++ b/src/ipa/raspberrypi/controller/pwl.cpp
@@ -8,7 +8,7 @@
#include <cassert>
#include <stdexcept>
-#include "pwl.hpp"
+#include "pwl.h"
using namespace RPiController;
diff --git a/src/ipa/raspberrypi/controller/pwl.hpp b/src/ipa/raspberrypi/controller/pwl.h
index e409c966..128990c5 100644
--- a/src/ipa/raspberrypi/controller/pwl.hpp
+++ b/src/ipa/raspberrypi/controller/pwl.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * pwl.hpp - piecewise linear functions interface
+ * pwl.h - piecewise linear functions interface
*/
#pragma once
diff --git a/src/ipa/raspberrypi/controller/rpi/agc.cpp b/src/ipa/raspberrypi/controller/rpi/agc.cpp
index 5a282a42..f18c2cd0 100644
--- a/src/ipa/raspberrypi/controller/rpi/agc.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/agc.cpp
@@ -13,11 +13,11 @@
#include "../awb_status.h"
#include "../device_status.h"
-#include "../histogram.hpp"
+#include "../histogram.h"
#include "../lux_status.h"
-#include "../metadata.hpp"
+#include "../metadata.h"
-#include "agc.hpp"
+#include "agc.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/agc.hpp b/src/ipa/raspberrypi/controller/rpi/agc.h
index c2d68b60..d6b19d6f 100644
--- a/src/ipa/raspberrypi/controller/rpi/agc.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/agc.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * agc.hpp - AGC/AEC control algorithm
+ * agc.h - AGC/AEC control algorithm
*/
#pragma once
@@ -11,9 +11,9 @@
#include <libcamera/base/utils.h>
-#include "../agc_algorithm.hpp"
+#include "../agc_algorithm.h"
#include "../agc_status.h"
-#include "../pwl.hpp"
+#include "../pwl.h"
/* This is our implementation of AGC. */
diff --git a/src/ipa/raspberrypi/controller/rpi/alsc.cpp b/src/ipa/raspberrypi/controller/rpi/alsc.cpp
index 6fd95a31..709e069d 100644
--- a/src/ipa/raspberrypi/controller/rpi/alsc.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/alsc.cpp
@@ -12,7 +12,7 @@
#include <libcamera/base/span.h>
#include "../awb_status.h"
-#include "alsc.hpp"
+#include "alsc.h"
/* Raspberry Pi ALSC (Auto Lens Shading Correction) algorithm. */
diff --git a/src/ipa/raspberrypi/controller/rpi/alsc.hpp b/src/ipa/raspberrypi/controller/rpi/alsc.h
index 3ffc175d..1ee88a66 100644
--- a/src/ipa/raspberrypi/controller/rpi/alsc.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/alsc.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * alsc.hpp - ALSC (auto lens shading correction) control algorithm
+ * alsc.h - ALSC (auto lens shading correction) control algorithm
*/
#pragma once
@@ -10,7 +10,7 @@
#include <condition_variable>
#include <thread>
-#include "../algorithm.hpp"
+#include "../algorithm.h"
#include "../alsc_status.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/awb.cpp b/src/ipa/raspberrypi/controller/rpi/awb.cpp
index e4ed114d..33ef84a6 100644
--- a/src/ipa/raspberrypi/controller/rpi/awb.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/awb.cpp
@@ -9,7 +9,7 @@
#include "../lux_status.h"
-#include "awb.hpp"
+#include "awb.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/awb.hpp b/src/ipa/raspberrypi/controller/rpi/awb.h
index 91854853..cc54afbc 100644
--- a/src/ipa/raspberrypi/controller/rpi/awb.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/awb.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * awb.hpp - AWB control algorithm
+ * awb.h - AWB control algorithm
*/
#pragma once
@@ -10,8 +10,8 @@
#include <condition_variable>
#include <thread>
-#include "../awb_algorithm.hpp"
-#include "../pwl.hpp"
+#include "../awb_algorithm.h"
+#include "../pwl.h"
#include "../awb_status.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/black_level.cpp b/src/ipa/raspberrypi/controller/rpi/black_level.cpp
index 26cf073a..ebead6a9 100644
--- a/src/ipa/raspberrypi/controller/rpi/black_level.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/black_level.cpp
@@ -12,7 +12,7 @@
#include "../black_level_status.h"
-#include "black_level.hpp"
+#include "black_level.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/black_level.hpp b/src/ipa/raspberrypi/controller/rpi/black_level.h
index f01c5515..ecb83e35 100644
--- a/src/ipa/raspberrypi/controller/rpi/black_level.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/black_level.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * black_level.hpp - black level control algorithm
+ * black_level.h - black level control algorithm
*/
#pragma once
-#include "../algorithm.hpp"
+#include "../algorithm.h"
#include "../black_level_status.h"
/* This is our implementation of the "black level algorithm". */
diff --git a/src/ipa/raspberrypi/controller/rpi/ccm.cpp b/src/ipa/raspberrypi/controller/rpi/ccm.cpp
index 9ad63b6e..a81358d5 100644
--- a/src/ipa/raspberrypi/controller/rpi/ccm.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/ccm.cpp
@@ -10,9 +10,9 @@
#include "../awb_status.h"
#include "../ccm_status.h"
#include "../lux_status.h"
-#include "../metadata.hpp"
+#include "../metadata.h"
-#include "ccm.hpp"
+#include "ccm.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/ccm.hpp b/src/ipa/raspberrypi/controller/rpi/ccm.h
index 7622044c..57c3518e 100644
--- a/src/ipa/raspberrypi/controller/rpi/ccm.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/ccm.h
@@ -2,14 +2,14 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * ccm.hpp - CCM (colour correction matrix) control algorithm
+ * ccm.h - CCM (colour correction matrix) control algorithm
*/
#pragma once
#include <vector>
-#include "../ccm_algorithm.hpp"
-#include "../pwl.hpp"
+#include "../ccm_algorithm.h"
+#include "../pwl.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/contrast.cpp b/src/ipa/raspberrypi/controller/rpi/contrast.cpp
index f11c834a..3e017734 100644
--- a/src/ipa/raspberrypi/controller/rpi/contrast.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/contrast.cpp
@@ -9,9 +9,9 @@
#include <libcamera/base/log.h>
#include "../contrast_status.h"
-#include "../histogram.hpp"
+#include "../histogram.h"
-#include "contrast.hpp"
+#include "contrast.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/contrast.hpp b/src/ipa/raspberrypi/controller/rpi/contrast.h
index 4793dedc..4568e087 100644
--- a/src/ipa/raspberrypi/controller/rpi/contrast.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/contrast.h
@@ -2,14 +2,14 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * contrast.hpp - contrast (gamma) control algorithm
+ * contrast.h - contrast (gamma) control algorithm
*/
#pragma once
#include <mutex>
-#include "../contrast_algorithm.hpp"
-#include "../pwl.hpp"
+#include "../contrast_algorithm.h"
+#include "../pwl.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/dpc.cpp b/src/ipa/raspberrypi/controller/rpi/dpc.cpp
index 68ba5e3e..af3c88d7 100644
--- a/src/ipa/raspberrypi/controller/rpi/dpc.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/dpc.cpp
@@ -7,7 +7,7 @@
#include <libcamera/base/log.h>
-#include "dpc.hpp"
+#include "dpc.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/dpc.hpp b/src/ipa/raspberrypi/controller/rpi/dpc.h
index 048fa2b8..d3fce5e3 100644
--- a/src/ipa/raspberrypi/controller/rpi/dpc.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/dpc.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * dpc.hpp - DPC (defective pixel correction) control algorithm
+ * dpc.h - DPC (defective pixel correction) control algorithm
*/
#pragma once
-#include "../algorithm.hpp"
+#include "../algorithm.h"
#include "../dpc_status.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/focus.cpp b/src/ipa/raspberrypi/controller/rpi/focus.cpp
index 90f36e58..22f376b7 100644
--- a/src/ipa/raspberrypi/controller/rpi/focus.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/focus.cpp
@@ -9,7 +9,7 @@
#include <libcamera/base/log.h>
#include "../focus_status.h"
-#include "focus.hpp"
+#include "focus.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/focus.hpp b/src/ipa/raspberrypi/controller/rpi/focus.h
index a9207eb3..3b71d686 100644
--- a/src/ipa/raspberrypi/controller/rpi/focus.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/focus.h
@@ -2,12 +2,12 @@
/*
* Copyright (C) 2020, Raspberry Pi (Trading) Limited
*
- * focus.hpp - focus algorithm
+ * focus.h - focus algorithm
*/
#pragma once
-#include "../algorithm.hpp"
-#include "../metadata.hpp"
+#include "../algorithm.h"
+#include "../metadata.h"
/*
* The "focus" algorithm. All it does it print out a version of the
diff --git a/src/ipa/raspberrypi/controller/rpi/geq.cpp b/src/ipa/raspberrypi/controller/rpi/geq.cpp
index 14f226cf..1a94c45e 100644
--- a/src/ipa/raspberrypi/controller/rpi/geq.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/geq.cpp
@@ -9,9 +9,9 @@
#include "../device_status.h"
#include "../lux_status.h"
-#include "../pwl.hpp"
+#include "../pwl.h"
-#include "geq.hpp"
+#include "geq.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/geq.hpp b/src/ipa/raspberrypi/controller/rpi/geq.h
index 5ea424fc..54f72cce 100644
--- a/src/ipa/raspberrypi/controller/rpi/geq.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/geq.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * geq.hpp - GEQ (green equalisation) control algorithm
+ * geq.h - GEQ (green equalisation) control algorithm
*/
#pragma once
-#include "../algorithm.hpp"
+#include "../algorithm.h"
#include "../geq_status.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/lux.cpp b/src/ipa/raspberrypi/controller/rpi/lux.cpp
index a76ec729..218ded7d 100644
--- a/src/ipa/raspberrypi/controller/rpi/lux.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/lux.cpp
@@ -12,7 +12,7 @@
#include "../device_status.h"
-#include "lux.hpp"
+#include "lux.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/lux.hpp b/src/ipa/raspberrypi/controller/rpi/lux.h
index 5488299b..530470c2 100644
--- a/src/ipa/raspberrypi/controller/rpi/lux.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/lux.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * lux.hpp - Lux control algorithm
+ * lux.h - Lux control algorithm
*/
#pragma once
@@ -11,7 +11,7 @@
#include <libcamera/base/utils.h>
#include "../lux_status.h"
-#include "../algorithm.hpp"
+#include "../algorithm.h"
/* This is our implementation of the "lux control algorithm". */
diff --git a/src/ipa/raspberrypi/controller/rpi/noise.cpp b/src/ipa/raspberrypi/controller/rpi/noise.cpp
index 5d87822e..aaaafe6b 100644
--- a/src/ipa/raspberrypi/controller/rpi/noise.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/noise.cpp
@@ -12,7 +12,7 @@
#include "../device_status.h"
#include "../noise_status.h"
-#include "noise.hpp"
+#include "noise.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/noise.hpp b/src/ipa/raspberrypi/controller/rpi/noise.h
index 56a4707b..cf56fafe 100644
--- a/src/ipa/raspberrypi/controller/rpi/noise.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/noise.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * noise.hpp - Noise control algorithm
+ * noise.h - Noise control algorithm
*/
#pragma once
-#include "../algorithm.hpp"
+#include "../algorithm.h"
#include "../noise_status.h"
/* This is our implementation of the "noise algorithm". */
diff --git a/src/ipa/raspberrypi/controller/rpi/sdn.cpp b/src/ipa/raspberrypi/controller/rpi/sdn.cpp
index 2f6b8764..4fe1da33 100644
--- a/src/ipa/raspberrypi/controller/rpi/sdn.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/sdn.cpp
@@ -10,7 +10,7 @@
#include "../denoise_status.h"
#include "../noise_status.h"
-#include "sdn.hpp"
+#include "sdn.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/sdn.hpp b/src/ipa/raspberrypi/controller/rpi/sdn.h
index 8b6e3db1..72d9d3ff 100644
--- a/src/ipa/raspberrypi/controller/rpi/sdn.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/sdn.h
@@ -2,12 +2,12 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * sdn.hpp - SDN (spatial denoise) control algorithm
+ * sdn.h - SDN (spatial denoise) control algorithm
*/
#pragma once
-#include "../algorithm.hpp"
-#include "../denoise_algorithm.hpp"
+#include "../algorithm.h"
+#include "../denoise_algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/controller/rpi/sharpen.cpp b/src/ipa/raspberrypi/controller/rpi/sharpen.cpp
index 9b7f903a..71c8e529 100644
--- a/src/ipa/raspberrypi/controller/rpi/sharpen.cpp
+++ b/src/ipa/raspberrypi/controller/rpi/sharpen.cpp
@@ -11,7 +11,7 @@
#include "../sharpen_status.h"
-#include "sharpen.hpp"
+#include "sharpen.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/controller/rpi/sharpen.hpp b/src/ipa/raspberrypi/controller/rpi/sharpen.h
index 18c45fd4..643fb94e 100644
--- a/src/ipa/raspberrypi/controller/rpi/sharpen.hpp
+++ b/src/ipa/raspberrypi/controller/rpi/sharpen.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * sharpen.hpp - sharpening control algorithm
+ * sharpen.h - sharpening control algorithm
*/
#pragma once
-#include "../sharpen_algorithm.hpp"
+#include "../sharpen_algorithm.h"
#include "../sharpen_status.h"
/* This is our implementation of the "sharpen algorithm". */
diff --git a/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp b/src/ipa/raspberrypi/controller/sharpen_algorithm.h
index 22cc6090..3f585f64 100644
--- a/src/ipa/raspberrypi/controller/sharpen_algorithm.hpp
+++ b/src/ipa/raspberrypi/controller/sharpen_algorithm.h
@@ -2,11 +2,11 @@
/*
* Copyright (C) 2020, Raspberry Pi (Trading) Limited
*
- * sharpen_algorithm.hpp - sharpness control algorithm interface
+ * sharpen_algorithm.h - sharpness control algorithm interface
*/
#pragma once
-#include "algorithm.hpp"
+#include "algorithm.h"
namespace RPiController {
diff --git a/src/ipa/raspberrypi/md_parser.hpp b/src/ipa/raspberrypi/md_parser.h
index c9aeed2c..1cb461cb 100644
--- a/src/ipa/raspberrypi/md_parser.hpp
+++ b/src/ipa/raspberrypi/md_parser.h
@@ -2,7 +2,7 @@
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
- * md_parser.hpp - image sensor metadata parser interface
+ * md_parser.h - image sensor metadata parser interface
*/
#pragma once
diff --git a/src/ipa/raspberrypi/md_parser_smia.cpp b/src/ipa/raspberrypi/md_parser_smia.cpp
index 10d677fb..0a1f2660 100644
--- a/src/ipa/raspberrypi/md_parser_smia.cpp
+++ b/src/ipa/raspberrypi/md_parser_smia.cpp
@@ -6,7 +6,7 @@
*/
#include <libcamera/base/log.h>
-#include "md_parser.hpp"
+#include "md_parser.h"
using namespace RPiController;
using namespace libcamera;
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index f315ebcd..28225717 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -29,27 +29,27 @@
#include "libcamera/internal/mapped_framebuffer.h"
-#include "agc_algorithm.hpp"
+#include "agc_algorithm.h"
#include "agc_status.h"
#include "alsc_status.h"
-#include "awb_algorithm.hpp"
+#include "awb_algorithm.h"
#include "awb_status.h"
#include "black_level_status.h"
-#include "cam_helper.hpp"
-#include "ccm_algorithm.hpp"
+#include "cam_helper.h"
+#include "ccm_algorithm.h"
#include "ccm_status.h"
-#include "contrast_algorithm.hpp"
+#include "contrast_algorithm.h"
#include "contrast_status.h"
-#include "controller.hpp"
-#include "denoise_algorithm.hpp"
+#include "controller.h"
+#include "denoise_algorithm.h"
#include "denoise_status.h"
#include "dpc_status.h"
#include "focus_status.h"
#include "geq_status.h"
#include "lux_status.h"
-#include "metadata.hpp"
+#include "metadata.h"
#include "noise_status.h"
-#include "sharpen_algorithm.hpp"
+#include "sharpen_algorithm.h"
#include "sharpen_status.h"
namespace libcamera {