summaryrefslogtreecommitdiff
path: root/src/v4l2
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-15 15:40:45 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-25 16:11:02 +0100
commitcbdc93e9d1666010d49e06940158a37c61cc6fa7 (patch)
treee9ed00bdb6e7131b003ec7f7bb03eceab311cc23 /src/v4l2
parent86eaa6c5e10dde632f17b900ea0e3aa4d61cb3b3 (diff)
libcamera/base: Move utils to the base library
Move the utils functionality to the libcamera/base library. Reviewed-by: Hirokazu Honda <hiroh@chromium.org> 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>
Diffstat (limited to 'src/v4l2')
-rw-r--r--src/v4l2/v4l2_camera_proxy.cpp3
-rw-r--r--src/v4l2/v4l2_compat_manager.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/v4l2/v4l2_camera_proxy.cpp b/src/v4l2/v4l2_camera_proxy.cpp
index f8bfe595..a5a25507 100644
--- a/src/v4l2/v4l2_camera_proxy.cpp
+++ b/src/v4l2/v4l2_camera_proxy.cpp
@@ -20,9 +20,10 @@
#include <libcamera/formats.h>
#include <libcamera/object.h>
+#include <libcamera/base/utils.h>
+
#include "libcamera/internal/formats.h"
#include "libcamera/internal/log.h"
-#include "libcamera/internal/utils.h"
#include "v4l2_camera.h"
#include "v4l2_camera_file.h"
diff --git a/src/v4l2/v4l2_compat_manager.cpp b/src/v4l2/v4l2_compat_manager.cpp
index 96dbcdf2..27de6c50 100644
--- a/src/v4l2/v4l2_compat_manager.cpp
+++ b/src/v4l2/v4l2_compat_manager.cpp
@@ -22,8 +22,9 @@
#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
+#include <libcamera/base/utils.h>
+
#include "libcamera/internal/log.h"
-#include "libcamera/internal/utils.h"
#include "v4l2_camera_file.h"