@@ -9,7 +9,6 @@
#include <deque>
#include <functional>
-#include <initializer_list>
#include <map>
#include <memory>
#include <stdint.h>
@@ -16,10 +16,10 @@
#include <libcamera/base/signal.h>
+#include <libcamera/framebuffer.h>
#include <libcamera/geometry.h>
#include "libcamera/internal/bayer_format.h"
-#include "libcamera/internal/framebuffer.h"
#include "libcamera/internal/shared_mem_object.h"
#include "libcamera/internal/software_isp/swisp_stats.h"
@@ -23,6 +23,7 @@
#include <libcamera/formats.h>
#include "libcamera/internal/bayer_format.h"
+#include "libcamera/internal/camera_manager.h"
#include "libcamera/internal/framebuffer.h"
#include "libcamera/internal/global_configuration.h"
#include "libcamera/internal/mapped_framebuffer.h"
@@ -18,8 +18,9 @@
#include <libcamera/base/mutex.h>
#include <libcamera/base/object.h>
+#include <libcamera/camera_manager.h>
+
#include "libcamera/internal/bayer_format.h"
-#include "libcamera/internal/camera_manager.h"
#include "libcamera/internal/software_isp/debayer_params.h"
#include "libcamera/internal/software_isp/swstats_cpu.h"
@@ -9,14 +9,19 @@
#include "debayer_egl.h"
-#include <cmath>
+#include <algorithm>
+#include <memory>
#include <stdlib.h>
-#include <time.h>
+#include <string>
+#include <tuple>
+#include <vector>
#include <libcamera/base/utils.h>
#include <libcamera/formats.h>
+#include "libcamera/internal/framebuffer.h"
+
#include "../glsl_shaders.h"
namespace libcamera {
@@ -11,15 +11,14 @@
#include <memory>
#include <stdint.h>
+#include <tuple>
#include <vector>
#define GL_GLEXT_PROTOTYPES
#define EGL_EGLEXT_PROTOTYPES
#include <libcamera/base/object.h>
-#include "libcamera/internal/bayer_format.h"
#include "libcamera/internal/egl.h"
-#include "libcamera/internal/framebuffer.h"
#include "libcamera/internal/mapped_framebuffer.h"
#include "libcamera/internal/software_isp/benchmark.h"
#include "libcamera/internal/software_isp/swstats_cpu.h"
@@ -7,8 +7,10 @@
#include "libcamera/internal/software_isp/software_isp.h"
-#include <cmath>
+#include <memory>
+#include <optional>
#include <stdint.h>
+#include <string>
#include <sys/mman.h>
#include <sys/types.h>
#include <unistd.h>
Remove unused #include's, move improper ones and add missing ones. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> --- include/libcamera/internal/software_isp/software_isp.h | 1 - include/libcamera/internal/software_isp/swstats_cpu.h | 2 +- src/libcamera/software_isp/debayer_cpu.cpp | 1 + src/libcamera/software_isp/debayer_cpu.h | 3 ++- src/libcamera/software_isp/debayer_egl.cpp | 9 +++++++-- src/libcamera/software_isp/debayer_egl.h | 3 +-- src/libcamera/software_isp/software_isp.cpp | 4 +++- 7 files changed, 15 insertions(+), 8 deletions(-)