summaryrefslogtreecommitdiff
path: root/src/libcamera/include/pipeline_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/pipeline_handler.h')
-rw-r--r--src/libcamera/include/pipeline_handler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
index b4321f0f..7f2ec297 100644
--- a/src/libcamera/include/pipeline_handler.h
+++ b/src/libcamera/include/pipeline_handler.h
@@ -14,10 +14,12 @@
namespace libcamera {
+class BufferPool;
class Camera;
class CameraManager;
class DeviceEnumerator;
class MediaDevice;
+class Request;
class Stream;
class StreamConfiguration;
@@ -45,6 +47,14 @@ public:
virtual int configureStreams(Camera *camera,
std::map<Stream *, StreamConfiguration> &config) = 0;
+ virtual int allocateBuffers(Camera *camera, Stream *stream) = 0;
+ virtual int freeBuffers(Camera *camera, Stream *stream) = 0;
+
+ virtual int start(const Camera *camera) = 0;
+ virtual void stop(const Camera *camera) = 0;
+
+ virtual int queueRequest(const Camera *camera, Request *request) = 0;
+
virtual bool match(DeviceEnumerator *enumerator) = 0;
protected: