Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-20 | pose-widget: fix Qt use-after-free | Stanislaw Halik | |
Due to Qt's implicit sharing, something goes wrong when calling QImage::constBits(). It's likely related to to multithreading. Strangely enough, `constBits()' shouldn't perform a copy of the image according to Qt docs. While here, remove the "offset" defensive coding. Also, use a constant depth as to reduce confusion. | |||
2017-07-18 | pose-widget: fix build | Stanislaw Halik | |
2017-06-30 | pose-widget: optimize CPU usage slightly | Stanislaw Halik | |
CPU usage of an empty tracker loop fell reliably from 1% to .9%. | |||
2017-06-18 | minor tweaks only | Stanislaw Halik | |
2017-05-12 | minor fixes only | Stanislaw Halik | |
2017-05-10 | pose-widget: add empty space to prevent out-out-bounds writes | Stanislaw Halik | |
2017-05-10 | pose-widget: projected pixel overflow isn'n an issue | Stanislaw Halik | |
2017-05-01 | pose-widget: catch 90 deg oblique rotation sooner | Stanislaw Halik | |
2017-04-29 | cv, pose-widget: don't premultiply alpha | Stanislaw Halik | |
It doesn't improve perf. | |||
2017-04-20 | pose-widget: fix build | Stanislaw Halik | |
2017-04-18 | many: use std::f{max,min} for floating-point values | Stanislaw Halik | |
2017-04-18 | pose-widget: also compute alpha in the loop | Stanislaw Halik | |
2017-04-18 | pose-widget: check area for invalid denom | Stanislaw Halik | |
The denom check is a magic number otherwise. | |||
2017-04-17 | pose-widget: iterate over BGR | Stanislaw Halik | |
2017-04-17 | pose-widget: interpolate next in world coordinate space | Stanislaw Halik | |
The next value was chosen in view space. | |||
2017-04-17 | few widgets: use repaint() for no event loop overhead | Stanislaw Halik | |
The Qt event loop overhead formed a decent amount of total CPU usage. `repaint()' is a direct call. | |||
2017-04-17 | cv/video-widget, pose-widget: use premultiplied argb32 surface | Stanislaw Halik | |
2017-04-12 | pose-widget: fix some breakage, forgot what it was | Stanislaw Halik | |
2017-04-06 | pose-widget: avoid condition variable overhead | Stanislaw Halik | |
It's busy-looping on Windows. | |||
2017-04-06 | pose-widget: prevent races and serial execution | Stanislaw Halik | |
We actually need to use "mtx" with the condition variable and copy the data to the worker thread's stack. Also allow for synchronous pose update, for tracking stoppage. | |||
2017-04-06 | pose-widget: rename unit and header | Stanislaw Halik | |
2017-03-29 | pose-widget: reduce latency | Stanislaw Halik | |
- project on a separate thread - use Qt's native ARGB32 - use double buffering - more fine-grained locks | |||
2017-03-28 | start renaming internal macros as OPENTRACK_* to OTR_* | Stanislaw Halik | |
2017-03-27 | cmake: rename project's function prefix | Stanislaw Halik | |
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module". | |||
2017-03-22 | [COVERITY] pose-widget: fix integer math where fpu was meant | Stanislaw Halik | |
2017-02-27 | remove unfinished polish translation files | Stanislaw Halik | |
Polish speakers typically know English well enough and translations are awkward. | |||
2017-02-21 | modules: add .ts files | Stanislaw Halik | |
2016-12-28 | pose-widget: qrc init needed only for static libraries | Stanislaw Halik | |
cf. http://doc.qt.io/qt-5/resources.html#using-resources-in-a-library | |||
2016-12-28 | pose-widget: qrc initializer needn't be exported | Stanislaw Halik | |
It's only used in _init inside that library. | |||
2016-12-28 | pose-widget: fix resources in library | Stanislaw Halik | |
They must be initialized at top namespace | |||
2016-11-18 | pose-widget: avoid impl namespace clash | Stanislaw Halik | |
2016-11-12 | pose-widget, logic/tracker: adjust euler helpers usage | Stanislaw Halik | |
2016-11-05 | delete empty .ts | Stanislaw Halik | |
2016-11-04 | modules: add autogenerated translation files | Stanislaw Halik | |
2016-11-03 | move simple-mat from logic to compat to simplify dependencies | Stanislaw Halik | |
2016-10-11 | pose-widget: make octopus more slim | Stanislaw Halik | |
It looked weird as such a fatso forgotso. | |||
2016-10-05 | api, cv, gui, pose-widget: remove window visibility check | Stanislaw Halik | |
Causes freezes on multiple displays. Reported and tested in realtime by: @kzfr | |||
2016-09-27 | pose-widget: larger octopus resolution. simplify code. | Stanislaw Halik | |
2016-09-21 | many: remove compat/pi-constant.hpp | Stanislaw Halik | |
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission. | |||
2016-08-12 | all: rename modules s#^opentrack-##. and opentrack -> api | Stanislaw Halik | |
Adjust usages. | |||
2016-08-10 | pose-widget, gui: allow for drawing regardless if window visible | Stanislaw Halik | |
2016-08-08 | gui: make octopus pitch the right way | Stanislaw Halik | |
2016-07-31 | pose-widget, tracker/{aruco,pt}: check more often for widget visibility | Stanislaw Halik | |
It looks weird otherwise. | |||
2016-07-25 | logic, pose-widget: fix following simple-mat move | Stanislaw Halik | |
2016-07-25 | api/simple-mat: move to logic | Stanislaw Halik | |
Change causes rebuilds of all modules otherwise. | |||
2016-07-23 | pose-widget: use common code for euler -> rmat | Stanislaw Halik | |
2016-07-23 | pose-widget: don't display when window hidden | Stanislaw Halik | |
When the opentrack window isn't displayed (minimized or hidden by some other window), don't bother with refreshing the image. | |||
2016-07-23 | pose-widget: don't do barycentric lookup twice | Stanislaw Halik | |
In the affine transformation (aka the pose widget) of The Octopus we use barycentric coordinates of two triangles making up The Octopus rectangle. Triangles are symmetrical. Take advantage of the symmetry (no perspective transform applied) and take barycentric coordinates only once. | |||
2016-07-18 | cmake: adjust paths for main executable dependencies | Stanislaw Halik | |
2016-05-26 | many modules: trivial cleanups only | Stanislaw Halik | |
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab |