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 a7759ccb..5bb06584 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -13,6 +13,7 @@
#include <string>
#include <libcamera/base/class.h>
+#include <libcamera/base/flags.h>
#include <libcamera/base/object.h>
#include <libcamera/base/signal.h>
@@ -69,6 +70,15 @@ public:
protected:
CameraConfiguration();
+ enum class ColorSpaceFlag {
+ None,
+ StreamsShareColorSpace,
+ };
+
+ using ColorSpaceFlags = Flags<ColorSpaceFlag>;
+
+ Status validateColorSpaces(ColorSpaceFlags flags = ColorSpaceFlag::None);
+
std::vector<StreamConfiguration> config_;
};