summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder.h')
-rw-r--r--src/qcam/viewfinder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcam/viewfinder.h b/src/qcam/viewfinder.h
index 1a27f99e..b3f1d25d 100644
--- a/src/qcam/viewfinder.h
+++ b/src/qcam/viewfinder.h
@@ -10,6 +10,7 @@
#include <stddef.h>
#include <QIcon>
+#include <QList>
#include <QImage>
#include <QMutex>
#include <QSize>
@@ -35,6 +36,8 @@ public:
ViewFinder(QWidget *parent);
~ViewFinder();
+ const QList<libcamera::PixelFormat> &nativeFormats() const;
+
int setFormat(const libcamera::PixelFormat &format, const QSize &size);
void render(libcamera::FrameBuffer *buffer, MappedBuffer *map);
void stop();