libcamera: libcamera: Remove unused includes

The includes that are not used can be removed.  Additionally, add some
directly used includes not listed.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Milan Zamazal 2024-09-02 17:42:06 +02:00 committed by Laurent Pinchart
parent fd7fc9cca5
commit d3aa432305
13 changed files with 0 additions and 19 deletions

View file

@ -7,8 +7,6 @@
#include <libcamera/base/event_dispatcher_poll.h> #include <libcamera/base/event_dispatcher_poll.h>
#include <algorithm>
#include <chrono>
#include <iomanip> #include <iomanip>
#include <poll.h> #include <poll.h>
#include <stdint.h> #include <stdint.h>

View file

@ -9,7 +9,6 @@
#include <array> #include <array>
#include <atomic> #include <atomic>
#include <iomanip>
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include <libcamera/base/thread.h> #include <libcamera/base/thread.h>
@ -21,7 +20,6 @@
#include "libcamera/internal/camera.h" #include "libcamera/internal/camera.h"
#include "libcamera/internal/camera_controls.h" #include "libcamera/internal/camera_controls.h"
#include "libcamera/internal/formats.h"
#include "libcamera/internal/pipeline_handler.h" #include "libcamera/internal/pipeline_handler.h"
#include "libcamera/internal/request.h" #include "libcamera/internal/request.h"

View file

@ -7,7 +7,6 @@
#include <libcamera/controls.h> #include <libcamera/controls.h>
#include <iomanip>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <string.h> #include <string.h>

View file

@ -8,7 +8,6 @@
#include "libcamera/internal/converter/converter_v4l2_m2m.h" #include "libcamera/internal/converter/converter_v4l2_m2m.h"
#include <algorithm>
#include <limits.h> #include <limits.h>
#include <libcamera/base/log.h> #include <libcamera/base/log.h>

View file

@ -7,9 +7,6 @@
#include "libcamera/internal/formats.h" #include "libcamera/internal/formats.h"
#include <algorithm>
#include <errno.h>
#include <libcamera/base/log.h> #include <libcamera/base/log.h>
#include <libcamera/base/utils.h> #include <libcamera/base/utils.h>

View file

@ -8,7 +8,6 @@
#include "libcamera/internal/ipa_module.h" #include "libcamera/internal/ipa_module.h"
#include <algorithm> #include <algorithm>
#include <array>
#include <ctype.h> #include <ctype.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <elf.h> #include <elf.h>

View file

@ -7,7 +7,6 @@
#include "libcamera/internal/ipa_proxy.h" #include "libcamera/internal/ipa_proxy.h"
#include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>

View file

@ -8,7 +8,6 @@
#include <libcamera/orientation.h> #include <libcamera/orientation.h>
#include <array> #include <array>
#include <string>
/** /**
* \file orientation.h * \file orientation.h

View file

@ -22,7 +22,6 @@
#include "libcamera/internal/camera.h" #include "libcamera/internal/camera.h"
#include "libcamera/internal/camera_manager.h" #include "libcamera/internal/camera_manager.h"
#include "libcamera/internal/device_enumerator.h" #include "libcamera/internal/device_enumerator.h"
#include "libcamera/internal/framebuffer.h"
#include "libcamera/internal/media_device.h" #include "libcamera/internal/media_device.h"
#include "libcamera/internal/request.h" #include "libcamera/internal/request.h"
#include "libcamera/internal/tracepoints.h" #include "libcamera/internal/tracepoints.h"

View file

@ -10,7 +10,6 @@
#include <algorithm> #include <algorithm>
#include <dirent.h> #include <dirent.h>
#include <fcntl.h> #include <fcntl.h>
#include <iostream>
#include <list> #include <list>
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>

View file

@ -10,7 +10,6 @@
#include <algorithm> #include <algorithm>
#include <float.h> #include <float.h>
#include <iomanip>
#include <limits.h> #include <limits.h>
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
@ -24,7 +23,6 @@
#include "libcamera/internal/bayer_format.h" #include "libcamera/internal/bayer_format.h"
#include "libcamera/internal/camera_lens.h" #include "libcamera/internal/camera_lens.h"
#include "libcamera/internal/camera_sensor_properties.h" #include "libcamera/internal/camera_sensor_properties.h"
#include "libcamera/internal/formats.h"
#include "libcamera/internal/sysfs.h" #include "libcamera/internal/sysfs.h"
/** /**

View file

@ -10,7 +10,6 @@
#include "libcamera/internal/shared_mem_object.h" #include "libcamera/internal/shared_mem_object.h"
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/types.h> #include <sys/types.h>

View file

@ -9,9 +9,7 @@
#include <algorithm> #include <algorithm>
#include <array> #include <array>
#include <iomanip>
#include <limits.h> #include <limits.h>
#include <sstream>
#include <libcamera/request.h> #include <libcamera/request.h>