libcamera: Move internal headers to include/libcamera/internal/
The libcamera internal headers are located in src/libcamera/include/. The directory is added to the compiler headers search path with a meson include_directories() directive, and internal headers are included with (e.g. for the internal semaphore.h header) #include "semaphore.h" All was well, until libcxx decided to implement the C++20 synchronization library. The __threading_support header gained a #include <semaphore.h> to include the pthread's semaphore support. As include_directories() adds src/libcamera/include/ to the compiler search path with -I, the internal semaphore.h is included instead of the pthread version. Needless to say, the compiler isn't happy. Three options have been considered to fix this issue: - Use -iquote instead of -I. The -iquote option instructs gcc to only consider the header search path for headers included with the "" version. Meson unfortunately doesn't support this option. - Rename the internal semaphore.h header. This was deemed to be the beginning of a long whack-a-mole game, where namespace clashes with system libraries would appear over time (possibly dependent on particular system configurations) and would need to be constantly fixed. - Move the internal headers to another directory to create a unique namespace through path components. This causes lots of churn in all the existing source files through the all project. The first option would be best, but isn't available to us due to missing support in meson. Even if -iquote support was added, we would need to fix the problem before a new version of meson containing the required support would be released. The third option is thus the only practical solution available. Bite the bullet, and do it, moving headers to include/libcamera/internal/. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
79c5df21dd
commit
93e72b695e
157 changed files with 384 additions and 360 deletions
|
@ -842,10 +842,10 @@ RECURSIVE = YES
|
||||||
# run.
|
# run.
|
||||||
|
|
||||||
EXCLUDE = @TOP_SRCDIR@/include/libcamera/span.h \
|
EXCLUDE = @TOP_SRCDIR@/include/libcamera/span.h \
|
||||||
|
@TOP_SRCDIR@/include/libcamera/internal/device_enumerator_sysfs.h \
|
||||||
|
@TOP_SRCDIR@/include/libcamera/internal/device_enumerator_udev.h \
|
||||||
@TOP_SRCDIR@/src/libcamera/device_enumerator_sysfs.cpp \
|
@TOP_SRCDIR@/src/libcamera/device_enumerator_sysfs.cpp \
|
||||||
@TOP_SRCDIR@/src/libcamera/device_enumerator_udev.cpp \
|
@TOP_SRCDIR@/src/libcamera/device_enumerator_udev.cpp \
|
||||||
@TOP_SRCDIR@/src/libcamera/include/device_enumerator_sysfs.h \
|
|
||||||
@TOP_SRCDIR@/src/libcamera/include/device_enumerator_udev.h \
|
|
||||||
@TOP_SRCDIR@/src/libcamera/pipeline/ \
|
@TOP_SRCDIR@/src/libcamera/pipeline/ \
|
||||||
@TOP_SRCDIR@/src/libcamera/proxy/
|
@TOP_SRCDIR@/src/libcamera/proxy/
|
||||||
|
|
||||||
|
@ -2053,7 +2053,7 @@ SEARCH_INCLUDES = YES
|
||||||
# preprocessor.
|
# preprocessor.
|
||||||
# This tag requires that the tag SEARCH_INCLUDES is set to YES.
|
# This tag requires that the tag SEARCH_INCLUDES is set to YES.
|
||||||
|
|
||||||
INCLUDE_PATH = "@TOP_SRCDIR@/include/libcamera" "@TOP_SRCDIR@/src/libcamera/include"
|
INCLUDE_PATH = "@TOP_SRCDIR@/include/libcamera"
|
||||||
|
|
||||||
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
|
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
|
||||||
# patterns (like *.h and *.hpp) to filter out the header-files in the
|
# patterns (like *.h and *.hpp) to filter out the header-files in the
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#ifndef __LIBCAMERA_CAMERA_CONTROLS_H__
|
#ifndef __LIBCAMERA_CAMERA_CONTROLS_H__
|
||||||
#define __LIBCAMERA_CAMERA_CONTROLS_H__
|
#define __LIBCAMERA_CAMERA_CONTROLS_H__
|
||||||
|
|
||||||
#include "control_validator.h"
|
#include "libcamera/internal/control_validator.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
#include <libcamera/geometry.h>
|
#include <libcamera/geometry.h>
|
||||||
|
|
||||||
#include "formats.h"
|
#include "libcamera/internal/formats.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
|
|
||||||
class MediaDevice;
|
class MediaDevice;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
|
|
||||||
struct udev;
|
struct udev;
|
||||||
struct udev_device;
|
struct udev_device;
|
|
@ -14,7 +14,7 @@
|
||||||
#include <libcamera/geometry.h>
|
#include <libcamera/geometry.h>
|
||||||
#include <libcamera/pixelformats.h>
|
#include <libcamera/pixelformats.h>
|
||||||
|
|
||||||
#include "v4l2_pixelformat.h"
|
#include "libcamera/internal/v4l2_pixelformat.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
|
|
||||||
#include "control_serializer.h"
|
#include "libcamera/internal/control_serializer.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
#include <ipa/ipa_module_info.h>
|
#include <ipa/ipa_module_info.h>
|
||||||
|
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "pub_key.h"
|
#include "libcamera/internal/pub_key.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
#include <ipa/ipa_module_info.h>
|
#include <ipa/ipa_module_info.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
|
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_object.h"
|
#include "libcamera/internal/media_object.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <libcamera/object.h>
|
#include <libcamera/object.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "ipa_proxy.h"
|
#include "libcamera/internal/ipa_proxy.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
|
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "v4l2_controls.h"
|
#include "libcamera/internal/v4l2_controls.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
|
|
||||||
#include <libcamera/geometry.h>
|
#include <libcamera/geometry.h>
|
||||||
|
|
||||||
#include "formats.h"
|
#include "libcamera/internal/formats.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_object.h"
|
#include "libcamera/internal/media_object.h"
|
||||||
#include "v4l2_device.h"
|
#include "libcamera/internal/v4l2_device.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -20,10 +20,10 @@
|
||||||
#include <libcamera/pixelformats.h>
|
#include <libcamera/pixelformats.h>
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "formats.h"
|
#include "libcamera/internal/formats.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "v4l2_device.h"
|
#include "libcamera/internal/v4l2_device.h"
|
||||||
#include "v4l2_pixelformat.h"
|
#include "libcamera/internal/v4l2_pixelformat.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -23,6 +23,8 @@ libcamera_api = files([
|
||||||
|
|
||||||
include_dir = join_paths(libcamera_include_dir, 'libcamera')
|
include_dir = join_paths(libcamera_include_dir, 'libcamera')
|
||||||
|
|
||||||
|
subdir('internal')
|
||||||
|
|
||||||
install_headers(libcamera_api,
|
install_headers(libcamera_api,
|
||||||
subdir : include_dir)
|
subdir : include_dir)
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,10 @@
|
||||||
|
|
||||||
#include <hardware/camera_common.h>
|
#include <hardware/camera_common.h>
|
||||||
|
|
||||||
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
#include "camera_device.h"
|
#include "camera_device.h"
|
||||||
#include "camera_hal_manager.h"
|
#include "camera_hal_manager.h"
|
||||||
#include "log.h"
|
|
||||||
|
|
||||||
using namespace libcamera;
|
using namespace libcamera;
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
#include <libcamera/property_ids.h>
|
#include <libcamera/property_ids.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
#include "camera_metadata.h"
|
#include "camera_metadata.h"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "message.h"
|
#include "libcamera/internal/message.h"
|
||||||
|
|
||||||
class CameraMetadata;
|
class CameraMetadata;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <libcamera/camera.h>
|
#include <libcamera/camera.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
#include "camera_device.h"
|
#include "camera_device.h"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "camera_metadata.h"
|
#include "camera_metadata.h"
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
using namespace libcamera;
|
using namespace libcamera;
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
|
|
||||||
#include "byte_stream_buffer.h"
|
#include "libcamera/internal/byte_stream_buffer.h"
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipa_interface_wrapper.h
|
* \file ipa_interface_wrapper.h
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
|
|
||||||
#include "control_serializer.h"
|
#include "libcamera/internal/control_serializer.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ ipa_sysconf_dir = join_paths(get_option('sysconfdir'), 'libcamera', 'ipa')
|
||||||
|
|
||||||
ipa_includes = [
|
ipa_includes = [
|
||||||
libcamera_includes,
|
libcamera_includes,
|
||||||
libcamera_internal_includes,
|
|
||||||
]
|
]
|
||||||
|
|
||||||
config_h.set('IPA_CONFIG_DIR',
|
config_h.set('IPA_CONFIG_DIR',
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
#include "cam_helper.hpp"
|
#include "cam_helper.hpp"
|
||||||
#include "md_parser.hpp"
|
#include "md_parser.hpp"
|
||||||
|
|
||||||
#include "v4l2_videodevice.h"
|
|
||||||
|
|
||||||
using namespace RPi;
|
using namespace RPi;
|
||||||
|
|
||||||
static std::map<std::string, CamHelperCreateFunc> cam_helpers;
|
static std::map<std::string, CamHelperCreateFunc> cam_helpers;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include "camera_mode.h"
|
#include "camera_mode.h"
|
||||||
#include "md_parser.hpp"
|
#include "md_parser.hpp"
|
||||||
|
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace RPi {
|
namespace RPi {
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
#include <libcamera/span.h>
|
#include <libcamera/span.h>
|
||||||
#include <libipa/ipa_interface_wrapper.h>
|
#include <libipa/ipa_interface_wrapper.h>
|
||||||
|
|
||||||
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
|
#include "libcamera/internal/log.h"
|
||||||
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
#include <linux/bcm2835-isp.h>
|
#include <linux/bcm2835-isp.h>
|
||||||
|
|
||||||
#include "agc_algorithm.hpp"
|
#include "agc_algorithm.hpp"
|
||||||
|
@ -44,10 +48,6 @@
|
||||||
#include "sdn_status.h"
|
#include "sdn_status.h"
|
||||||
#include "sharpen_status.h"
|
#include "sharpen_status.h"
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
|
||||||
#include "log.h"
|
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
/* Configure the sensor with these values initially. */
|
/* Configure the sensor with these values initially. */
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libipa/ipa_interface_wrapper.h>
|
#include <libipa/ipa_interface_wrapper.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
#include <libipa/ipa_interface_wrapper.h>
|
#include <libipa/ipa_interface_wrapper.h>
|
||||||
|
|
||||||
#include "file.h"
|
#include "libcamera/internal/file.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
#include <libcamera/bound_method.h>
|
#include <libcamera/bound_method.h>
|
||||||
|
|
||||||
#include "message.h"
|
#include "libcamera/internal/message.h"
|
||||||
#include "semaphore.h"
|
#include "libcamera/internal/semaphore.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file bound_method.h
|
* \file bound_method.h
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file buffer.h
|
* \file buffer.h
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
* byte_stream_buffer.cpp - Byte stream buffer
|
* byte_stream_buffer.cpp - Byte stream buffer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "byte_stream_buffer.h"
|
#include "libcamera/internal/byte_stream_buffer.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file camera.h
|
* \file camera.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* camera_controls.cpp - Camera controls
|
* camera_controls.cpp - Camera controls
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "camera_controls.h"
|
#include "libcamera/internal/camera_controls.h"
|
||||||
|
|
||||||
#include <libcamera/camera.h>
|
#include <libcamera/camera.h>
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
#include <libcamera/camera.h>
|
#include <libcamera/camera.h>
|
||||||
#include <libcamera/event_dispatcher.h>
|
#include <libcamera/event_dispatcher.h>
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "event_dispatcher_poll.h"
|
#include "libcamera/internal/event_dispatcher_poll.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file camera_manager.h
|
* \file camera_manager.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* camera_sensor.cpp - A camera sensor
|
* camera_sensor.cpp - A camera sensor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
#include <libcamera/property_ids.h>
|
#include <libcamera/property_ids.h>
|
||||||
|
|
||||||
#include "formats.h"
|
#include "libcamera/internal/formats.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
#include "v4l2_subdevice.h"
|
#include "libcamera/internal/v4l2_subdevice.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file camera_sensor.h
|
* \file camera_sensor.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* control_serializer.cpp - Control (de)serializer
|
* control_serializer.cpp - Control (de)serializer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "control_serializer.h"
|
#include "libcamera/internal/control_serializer.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
#include <libcamera/span.h>
|
#include <libcamera/span.h>
|
||||||
|
|
||||||
#include "byte_stream_buffer.h"
|
#include "libcamera/internal/byte_stream_buffer.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file control_serializer.h
|
* \file control_serializer.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* control_validator.cpp - Control validator
|
* control_validator.cpp - Control validator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "control_validator.h"
|
#include "libcamera/internal/control_validator.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file control_validator.h
|
* \file control_validator.h
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "control_validator.h"
|
#include "libcamera/internal/control_validator.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file controls.h
|
* \file controls.h
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
* device_enumerator.cpp - Enumeration and matching
|
* device_enumerator.cpp - Enumeration and matching
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "device_enumerator_sysfs.h"
|
#include "libcamera/internal/device_enumerator_sysfs.h"
|
||||||
#include "device_enumerator_udev.h"
|
#include "libcamera/internal/device_enumerator_udev.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file device_enumerator.h
|
* \file device_enumerator.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* device_enumerator_sysfs.cpp - sysfs-based device enumerator
|
* device_enumerator_sysfs.cpp - sysfs-based device enumerator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device_enumerator_sysfs.h"
|
#include "libcamera/internal/device_enumerator_sysfs.h"
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -17,8 +17,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* device_enumerator_udev.cpp - udev-based device enumerator
|
* device_enumerator_udev.cpp - udev-based device enumerator
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device_enumerator_udev.h"
|
#include "libcamera/internal/device_enumerator_udev.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
#include <libcamera/event_notifier.h>
|
#include <libcamera/event_notifier.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include <libcamera/event_dispatcher.h>
|
#include <libcamera/event_dispatcher.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file event_dispatcher.h
|
* \file event_dispatcher.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* event_dispatcher_poll.cpp - Poll-based event dispatcher
|
* event_dispatcher_poll.cpp - Poll-based event dispatcher
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "event_dispatcher_poll.h"
|
#include "libcamera/internal/event_dispatcher_poll.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
@ -19,9 +19,9 @@
|
||||||
#include <libcamera/event_notifier.h>
|
#include <libcamera/event_notifier.h>
|
||||||
#include <libcamera/timer.h>
|
#include <libcamera/timer.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file event_dispatcher_poll.h
|
* \file event_dispatcher_poll.h
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <libcamera/camera_manager.h>
|
#include <libcamera/camera_manager.h>
|
||||||
#include <libcamera/event_dispatcher.h>
|
#include <libcamera/event_dispatcher.h>
|
||||||
|
|
||||||
#include "message.h"
|
#include "libcamera/internal/message.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file event_notifier.h
|
* \file event_notifier.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* file.cpp - File I/O operations
|
* file.cpp - File I/O operations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "file.h"
|
#include "libcamera/internal/file.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file file.h
|
* \file file.h
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file file_descriptor.h
|
* \file file_descriptor.h
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
* formats.cpp - libcamera image formats
|
* formats.cpp - libcamera image formats
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "formats.h"
|
#include "libcamera/internal/formats.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file formats.h
|
* \file formats.h
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
#include <libcamera/camera.h>
|
#include <libcamera/camera.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file framebuffer_allocator.h
|
* \file framebuffer_allocator.h
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
* ipa_context_wrapper.cpp - Image Processing Algorithm context wrapper
|
* ipa_context_wrapper.cpp - Image Processing Algorithm context wrapper
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa_context_wrapper.h"
|
#include "libcamera/internal/ipa_context_wrapper.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
|
|
||||||
#include "byte_stream_buffer.h"
|
#include "libcamera/internal/byte_stream_buffer.h"
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipa_context_wrapper.h
|
* \file ipa_context_wrapper.h
|
||||||
|
|
|
@ -5,19 +5,19 @@
|
||||||
* ipa_manager.cpp - Image Processing Algorithm module manager
|
* ipa_manager.cpp - Image Processing Algorithm module manager
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa_manager.h"
|
#include "libcamera/internal/ipa_manager.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "file.h"
|
#include "libcamera/internal/file.h"
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "ipa_proxy.h"
|
#include "libcamera/internal/ipa_proxy.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipa_manager.h
|
* \file ipa_manager.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* ipa_module.cpp - Image Processing Algorithm module
|
* ipa_module.cpp - Image Processing Algorithm module
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
@ -23,10 +23,10 @@
|
||||||
|
|
||||||
#include <libcamera/span.h>
|
#include <libcamera/span.h>
|
||||||
|
|
||||||
#include "file.h"
|
#include "libcamera/internal/file.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipa_module.h
|
* \file ipa_module.h
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
* ipa_proxy.cpp - Image Processing Algorithm proxy
|
* ipa_proxy.cpp - Image Processing Algorithm proxy
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa_proxy.h"
|
#include "libcamera/internal/ipa_proxy.h"
|
||||||
|
|
||||||
#include <string.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>
|
||||||
|
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipa_proxy.h
|
* \file ipa_proxy.h
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* This file is auto-generated. Do not edit.
|
* This file is auto-generated. Do not edit.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa_manager.h"
|
#include "libcamera/internal/ipa_manager.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
* ipc_unixsocket.cpp - IPC mechanism based on Unix sockets
|
* ipc_unixsocket.cpp - IPC mechanism based on Unix sockets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipc_unixsocket.h"
|
#include "libcamera/internal/ipc_unixsocket.h"
|
||||||
|
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file ipc_unixsocket.h
|
* \file ipc_unixsocket.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* log.cpp - Logging infrastructure
|
* log.cpp - Logging infrastructure
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
#if HAVE_BACKTRACE
|
#if HAVE_BACKTRACE
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
#include <libcamera/logging.h>
|
#include <libcamera/logging.h>
|
||||||
|
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file log.h
|
* \file log.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* media_device.cpp - Media device handler
|
* media_device.cpp - Media device handler
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include <linux/media.h>
|
#include <linux/media.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file media_device.h
|
* \file media_device.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* media_object.cpp - Media device objects: entities, pads and links
|
* media_object.cpp - Media device objects: entities, pads and links
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "media_object.h"
|
#include "libcamera/internal/media_object.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
#include <linux/media.h>
|
#include <linux/media.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file media_object.h
|
* \file media_object.h
|
||||||
|
|
|
@ -51,13 +51,8 @@ libcamera_sources = files([
|
||||||
'v4l2_videodevice.cpp',
|
'v4l2_videodevice.cpp',
|
||||||
])
|
])
|
||||||
|
|
||||||
subdir('include')
|
|
||||||
|
|
||||||
libcamera_internal_includes = include_directories('include')
|
|
||||||
|
|
||||||
includes = [
|
includes = [
|
||||||
libcamera_includes,
|
libcamera_includes,
|
||||||
libcamera_internal_includes,
|
|
||||||
]
|
]
|
||||||
|
|
||||||
subdir('pipeline')
|
subdir('pipeline')
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
* message.cpp - Message queue support
|
* message.cpp - Message queue support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "message.h"
|
#include "libcamera/internal/message.h"
|
||||||
|
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file message.h
|
* \file message.h
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "message.h"
|
#include "libcamera/internal/message.h"
|
||||||
#include "semaphore.h"
|
#include "libcamera/internal/semaphore.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file object.h
|
* \file object.h
|
||||||
|
|
|
@ -17,15 +17,15 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
#include "v4l2_controls.h"
|
#include "libcamera/internal/v4l2_controls.h"
|
||||||
#include "v4l2_subdevice.h"
|
#include "libcamera/internal/v4l2_subdevice.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -21,15 +21,16 @@
|
||||||
#include <linux/drm_fourcc.h>
|
#include <linux/drm_fourcc.h>
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "ipa_manager.h"
|
#include "libcamera/internal/ipa_manager.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
|
#include "libcamera/internal/utils.h"
|
||||||
|
#include "libcamera/internal/v4l2_controls.h"
|
||||||
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
#include "staggered_ctrl.h"
|
#include "staggered_ctrl.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "v4l2_controls.h"
|
|
||||||
#include "v4l2_videodevice.h"
|
|
||||||
#include "vcsm.h"
|
#include "vcsm.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
#include <libcamera/controls.h>
|
#include <libcamera/controls.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -20,16 +20,17 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "ipa_manager.h"
|
#include "libcamera/internal/ipa_manager.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
|
#include "libcamera/internal/utils.h"
|
||||||
|
#include "libcamera/internal/v4l2_subdevice.h"
|
||||||
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
#include "timeline.h"
|
#include "timeline.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "v4l2_subdevice.h"
|
|
||||||
#include "v4l2_videodevice.h"
|
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include "timeline.h"
|
#include "timeline.h"
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file timeline.h
|
* \file timeline.h
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <libcamera/timer.h>
|
#include <libcamera/timer.h>
|
||||||
|
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
#include <libcamera/geometry.h>
|
#include <libcamera/geometry.h>
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "v4l2_subdevice.h"
|
#include "libcamera/internal/v4l2_subdevice.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
#include "converter.h"
|
#include "converter.h"
|
||||||
|
|
||||||
|
|
|
@ -17,13 +17,13 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
#include "v4l2_controls.h"
|
#include "libcamera/internal/v4l2_controls.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -22,16 +22,16 @@
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "camera_sensor.h"
|
#include "libcamera/internal/camera_sensor.h"
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "ipa_manager.h"
|
#include "libcamera/internal/ipa_manager.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
#include "v4l2_controls.h"
|
#include "libcamera/internal/v4l2_controls.h"
|
||||||
#include "v4l2_subdevice.h"
|
#include "libcamera/internal/v4l2_subdevice.h"
|
||||||
#include "v4l2_videodevice.h"
|
#include "libcamera/internal/v4l2_videodevice.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* pipeline_handler.cpp - Pipeline handler infrastructure
|
* pipeline_handler.cpp - Pipeline handler infrastructure
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pipeline_handler.h"
|
#include "libcamera/internal/pipeline_handler.h"
|
||||||
|
|
||||||
#include <sys/sysmacros.h>
|
#include <sys/sysmacros.h>
|
||||||
|
|
||||||
|
@ -13,10 +13,10 @@
|
||||||
#include <libcamera/camera.h>
|
#include <libcamera/camera.h>
|
||||||
#include <libcamera/camera_manager.h>
|
#include <libcamera/camera_manager.h>
|
||||||
|
|
||||||
#include "device_enumerator.h"
|
#include "libcamera/internal/device_enumerator.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "media_device.h"
|
#include "libcamera/internal/media_device.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file pipeline_handler.h
|
* \file pipeline_handler.h
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* process.cpp - Process object
|
* process.cpp - Process object
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "process.h"
|
#include "libcamera/internal/process.h"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
#include <libcamera/event_notifier.h>
|
#include <libcamera/event_notifier.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file process.h
|
* \file process.h
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
#include <ipa/ipa_module_info.h>
|
#include <ipa/ipa_module_info.h>
|
||||||
|
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "ipa_proxy.h"
|
#include "libcamera/internal/ipa_proxy.h"
|
||||||
#include "ipc_unixsocket.h"
|
#include "libcamera/internal/ipc_unixsocket.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "process.h"
|
#include "libcamera/internal/process.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
#include <ipa/ipa_interface.h>
|
#include <ipa/ipa_interface.h>
|
||||||
#include <ipa/ipa_module_info.h>
|
#include <ipa/ipa_module_info.h>
|
||||||
|
|
||||||
#include "ipa_context_wrapper.h"
|
#include "libcamera/internal/ipa_context_wrapper.h"
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "ipa_proxy.h"
|
#include "libcamera/internal/ipa_proxy.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
namespace libcamera {
|
namespace libcamera {
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
#include <libcamera/event_dispatcher.h>
|
#include <libcamera/event_dispatcher.h>
|
||||||
#include <libcamera/logging.h>
|
#include <libcamera/logging.h>
|
||||||
|
|
||||||
#include "ipa_module.h"
|
#include "libcamera/internal/ipa_module.h"
|
||||||
#include "ipc_unixsocket.h"
|
#include "libcamera/internal/ipc_unixsocket.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
using namespace libcamera;
|
using namespace libcamera;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@ proxy_install_dir = join_paths(get_option('libexecdir'), 'libcamera')
|
||||||
|
|
||||||
foreach t : ipa_proxy_sources
|
foreach t : ipa_proxy_sources
|
||||||
proxy = executable(t[0], t[1],
|
proxy = executable(t[0], t[1],
|
||||||
include_directories : libcamera_internal_includes,
|
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : proxy_install_dir,
|
install_dir : proxy_install_dir,
|
||||||
dependencies : libcamera_dep)
|
dependencies : libcamera_dep)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* pub_key.cpp - Public key signature verification
|
* pub_key.cpp - Public key signature verification
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pub_key.h"
|
#include "libcamera/internal/pub_key.h"
|
||||||
|
|
||||||
#if HAVE_GNUTLS
|
#if HAVE_GNUTLS
|
||||||
#include <gnutls/abstract.h>
|
#include <gnutls/abstract.h>
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
#include <libcamera/control_ids.h>
|
#include <libcamera/control_ids.h>
|
||||||
#include <libcamera/stream.h>
|
#include <libcamera/stream.h>
|
||||||
|
|
||||||
#include "camera_controls.h"
|
#include "libcamera/internal/camera_controls.h"
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file request.h
|
* \file request.h
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
* semaphore.cpp - General-purpose counting semaphore
|
* semaphore.cpp - General-purpose counting semaphore
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "semaphore.h"
|
#include "libcamera/internal/semaphore.h"
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file semaphore.h
|
* \file semaphore.h
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include <libcamera/signal.h>
|
#include <libcamera/signal.h>
|
||||||
|
|
||||||
#include "thread.h"
|
#include "libcamera/internal/thread.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file signal.h
|
* \file signal.h
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
#include <libcamera/request.h>
|
#include <libcamera/request.h>
|
||||||
|
|
||||||
#include "log.h"
|
#include "libcamera/internal/log.h"
|
||||||
#include "utils.h"
|
#include "libcamera/internal/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file stream.h
|
* \file stream.h
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue