summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/camera.h9
-rw-r--r--include/libcamera/internal/pipeline_handler.h6
2 files changed, 10 insertions, 5 deletions
diff --git a/include/libcamera/internal/camera.h b/include/libcamera/internal/camera.h
index 9ec8321a..1a08da0c 100644
--- a/include/libcamera/internal/camera.h
+++ b/include/libcamera/internal/camera.h
@@ -8,6 +8,7 @@
#define __LIBCAMERA_INTERNAL_CAMERA_H__
#include <atomic>
+#include <list>
#include <memory>
#include <set>
#include <string>
@@ -29,6 +30,14 @@ public:
Private(PipelineHandler *pipe);
~Private();
+ PipelineHandler *pipe() { return pipe_.get(); }
+
+ std::list<Request *> queuedRequests_;
+ ControlInfoMap controlInfo_;
+ ControlList properties_;
+
+ uint32_t requestSequence_;
+
private:
enum State {
CameraAvailable,
diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h
index 9e2d65d6..24b0c5ca 100644
--- a/include/libcamera/internal/pipeline_handler.h
+++ b/include/libcamera/internal/pipeline_handler.h
@@ -7,7 +7,6 @@
#ifndef __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
#define __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
-#include <list>
#include <map>
#include <memory>
#include <set>
@@ -39,18 +38,15 @@ class CameraData
{
public:
explicit CameraData(PipelineHandler *pipe)
- : pipe_(pipe), requestSequence_(0)
+ : pipe_(pipe)
{
}
virtual ~CameraData() = default;
PipelineHandler *pipe_;
- std::list<Request *> queuedRequests_;
ControlInfoMap controlInfo_;
ControlList properties_;
- uint32_t requestSequence_;
-
private:
LIBCAMERA_DISABLE_COPY(CameraData)
};