libcamera/base: Move span to base library

Move span, and adjust the Doxygen exclusion as well.

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2021-06-25 02:15:54 +01:00
parent f9ee724307
commit b71e8c2f39
22 changed files with 27 additions and 30 deletions
+1 -2
View File
@@ -13,8 +13,7 @@
#include <string>
#include <libcamera/base/class.h>
#include <libcamera/span.h>
#include <libcamera/base/span.h>
namespace libcamera {
+1
View File
@@ -14,6 +14,7 @@ libcamera_base_headers = files([
'object.h',
'semaphore.h',
'signal.h',
'span.h',
'thread.h',
'timer.h',
'utils.h',
@@ -5,8 +5,8 @@
* span.h - C++20 std::span<> implementation for C++11
*/
#ifndef __LIBCAMERA_SPAN_H__
#define __LIBCAMERA_SPAN_H__
#ifndef __LIBCAMERA_BASE_SPAN_H__
#define __LIBCAMERA_BASE_SPAN_H__
#include <array>
#include <iterator>
@@ -421,4 +421,4 @@ private:
} /* namespace libcamera */
#endif /* __LIBCAMERA_SPAN_H__ */
#endif /* __LIBCAMERA_BASE_SPAN_H__ */
+1 -1
View File
@@ -15,9 +15,9 @@
#include <vector>
#include <libcamera/base/class.h>
#include <libcamera/base/span.h>
#include <libcamera/geometry.h>
#include <libcamera/span.h>
namespace libcamera {
+1 -1
View File
@@ -11,9 +11,9 @@
#include <vector>
#include <libcamera/base/class.h>
#include <libcamera/base/span.h>
#include <libcamera/buffer.h>
#include <libcamera/span.h>
namespace libcamera {
@@ -12,8 +12,7 @@
#include <type_traits>
#include <libcamera/base/class.h>
#include <libcamera/span.h>
#include <libcamera/base/span.h>
namespace libcamera {
+1 -1
View File
@@ -9,7 +9,7 @@
#include <stdint.h>
#include <libcamera/span.h>
#include <libcamera/base/span.h>
#if HAVE_GNUTLS
struct gnutls_pubkey_st;
+1 -1
View File
@@ -15,9 +15,9 @@
#include <libcamera/base/log.h>
#include <libcamera/base/signal.h>
#include <libcamera/base/span.h>
#include <libcamera/controls.h>
#include <libcamera/span.h>
namespace libcamera {
-1
View File
@@ -12,7 +12,6 @@ libcamera_public_headers = files([
'logging.h',
'pixel_format.h',
'request.h',
'span.h',
'stream.h',
'transform.h',
])