summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 15b5daa..739c3fb 100644
--- a/src/image.h
+++ b/src/image.h
@@ -1,5 +1,7 @@
#pragma once
+#include <QElapsedTimer>
+
#include "constants.h"
#include "typedefs.h"
@@ -36,9 +38,10 @@ struct Image
libcamera::PixelFormat pixelFormat{0};
Counters counters{};
bool hasInputData{false};
+ QElapsedTimer t;
void rotate();
- Pixels pixels() const;
+ Pixels pixels();
void copyFromData(const void* src, size_t size);
private: