summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/pipeline_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/pipeline_handler.h')
-rw-r--r--include/libcamera/internal/pipeline_handler.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/include/libcamera/internal/pipeline_handler.h b/include/libcamera/internal/pipeline_handler.h
index 24b0c5ca..1e48f707 100644
--- a/include/libcamera/internal/pipeline_handler.h
+++ b/include/libcamera/internal/pipeline_handler.h
@@ -7,14 +7,12 @@
#ifndef __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
#define __LIBCAMERA_INTERNAL_PIPELINE_HANDLER_H__
-#include <map>
#include <memory>
#include <set>
#include <string>
#include <sys/types.h>
#include <vector>
-#include <libcamera/base/class.h>
#include <libcamera/base/object.h>
#include <libcamera/controls.h>
@@ -34,23 +32,6 @@ class MediaDevice;
class PipelineHandler;
class Request;
-class CameraData
-{
-public:
- explicit CameraData(PipelineHandler *pipe)
- : pipe_(pipe)
- {
- }
- virtual ~CameraData() = default;
-
- PipelineHandler *pipe_;
- ControlInfoMap controlInfo_;
- ControlList properties_;
-
-private:
- LIBCAMERA_DISABLE_COPY(CameraData)
-};
-
class PipelineHandler : public std::enable_shared_from_this<PipelineHandler>,
public Object
{
@@ -87,15 +68,11 @@ public:
const char *name() const { return name_; }
protected:
- void registerCamera(std::shared_ptr<Camera> camera,
- std::unique_ptr<CameraData> data);
+ void registerCamera(std::shared_ptr<Camera> camera);
void hotplugMediaDevice(MediaDevice *media);
virtual int queueRequestDevice(Camera *camera, Request *request) = 0;
- CameraData *cameraData(const Camera *camera);
- const CameraData *cameraData(const Camera *camera) const;
-
CameraManager *manager_;
private:
@@ -104,7 +81,6 @@ private:
std::vector<std::shared_ptr<MediaDevice>> mediaDevices_;
std::vector<std::weak_ptr<Camera>> cameras_;
- std::map<const Camera *, std::unique_ptr<CameraData>> cameraData_;
const char *name_;