summaryrefslogtreecommitdiff
path: root/test/camera
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-11-08 01:14:38 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-11-15 22:21:28 +0200
commitd767c84022559e55708f24a3a264853c0142135e (patch)
tree9b104f71819804d002039fab9be25340e90bc210 /test/camera
parent7d35c771c0480e1ca5942ba3c9cf09c1fde22f85 (diff)
libcamera: Move EventDispatcher to internal API
There's no user of the EventDispatcher (and the related EventNotifier and Timer classes) outside of libcamera. Move those classes to the internal API. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/camera')
-rw-r--r--test/camera/buffer_import.cpp5
-rw-r--r--test/camera/capture.cpp4
2 files changed, 4 insertions, 5 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp
index ccf532d7..7ff62826 100644
--- a/test/camera/buffer_import.cpp
+++ b/test/camera/buffer_import.cpp
@@ -12,12 +12,11 @@
#include <numeric>
#include <vector>
-#include <libcamera/event_dispatcher.h>
-#include <libcamera/timer.h>
-
#include "libcamera/internal/device_enumerator.h"
+#include "libcamera/internal/event_dispatcher.h"
#include "libcamera/internal/media_device.h"
#include "libcamera/internal/thread.h"
+#include "libcamera/internal/timer.h"
#include "libcamera/internal/v4l2_videodevice.h"
#include "buffer_source.h"
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index fd5292b7..6d564fe4 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -7,11 +7,11 @@
#include <iostream>
-#include <libcamera/event_dispatcher.h>
#include <libcamera/framebuffer_allocator.h>
-#include <libcamera/timer.h>
+#include "libcamera/internal/event_dispatcher.h"
#include "libcamera/internal/thread.h"
+#include "libcamera/internal/timer.h"
#include "camera_test.h"
#include "test.h"