summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_pixelformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_pixelformat.h')
-rw-r--r--include/libcamera/internal/v4l2_pixelformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libcamera/internal/v4l2_pixelformat.h b/include/libcamera/internal/v4l2_pixelformat.h
index 886d534d..fb2d5d0b 100644
--- a/include/libcamera/internal/v4l2_pixelformat.h
+++ b/include/libcamera/internal/v4l2_pixelformat.h
@@ -8,6 +8,7 @@
#pragma once
+#include <ostream>
#include <stdint.h>
#include <string>
@@ -50,4 +51,6 @@ private:
uint32_t fourcc_;
};
+std::ostream &operator<<(std::ostream &out, const V4L2PixelFormat &f);
+
} /* namespace libcamera */