summaryrefslogtreecommitdiff
path: root/src/camera/veyeimx287m.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera/veyeimx287m.h')
-rw-r--r--src/camera/veyeimx287m.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/camera/veyeimx287m.h b/src/camera/veyeimx287m.h
index 4de51af..03b7df9 100644
--- a/src/camera/veyeimx287m.h
+++ b/src/camera/veyeimx287m.h
@@ -5,6 +5,8 @@
#include <queue>
#include <thread>
+#include <QReadWriteLock>
+
#include "constants.h"
#include "image.h"
@@ -79,6 +81,12 @@ private:
static constexpr uint8_t BUFFER_COUNT{16};
+ struct MA
+ {
+ QReadWriteLock rwLock;
+ Image image;
+ } bbbbb[BUFFER_COUNT];
+
std::array<Image, BUFFER_COUNT> m_images;
/*!
* \brief m_imageMutexes - lock while processing image from m_images