summaryrefslogtreecommitdiff
path: root/src/libcamera/include/v4l2_pixelformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/v4l2_pixelformat.h')
-rw-r--r--src/libcamera/include/v4l2_pixelformat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcamera/include/v4l2_pixelformat.h b/src/libcamera/include/v4l2_pixelformat.h
index 4d277569..0fe8a017 100644
--- a/src/libcamera/include/v4l2_pixelformat.h
+++ b/src/libcamera/include/v4l2_pixelformat.h
@@ -36,6 +36,10 @@ public:
std::string toString() const;
+ PixelFormat toPixelFormat() const;
+ static V4L2PixelFormat fromPixelFormat(const PixelFormat &pixelFormat,
+ bool multiplanar);
+
private:
uint32_t fourcc_;
};