diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-18 19:57:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-18 19:57:42 +0100 |
commit | 8a60f1c9613d396b50aa6adec4b1f5ffdb9e9806 (patch) | |
tree | 7c92080112cfbcd0383fb3ff304abefa19a13379 /tracker-pt/point_tracker.cpp | |
parent | 84fb0aab5633a98fd2aef7d9e642628e826e2a9d (diff) |
tracker/pt: reduce mutex contention
Diffstat (limited to 'tracker-pt/point_tracker.cpp')
-rw-r--r-- | tracker-pt/point_tracker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp index 924b75de..aa6feb5b 100644 --- a/tracker-pt/point_tracker.cpp +++ b/tracker-pt/point_tracker.cpp @@ -249,6 +249,7 @@ int PointTracker::POSIT(const PointModel& model, const PointOrder& order_, float old_epsilon_2 = epsilon_2; } + QMutexLocker l(&mtx); // apply results X_CM.R = *R_current; X_CM.t[0] = order[0][0] * Z0/focal_length; |