summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt_video_widget.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-19 21:57:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-19 21:57:01 +0100
commitf6c32359f0697b3c8caea669d4a766b684b06a9b (patch)
treeaeae5fe6715e789923d206334fc786b7315cedaa /tracker-pt/pt_video_widget.h
parent29b7e7c2cd3f7d2b72f15168ecfa167beee0ded5 (diff)
tracker/pt: avoid widget temp QImage allocation
Diffstat (limited to 'tracker-pt/pt_video_widget.h')
-rw-r--r--tracker-pt/pt_video_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/pt_video_widget.h b/tracker-pt/pt_video_widget.h
index 1235c0d5..073b2e93 100644
--- a/tracker-pt/pt_video_widget.h
+++ b/tracker-pt/pt_video_widget.h
@@ -42,6 +42,6 @@ private:
QMutex mtx;
QImage texture;
QTimer timer;
- cv::Mat _frame;
+ cv::Mat _frame, _frame2, _frame3;
bool freshp;
};