diff options
Diffstat (limited to 'src/libcamera/include/v4l2_pixelformat.h')
-rw-r--r-- | src/libcamera/include/v4l2_pixelformat.h | 4 |
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_; }; |