summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 1c0ee07c..bf70255a 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -18,6 +18,7 @@ namespace libcamera {
class Buffer;
class PipelineHandler;
+class Request;
class Stream;
class StreamConfiguration;
@@ -44,6 +45,15 @@ public:
streamConfiguration(std::vector<Stream *> &streams);
int configureStreams(std::map<Stream *, StreamConfiguration> &config);
+ int allocateBuffers();
+ void freeBuffers();
+
+ Request *createRequest();
+ int queueRequest(Request *request);
+
+ int start();
+ int stop();
+
private:
Camera(PipelineHandler *pipe, const std::string &name);
~Camera();