diff options
Diffstat (limited to 'src/qcam/format_converter.h')
-rw-r--r-- | src/qcam/format_converter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcam/format_converter.h b/src/qcam/format_converter.h index 2220a62b..bb04aa95 100644 --- a/src/qcam/format_converter.h +++ b/src/qcam/format_converter.h @@ -19,7 +19,8 @@ class QImage; class FormatConverter { public: - int configure(const libcamera::PixelFormat &format, const QSize &size); + int configure(const libcamera::PixelFormat &format, const QSize &size, + unsigned int stride); void convert(const Image *src, size_t size, QImage *dst); @@ -38,6 +39,7 @@ private: libcamera::PixelFormat format_; unsigned int width_; unsigned int height_; + unsigned int stride_; enum FormatFamily formatFamily_; |