diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/formats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libcamera/internal/formats.h b/include/libcamera/internal/formats.h index b8e47491..51a8a6b8 100644 --- a/include/libcamera/internal/formats.h +++ b/include/libcamera/internal/formats.h @@ -46,6 +46,8 @@ public: unsigned int frameSize(const Size &size, const std::array<unsigned int, 3> &strides) const; + unsigned int numPlanes() const; + /* \todo Add support for non-contiguous memory planes */ const char *name; PixelFormat format; |