summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-04-05 02:52:59 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-04-09 16:59:19 +0200
commitb0c730e330281f38ac51cb64d9581ed278759048 (patch)
treedd7398671330775d1ca302fe7871222a435eba6a /include
parent9a7dc3ce7f4253578a0f7c0d58417425c8155cb3 (diff)
libcamera: Switch to CameraConfiguration
Implement the camera configuration thru out the library, tests, cam and qcam tools. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 6038da63..b2dafda3 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -73,9 +73,9 @@ public:
int release();
const std::set<Stream *> &streams() const;
- std::map<Stream *, StreamConfiguration>
+ CameraConfiguration
streamConfiguration(const std::vector<StreamUsage> &usage);
- int configureStreams(std::map<Stream *, StreamConfiguration> &config);
+ int configureStreams(const CameraConfiguration &config);
int allocateBuffers();
int freeBuffers();