summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index 9b2ec3af..2d2ccc47 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -10,6 +10,7 @@
#include <array>
#include <atomic>
#include <memory>
+#include <optional>
#include <stdint.h>
#include <string>
#include <vector>
@@ -21,6 +22,7 @@
#include <libcamera/base/signal.h>
#include <libcamera/base/unique_fd.h>
+#include <libcamera/color_space.h>
#include <libcamera/framebuffer.h>
#include <libcamera/geometry.h>
#include <libcamera/pixel_format.h>
@@ -167,6 +169,7 @@ public:
V4L2PixelFormat fourcc;
Size size;
+ std::optional<ColorSpace> colorSpace;
std::array<Plane, 3> planes;
unsigned int planesCount = 0;