summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/v4l2_subdevice.h3
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h
index 58d1e511..6fda52ad 100644
--- a/include/libcamera/internal/v4l2_subdevice.h
+++ b/include/libcamera/internal/v4l2_subdevice.h
@@ -9,6 +9,7 @@
#include <memory>
#include <optional>
+#include <ostream>
#include <string>
#include <vector>
@@ -35,6 +36,8 @@ struct V4L2SubdeviceFormat {
uint8_t bitsPerPixel() const;
};
+std::ostream &operator<<(std::ostream &out, const V4L2SubdeviceFormat &f);
+
class V4L2Subdevice : public V4L2Device
{
public:
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index 9c9493cc..23f37f83 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -11,6 +11,7 @@
#include <atomic>
#include <memory>
#include <optional>
+#include <ostream>
#include <stdint.h>
#include <string>
#include <vector>
@@ -180,6 +181,8 @@ public:
const std::string toString() const;
};
+std::ostream &operator<<(std::ostream &out, const V4L2DeviceFormat &f);
+
class V4L2VideoDevice : public V4L2Device
{
public: