summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.cpp
AgeCommit message (Collapse)Author
2021-10-19cv, tracker/pt: cleanup opencv includesStanislaw Halik
2021-09-27cv, tracker/pt: use cv::Mat::create()Stanislaw Halik
2019-05-25cv: fix logic errorStanislaw Halik
2019-02-22video/widget: fix mutex starvationStanislaw Halik
Get rid of contention in `preview_size' and `set_image'. After switching the Qt mutex to non-recursive, turns out the writer thread preempts the UI thread to the point of freezing the entire thing. Mutex fairness is an implementation detail and we must assume unfair mutexes in the worst case.
2019-02-13fix signedness/conversion warningsStanislaw Halik
2019-02-11video/widget: externalize opencv codeStanislaw Halik
2019-02-11cv/video-widget: make it work without opencvStanislaw Halik
2019-02-11cv/video-widget: fixesStanislaw Halik
- don't copy pointlessly on ARGB32 input. - add stride argument to QImage. - don't do pointless stuff during painting on the main thread.
2019-02-02cv/video-widget: simplifyStanislaw Halik
Issue: #861
2019-02-02cv/video-widget: support other color depthsStanislaw Halik
Issue: #861
2019-01-16clang-tidy fixes onlyStanislaw Halik
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
2018-12-24fix undefined behavior undescore prefixesStanislaw Halik
2018-12-08clean up a bitStanislaw Halik
2018-06-26modernize C++ syntaxStanislaw Halik
No visible changes (hopefully).
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2018-01-17fix build (2)Stanislaw Halik
2018-01-16cv/video-frame, tracker/pt: add hidpi preview supportStanislaw Halik
2018-01-12tracker/pt: isolate point extractor and image typeStanislaw Halik
Issue: #718
2017-07-28gui: don't update the main window if it's hiddenStanislaw Halik
2017-04-29cv, pose-widget: don't premultiply alphaStanislaw Halik
It doesn't improve perf.
2017-04-17few widgets: use repaint() for no event loop overheadStanislaw Halik
The Qt event loop overhead formed a decent amount of total CPU usage. `repaint()' is a direct call.
2017-04-17cv/video-widget, pose-widget: use premultiplied argb32 surfaceStanislaw Halik
2017-02-21cv/video-widget: make check for widget size more strictStanislaw Halik
It still causes assertion failures for @mrsanchos.
2017-02-21cv/video-widget: short-circuit early in widget creationStanislaw Halik
Otherwise opencv has an assertion failure when creating a matrix with a zero dimension.
2017-02-21cv/video-widget: reduce cpu loadStanislaw Halik
Now that the resize happens in another thread, run timer less often
2017-02-21cv/video-widget: fix logic errorStanislaw Halik
Also try not to poke size() outside UI thread.
2017-02-21cv/video-widget: resize image in tracker threadStanislaw Halik
Otherwise it hangs up the main UI thread.
2016-10-05cv/video-widget: fix out-of-bounds writesStanislaw Halik
Video frames were allocated as single-channel 8-bit but they were meant to be three-channel 8bit for rgb. Reported by: @kzfr Tested in realtime by: @kzfr
2016-10-05api, cv, gui, pose-widget: remove window visibility checkStanislaw Halik
Causes freezes on multiple displays. Reported and tested in realtime by: @kzfr
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-10cv: move calibrator and video widget to cv moduleStanislaw Halik
Adjust usages in PT and Aruco trackers.