libcamera/base: Move extended base functionality
Move the functionality for the following components to the new base support library: - BoundMethod - EventDispatcher - EventDispatcherPoll - Log - Message - Object - Signal - Semaphore - Thread - Timer While it would be preferable to see these split to move one component per commit, these components are all interdependent upon each other, which leaves us with one big change performing the move for all of them. Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
6410d1d37c
commit
27aff949fb
161 changed files with 390 additions and 366 deletions
|
@ -288,7 +288,8 @@ features:
|
|||
|
||||
.. code-block:: cpp
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
|
||||
Run the following commands:
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* bound_method.h - Method bind and invocation
|
||||
*/
|
||||
#ifndef __LIBCAMERA_BOUND_METHOD_H__
|
||||
#define __LIBCAMERA_BOUND_METHOD_H__
|
||||
#ifndef __LIBCAMERA_BASE_BOUND_METHOD_H__
|
||||
#define __LIBCAMERA_BASE_BOUND_METHOD_H__
|
||||
|
||||
#include <memory>
|
||||
#include <tuple>
|
||||
|
@ -236,4 +236,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_BOUND_METHOD_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_BOUND_METHOD_H__ */
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* event_dispatcher.h - Event dispatcher
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__
|
||||
#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__
|
||||
#ifndef __LIBCAMERA_BASE_EVENT_DISPATCHER_H__
|
||||
#define __LIBCAMERA_BASE_EVENT_DISPATCHER_H__
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -32,4 +32,4 @@ public:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_EVENT_DISPATCHER_H__ */
|
|
@ -4,14 +4,14 @@
|
|||
*
|
||||
* event_dispatcher_poll.h - Poll-based event dispatcher
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__
|
||||
#define __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__
|
||||
#ifndef __LIBCAMERA_BASE_EVENT_DISPATCHER_POLL_H__
|
||||
#define __LIBCAMERA_BASE_EVENT_DISPATCHER_POLL_H__
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "libcamera/internal/event_dispatcher.h"
|
||||
#include <libcamera/base/event_dispatcher.h>
|
||||
|
||||
struct pollfd;
|
||||
|
||||
|
@ -55,4 +55,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_EVENT_DISPATCHER_POLL_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_EVENT_DISPATCHER_POLL_H__ */
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* log.h - Logging infrastructure
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_LOG_H__
|
||||
#define __LIBCAMERA_INTERNAL_LOG_H__
|
||||
#ifndef __LIBCAMERA_BASE_LOG_H__
|
||||
#define __LIBCAMERA_BASE_LOG_H__
|
||||
|
||||
#include <chrono>
|
||||
#include <sstream>
|
||||
|
@ -127,4 +127,4 @@ LogMessage _log(const LogCategory *category, LogSeverity severity,
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_LOG_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_LOG_H__ */
|
|
@ -3,7 +3,17 @@
|
|||
libcamera_base_include_dir = libcamera_include_dir / 'base'
|
||||
|
||||
libcamera_base_headers = files([
|
||||
'bound_method.h',
|
||||
'class.h',
|
||||
'event_dispatcher.h',
|
||||
'event_dispatcher_poll.h',
|
||||
'log.h',
|
||||
'message.h',
|
||||
'object.h',
|
||||
'semaphore.h',
|
||||
'signal.h',
|
||||
'thread.h',
|
||||
'timer.h',
|
||||
'utils.h',
|
||||
])
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
*
|
||||
* message.h - Message queue support
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_MESSAGE_H__
|
||||
#define __LIBCAMERA_INTERNAL_MESSAGE_H__
|
||||
#ifndef __LIBCAMERA_BASE_MESSAGE_H__
|
||||
#define __LIBCAMERA_BASE_MESSAGE_H__
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <libcamera/bound_method.h>
|
||||
#include <libcamera/base/bound_method.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -68,4 +68,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_MESSAGE_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_MESSAGE_H__ */
|
|
@ -4,14 +4,14 @@
|
|||
*
|
||||
* object.h - Base object
|
||||
*/
|
||||
#ifndef __LIBCAMERA_OBJECT_H__
|
||||
#define __LIBCAMERA_OBJECT_H__
|
||||
#ifndef __LIBCAMERA_BASE_OBJECT_H__
|
||||
#define __LIBCAMERA_BASE_OBJECT_H__
|
||||
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/bound_method.h>
|
||||
#include <libcamera/base/bound_method.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -68,4 +68,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_OBJECT_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_OBJECT_H__ */
|
|
@ -4,12 +4,12 @@
|
|||
*
|
||||
* semaphore.h - General-purpose counting semaphore
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_SEMAPHORE_H__
|
||||
#define __LIBCAMERA_INTERNAL_SEMAPHORE_H__
|
||||
#ifndef __LIBCAMERA_BASE_SEMAPHORE_H__
|
||||
#define __LIBCAMERA_BASE_SEMAPHORE_H__
|
||||
|
||||
#include <condition_variable>
|
||||
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -31,4 +31,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_SEMAPHORE_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_SEMAPHORE_H__ */
|
|
@ -4,16 +4,16 @@
|
|||
*
|
||||
* signal.h - Signal & slot implementation
|
||||
*/
|
||||
#ifndef __LIBCAMERA_SIGNAL_H__
|
||||
#define __LIBCAMERA_SIGNAL_H__
|
||||
#ifndef __LIBCAMERA_BASE_SIGNAL_H__
|
||||
#define __LIBCAMERA_BASE_SIGNAL_H__
|
||||
|
||||
#include <functional>
|
||||
#include <list>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/bound_method.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/base/bound_method.h>
|
||||
#include <libcamera/base/object.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -129,4 +129,4 @@ public:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_SIGNAL_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_SIGNAL_H__ */
|
|
@ -4,20 +4,18 @@
|
|||
*
|
||||
* thread.h - Thread support
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_THREAD_H__
|
||||
#define __LIBCAMERA_INTERNAL_THREAD_H__
|
||||
#ifndef __LIBCAMERA_BASE_THREAD_H__
|
||||
#define __LIBCAMERA_BASE_THREAD_H__
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <sys/types.h>
|
||||
#include <thread>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/message.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
class EventDispatcher;
|
||||
|
@ -75,4 +73,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_THREAD_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_THREAD_H__ */
|
|
@ -4,14 +4,14 @@
|
|||
*
|
||||
* timer.h - Generic timer
|
||||
*/
|
||||
#ifndef __LIBCAMERA_INTERNAL_TIMER_H__
|
||||
#define __LIBCAMERA_INTERNAL_TIMER_H__
|
||||
#ifndef __LIBCAMERA_BASE_TIMER_H__
|
||||
#define __LIBCAMERA_BASE_TIMER_H__
|
||||
|
||||
#include <chrono>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/object.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -46,4 +46,4 @@ private:
|
|||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_INTERNAL_TIMER_H__ */
|
||||
#endif /* __LIBCAMERA_BASE_TIMER_H__ */
|
|
@ -13,11 +13,11 @@
|
|||
#include <string>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/object.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/request.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/stream.h>
|
||||
#include <libcamera/transform.h>
|
||||
|
||||
|
|
|
@ -13,9 +13,8 @@
|
|||
#include <vector>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/object.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#include <vector>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/ipa/core_ipa_interface.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/v4l2_subdevice.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <linux/media.h>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#ifndef __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__
|
||||
#define __LIBCAMERA_INTERNAL_EVENT_NOTIFIER_H__
|
||||
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/object.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/geometry.h>
|
||||
|
@ -22,7 +24,6 @@
|
|||
#include "libcamera/internal/byte_stream_buffer.h"
|
||||
#include "libcamera/internal/camera_sensor.h"
|
||||
#include "libcamera/internal/control_serializer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -10,11 +10,12 @@
|
|||
#include <stdint.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
#include <libcamera/ipa/ipa_module_info.h>
|
||||
|
||||
#include "libcamera/internal/ipa_module.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
#include "libcamera/internal/pub_key.h"
|
||||
|
||||
|
|
|
@ -11,10 +11,11 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
#include <libcamera/ipa/ipa_module_info.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "libcamera/internal/ipc_unixsocket.h"
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include "libcamera/internal/ipc_unixsocket.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
#include <linux/media.h>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/media_object.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
|
|
@ -22,8 +22,6 @@ libcamera_internal_headers = files([
|
|||
'device_enumerator.h',
|
||||
'device_enumerator_sysfs.h',
|
||||
'device_enumerator_udev.h',
|
||||
'event_dispatcher.h',
|
||||
'event_dispatcher_poll.h',
|
||||
'event_notifier.h',
|
||||
'file.h',
|
||||
'formats.h',
|
||||
|
@ -31,18 +29,13 @@ libcamera_internal_headers = files([
|
|||
'ipa_module.h',
|
||||
'ipa_proxy.h',
|
||||
'ipc_unixsocket.h',
|
||||
'log.h',
|
||||
'media_device.h',
|
||||
'media_object.h',
|
||||
'message.h',
|
||||
'pipeline_handler.h',
|
||||
'process.h',
|
||||
'pub_key.h',
|
||||
'semaphore.h',
|
||||
'source_paths.h',
|
||||
'sysfs.h',
|
||||
'thread.h',
|
||||
'timer.h',
|
||||
'v4l2_device.h',
|
||||
'v4l2_pixelformat.h',
|
||||
'v4l2_subdevice.h',
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
#include <vector>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/object.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/ipa_proxy.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
#include <linux/videodev2.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/span.h>
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/span.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
#include <vector>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/geometry.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/media_object.h"
|
||||
#include "libcamera/internal/v4l2_device.h"
|
||||
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
#include <linux/videodev2.h>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/v4l2_device.h"
|
||||
#include "libcamera/internal/v4l2_pixelformat.h"
|
||||
|
||||
|
|
|
@ -13,10 +13,11 @@
|
|||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
libcamera_public_headers = files([
|
||||
'bound_method.h',
|
||||
'buffer.h',
|
||||
'camera.h',
|
||||
'camera_manager.h',
|
||||
|
@ -11,10 +10,8 @@ libcamera_public_headers = files([
|
|||
'framebuffer_allocator.h',
|
||||
'geometry.h',
|
||||
'logging.h',
|
||||
'object.h',
|
||||
'pixel_format.h',
|
||||
'request.h',
|
||||
'signal.h',
|
||||
'span.h',
|
||||
'stream.h',
|
||||
'transform.h',
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include <unordered_set>
|
||||
|
||||
#include <libcamera/base/class.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <hardware/camera_common.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "camera_device.h"
|
||||
#include "camera_hal_manager.h"
|
||||
|
|
|
@ -12,12 +12,13 @@
|
|||
|
||||
#include <hardware/camera3.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/property_ids.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -15,16 +15,15 @@
|
|||
#include <unistd.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/property_ids.h>
|
||||
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
#include "system/graphics.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
|
|
@ -14,15 +14,16 @@
|
|||
|
||||
#include <hardware/camera3.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/request.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/buffer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/message.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
#include "camera_capabilities.h"
|
||||
#include "camera_metadata.h"
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace filesystem = std::experimental::filesystem;
|
|||
|
||||
#include <hardware/camera3.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
#include "camera_hal_manager.h"
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/property_ids.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
#include "camera_device.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "camera_metadata.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include <libcamera/base/object.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/request.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
class CameraDevice;
|
||||
|
||||
class CaptureRequest
|
||||
|
|
|
@ -16,12 +16,13 @@
|
|||
#include <unistd.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -14,10 +14,9 @@
|
|||
#include <tuple>
|
||||
#include <uchar.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
LOG_DEFINE_CATEGORY(EXIF)
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include "encoder_libjpeg.h"
|
||||
#include "exif.h"
|
||||
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/formats.h>
|
||||
|
||||
using namespace libcamera;
|
||||
using namespace std::chrono_literals;
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
#include "thumbnailer.h"
|
||||
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/formats.h>
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "../camera_buffer.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "cros-camera/camera_buffer_manager.h"
|
||||
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/buffer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -9,12 +9,13 @@
|
|||
|
||||
#include <libyuv/scale.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/geometry.h>
|
||||
#include <libcamera/pixel_format.h>
|
||||
|
||||
#include "libcamera/internal/formats.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#include <linux/intel-ipu3.h>
|
||||
#include <linux/v4l2-controls.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
|
@ -19,7 +21,6 @@
|
|||
#include <libcamera/request.h>
|
||||
|
||||
#include "libcamera/internal/buffer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
#include "ipu3_agc.h"
|
||||
#include "ipu3_awb.h"
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include <cmath>
|
||||
#include <numeric>
|
||||
|
||||
#include <libcamera/ipa/core_ipa_interface.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/ipa/core_ipa_interface.h>
|
||||
|
||||
#include "libipa/histogram.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <numeric>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <cmath>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file histogram.h
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
|
||||
#include <libcamera/span.h>
|
||||
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "camera_mode.h"
|
||||
#include "controller/controller.hpp"
|
||||
#include "controller/metadata.hpp"
|
||||
#include "md_parser.hpp"
|
||||
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/v4l2_videodevice.h"
|
||||
|
||||
namespace RPiController {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* controller.cpp - ISP controller
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "algorithm.hpp"
|
||||
#include "controller.hpp"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "linux/bcm2835-isp.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../awb_status.h"
|
||||
#include "../device_status.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
#include <math.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../awb_status.h"
|
||||
#include "alsc.hpp"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* awb.cpp - AWB control algorithm
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../lux_status.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../black_level_status.h"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* ccm.cpp - CCM (colour correction matrix) control algorithm
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../awb_status.h"
|
||||
#include "../ccm_status.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../contrast_status.h"
|
||||
#include "../histogram.hpp"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* dpc.cpp - DPC (defective pixel correction) control algorithm
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "dpc.hpp"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../focus_status.h"
|
||||
#include "focus.hpp"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* geq.cpp - GEQ (green equalisation) control algorithm
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../device_status.h"
|
||||
#include "../lux_status.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "linux/bcm2835-isp.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../device_status.h"
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../device_status.h"
|
||||
#include "../noise_status.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* sdn.cpp - SDN (spatial denoise) control algorithm
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../denoise_status.h"
|
||||
#include "../noise_status.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "../sharpen_status.h"
|
||||
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <linux/bcm2835-isp.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/controls.h>
|
||||
|
@ -25,9 +29,6 @@
|
|||
#include <libcamera/span.h>
|
||||
|
||||
#include "libcamera/internal/buffer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
#include <linux/bcm2835-isp.h>
|
||||
|
||||
#include "agc_algorithm.hpp"
|
||||
#include "agc_status.h"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include <linux/rkisp1-config.h>
|
||||
#include <linux/v4l2-controls.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
|
@ -22,8 +24,6 @@
|
|||
#include <libcamera/ipa/rkisp1_ipa_interface.h>
|
||||
#include <libcamera/request.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
LOG_DEFINE_CATEGORY(IPARkISP1)
|
||||
|
|
|
@ -14,11 +14,12 @@
|
|||
|
||||
#include <iostream>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/ipa/ipa_interface.h>
|
||||
#include <libcamera/ipa/ipa_module_info.h>
|
||||
|
||||
#include "libcamera/internal/file.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
|
|
@ -5,14 +5,13 @@
|
|||
* bound_method.cpp - Method bind and invocation
|
||||
*/
|
||||
|
||||
#include <libcamera/bound_method.h>
|
||||
|
||||
#include "libcamera/internal/message.h"
|
||||
#include "libcamera/internal/semaphore.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/bound_method.h>
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/semaphore.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
/**
|
||||
* \file bound_method.h
|
||||
* \file base/bound_method.h
|
||||
* \brief Method bind and invocation
|
||||
*/
|
||||
|
|
@ -5,12 +5,11 @@
|
|||
* event_dispatcher.cpp - Event dispatcher
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/event_dispatcher.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/event_dispatcher.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file event_dispatcher.h
|
||||
* \file base/event_dispatcher.h
|
||||
*/
|
||||
|
||||
namespace libcamera {
|
|
@ -5,7 +5,7 @@
|
|||
* event_dispatcher_poll.cpp - Poll-based event dispatcher
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/event_dispatcher_poll.h"
|
||||
#include <libcamera/base/event_dispatcher_poll.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
|
@ -16,15 +16,15 @@
|
|||
#include <sys/eventfd.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
#include <libcamera/base/timer.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/event_notifier.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include "libcamera/internal/timer.h"
|
||||
|
||||
/**
|
||||
* \file event_dispatcher_poll.h
|
||||
* \file base/event_dispatcher_poll.h
|
||||
*/
|
||||
|
||||
namespace libcamera {
|
|
@ -5,7 +5,7 @@
|
|||
* log.cpp - Logging infrastructure
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <array>
|
||||
#if HAVE_BACKTRACE
|
||||
|
@ -23,12 +23,11 @@
|
|||
|
||||
#include <libcamera/logging.h>
|
||||
|
||||
#include <libcamera/base/thread.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
/**
|
||||
* \file log.h
|
||||
* \file base/log.h
|
||||
* \brief Logging infrastructure
|
||||
*
|
||||
* libcamera includes a logging infrastructure used through the library that
|
|
@ -2,10 +2,21 @@
|
|||
|
||||
libcamera_base_sources = files([
|
||||
'class.cpp',
|
||||
'bound_method.cpp',
|
||||
'event_dispatcher.cpp',
|
||||
'event_dispatcher_poll.cpp',
|
||||
'log.cpp',
|
||||
'message.cpp',
|
||||
'object.cpp',
|
||||
'semaphore.cpp',
|
||||
'signal.cpp',
|
||||
'thread.cpp',
|
||||
'timer.cpp',
|
||||
'utils.cpp',
|
||||
])
|
||||
|
||||
libcamera_base_deps = [
|
||||
dependency('threads'),
|
||||
]
|
||||
|
||||
libcamera_base_lib = shared_library('libcamera-base',
|
||||
|
|
|
@ -5,14 +5,13 @@
|
|||
* message.cpp - Message queue support
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/message.h"
|
||||
#include <libcamera/base/message.h>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
/**
|
||||
* \file message.h
|
||||
* \file base/message.h
|
||||
* \brief Message queue support
|
||||
*
|
||||
* The messaging API enables inter-thread communication through message
|
|
@ -5,21 +5,19 @@
|
|||
* object.cpp - Base object
|
||||
*/
|
||||
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/base/object.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/semaphore.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/message.h"
|
||||
#include "libcamera/internal/semaphore.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
/**
|
||||
* \file object.h
|
||||
* \file base/object.h
|
||||
* \brief Base object to support automatic signal disconnection
|
||||
*/
|
||||
|
|
@ -5,11 +5,11 @@
|
|||
* semaphore.cpp - General-purpose counting semaphore
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/semaphore.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/semaphore.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
/**
|
||||
* \file semaphore.h
|
||||
* \file base/semaphore.h
|
||||
* \brief General-purpose counting semaphore
|
||||
*/
|
||||
|
|
@ -5,12 +5,12 @@
|
|||
* signal.cpp - Signal & slot implementation
|
||||
*/
|
||||
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/base/signal.h>
|
||||
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
/**
|
||||
* \file signal.h
|
||||
* \file base/signal.h
|
||||
* \brief Signal & slot implementation
|
||||
*/
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
* thread.cpp - Thread support
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
|
@ -14,10 +14,10 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libcamera/internal/event_dispatcher.h"
|
||||
#include "libcamera/internal/event_dispatcher_poll.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/message.h"
|
||||
#include <libcamera/base/event_dispatcher.h>
|
||||
#include <libcamera/base/event_dispatcher_poll.h>
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/message.h>
|
||||
|
||||
/**
|
||||
* \page thread Thread Support
|
||||
|
@ -102,7 +102,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* \file thread.h
|
||||
* \file base/thread.h
|
||||
* \brief Thread support
|
||||
*/
|
||||
|
|
@ -5,21 +5,20 @@
|
|||
* timer.cpp - Generic timer
|
||||
*/
|
||||
|
||||
#include "libcamera/internal/timer.h"
|
||||
#include <libcamera/base/timer.h>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include <libcamera/camera_manager.h>
|
||||
|
||||
#include <libcamera/base/event_dispatcher.h>
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/event_dispatcher.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/message.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/camera_manager.h>
|
||||
|
||||
/**
|
||||
* \file timer.h
|
||||
* \file base/timer.h
|
||||
* \brief Generic timer
|
||||
*/
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
#include <sys/mman.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file libcamera/buffer.h
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file byte_stream_buffer.h
|
||||
|
|
|
@ -11,13 +11,14 @@
|
|||
#include <atomic>
|
||||
#include <iomanip>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
#include <libcamera/framebuffer_allocator.h>
|
||||
#include <libcamera/request.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
/**
|
||||
* \file camera.h
|
||||
|
|
|
@ -14,12 +14,13 @@
|
|||
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
#include "libcamera/internal/device_enumerator.h"
|
||||
#include "libcamera/internal/ipa_manager.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
#include "libcamera/internal/process.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
|
||||
/**
|
||||
* \file camera_manager.h
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/control_ids.h>
|
||||
|
||||
/**
|
||||
* \file camera_sensor_properties.h
|
||||
|
|
|
@ -11,13 +11,14 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/ipa/ipa_controls.h>
|
||||
#include <libcamera/span.h>
|
||||
|
||||
#include "libcamera/internal/byte_stream_buffer.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
/**
|
||||
* \file control_serializer.h
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#include <string>
|
||||
#include <string.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/control_validator.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
|
||||
/**
|
||||
* \file controls.h
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
|
||||
#include "libcamera/internal/delayed_controls.h"
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/v4l2_device.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/media_device.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/media_device.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
|
|
@ -17,8 +17,9 @@
|
|||
#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/event_notifier.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/media_device.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
#include <libcamera/camera_manager.h>
|
||||
|
||||
#include "libcamera/internal/event_dispatcher.h"
|
||||
#include "libcamera/internal/message.h"
|
||||
#include "libcamera/internal/thread.h"
|
||||
#include <libcamera/base/event_dispatcher.h>
|
||||
#include <libcamera/base/message.h>
|
||||
#include <libcamera/base/thread.h>
|
||||
|
||||
/**
|
||||
* \file event_notifier.h
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file file.h
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <unistd.h>
|
||||
#include <utility>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file file_descriptor.h
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include <algorithm>
|
||||
#include <errno.h>
|
||||
|
||||
#include <libcamera/formats.h>
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/formats.h>
|
||||
|
||||
/**
|
||||
* \file internal/formats.h
|
||||
|
|
|
@ -9,11 +9,12 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
#include <libcamera/buffer.h>
|
||||
#include <libcamera/camera.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <sstream>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file geometry.h
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "libcamera/internal/ipa_data_serializer.h"
|
||||
|
||||
#include "libcamera/internal/log.h"
|
||||
#include <libcamera/base/log.h>
|
||||
|
||||
/**
|
||||
* \file ipa_data_serializer.h
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/file.h"
|
||||
#include "libcamera/internal/ipa_module.h"
|
||||
#include "libcamera/internal/ipa_proxy.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
|
||||
#include <libcamera/span.h>
|
||||
|
||||
#include <libcamera/base/log.h>
|
||||
#include <libcamera/base/utils.h>
|
||||
|
||||
#include "libcamera/internal/file.h"
|
||||
#include "libcamera/internal/log.h"
|
||||
#include "libcamera/internal/pipeline_handler.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