summaryrefslogtreecommitdiff
path: root/include/libcamera/pixel_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/pixel_format.h')
-rw-r--r--include/libcamera/pixel_format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/pixel_format.h b/include/libcamera/pixel_format.h
index 6727315a..c4ae0883 100644
--- a/include/libcamera/pixel_format.h
+++ b/include/libcamera/pixel_format.h
@@ -38,6 +38,8 @@ public:
std::string toString() const;
+ static PixelFormat fromString(const std::string &name);
+
private:
uint32_t fourcc_;
uint64_t modifier_;