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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/include/pipeline_handler.h b/src/libcamera/include/pipeline_handler.h
index 8a1706fa..b6cbd3ba 100644
--- a/src/libcamera/include/pipeline_handler.h
+++ b/src/libcamera/include/pipeline_handler.h
@@ -18,6 +18,7 @@ namespace libcamera {
class Buffer;
class BufferPool;
class Camera;
+class CameraConfiguration;
class CameraManager;
class DeviceEnumerator;
class MediaDevice;
@@ -52,10 +53,9 @@ public:
virtual bool match(DeviceEnumerator *enumerator) = 0;
- virtual std::map<Stream *, StreamConfiguration>
+ virtual CameraConfiguration
streamConfiguration(Camera *camera, const std::vector<StreamUsage> &usages) = 0;
- virtual int configureStreams(Camera *camera,
- std::map<Stream *, StreamConfiguration> &config) = 0;
+ virtual int configureStreams(Camera *camera, const CameraConfiguration &config) = 0;
virtual int allocateBuffers(Camera *camera, Stream *stream) = 0;
virtual int freeBuffers(Camera *camera, Stream *stream) = 0;