Jonathan Thomas
3daa5bdb7b
Large refactor of OpenMP integration (or rather the removal of OpenMP on the Timeline and FFmpeg-related classes). The logic behind this decision, was based on profiling libopenshot and the amount of wasted CPU idle time on all the various threads. The slow code is still synchronous, and all the threads must wait on each other, adding additional overhead. So, removing lots of unneeded threads, and simplifying the underlying Timeline->Clip->FFmpegReader flow. Also, removed 2 calls to QPainter::drawImage, by improving the flexibility of Clip->GetFrame.
2021-02-17 19:44:44 -06:00
FeRD (Frank Dana)
3ac7eb86a8
Keyframe: Remove Coordinate ctor unit test
2021-01-29 03:59:34 -05:00
Jonathan Thomas
47afa205c7
Merge pull request #585 from OpenShot/opencv
...
3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
2021-01-28 17:28:15 -06:00
Jonathan Thomas
ea9e774f1e
Fixing a big issue where SVG files are not correctly scaled to larger resolutions, for cases where the default size is smaller than the Timeline size (or preview size). Now SVG files are rescaled/re-rasterized larger when needed, and otherwise cached.
2021-01-28 15:46:39 -06:00
FeRD (Frank Dana)
6bd3110bce
Coordinate_Tests: include Exceptions.h
2021-01-27 05:48:53 -05:00
Frank Dana
dbaac4debd
Merge branch 'develop' into frac-python-types
2021-01-27 03:50:45 -05:00
FeRD (Frank Dana)
2f3615f706
Move Exceptions.h includes to .cpp files
2021-01-26 10:52:04 -05:00
Brenno
d481e5a75b
Fixed codacy review warnings
2021-01-19 16:32:50 -03:00
FeRD (Frank Dana)
c84d77d1d8
Merge branch 'develop' into frac-python-types
2021-01-03 20:52:50 -05:00
Frank Dana
2699e7d1d0
Unit tests: Don't use OpenShot.h header ( #607 )
...
- To prevent slow compiles of unit tests, replace all of the
'#include "OpenShot.h"' invocations with includes of the
individual headers actually needed by each test file.
2020-12-26 21:51:24 -05:00
FeRD (Frank Dana)
f21cf35d36
Remove OpenShot.h from OpenCV unit tests
2020-12-26 06:15:53 -05:00
FeRD (Frank Dana)
ed77db81d2
Unit tests: Don't use OpenShot.h header
...
- To prevent slow compiles of unit tests, replace all of the
'#include "OpenShot.h"' invocations with includes of the
individual headers actually needed by each test file.
Revert "Unit tests: Don't use OpenShot.h header"
This reverts commit e5cc4f8bf91fc60697996023a86dc618637f6161.
Unit tests: Don't use OpenShot.h header
- To prevent slow compiles of unit tests, replace all of the
'#include "OpenShot.h"' invocations with includes of the
individual headers actually needed by each test file.
2020-12-26 06:15:53 -05:00
FeRD (Frank Dana)
5cfe52b9f7
CMake: Add ENABLE_OPENCV option, use targets
2020-12-24 10:07:08 -05:00
Brenno
5b5763eebb
Merge remote-tracking branch 'origin/develop' into opencv
2020-12-17 22:19:10 -03:00
Frank Dana
ed5b2e2ae2
Switch to Github Actions for CI builds ( #599 )
...
* Use Github Actions for CI
* Incorporate coverage into os_test target
* CMake: Make 'test' an alias for 'os_test'
* Coverage in all clang builds
2020-12-12 08:36:59 -05:00
FeRD (Frank Dana)
deae5b2de2
Keyframe: Replace pair vector w/ CoordinateVector
2020-12-04 12:06:26 -05:00
FeRD (Frank Dana)
d0a625c9f2
Keyframe: Unit tests for new constructors
2020-12-04 11:28:37 -05:00
FeRD (Frank Dana)
0c938622fe
Fix Point unit tests
2020-12-04 11:28:37 -05:00
FeRD (Frank Dana)
cae2e7e910
Point: Unit tests for new constructor
2020-12-04 11:28:37 -05:00
FeRD (Frank Dana)
de9fb417da
# This is a combination of 2 commits.
...
# This is the 1st commit message:
Coordinate: Add std::pair constructor
# This is the commit message #2 :
Fix std::pair member types
2020-12-04 11:27:18 -05:00
FeRD (Frank Dana)
2a9cf280f5
Merge branch 'develop' into frac-python-types
2020-12-04 09:34:55 -05:00
Frank Dana
e8b4dde32e
Timeline::GetClip: Add anti-slicing unit tests ( #596 )
2020-12-04 09:25:30 -05:00
FeRD (Frank Dana)
2f6d88e168
various Readers: Fix GetCache return type
...
Tests: fix ImageWriter cache type
2020-11-27 03:28:03 -05:00
FeRD (Frank Dana)
68abf00ec7
tests/Coordinate: Complete coverage
2020-11-21 16:07:27 -05:00
FeRD (Frank Dana)
8f26846d05
tests/Fraction: Unit tests for new ctors
2020-11-21 15:17:44 -05:00