diff options
Diffstat (limited to 'src/qcam/viewfinder.h')
-rw-r--r-- | src/qcam/viewfinder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qcam/viewfinder.h b/src/qcam/viewfinder.h index 42d40f1f..fb462835 100644 --- a/src/qcam/viewfinder.h +++ b/src/qcam/viewfinder.h @@ -11,11 +11,11 @@ #include <QList> #include <QSize> -#include <libcamera/base/span.h> - #include <libcamera/formats.h> #include <libcamera/framebuffer.h> +class Image; + class ViewFinder { public: @@ -24,7 +24,7 @@ public: virtual const QList<libcamera::PixelFormat> &nativeFormats() const = 0; virtual int setFormat(const libcamera::PixelFormat &format, const QSize &size) = 0; - virtual void render(libcamera::FrameBuffer *buffer, libcamera::Span<uint8_t> mem) = 0; + virtual void render(libcamera::FrameBuffer *buffer, Image *image) = 0; virtual void stop() = 0; virtual QImage getCurrentImage() = 0; |