Commit Graph

214 Commits

Author SHA1 Message Date
Brenno
d0ce70fdc0 Added thread runner with pre-processing effects
Also integrated a basic the tracker Effect with the UI, changed the effect creation to use Json messages, and added the ProcessingController class to handle thread communication
2020-07-16 21:10:02 -03:00
Brenno
791961c057 modified cmake to include OpenCV and Protobuf as optional dependencies 2020-07-04 19:20:54 -03:00
Brenno
a85e45bfda Implemented CVStabilization, removed cv namespace 2020-07-02 19:09:04 -03:00
Brenno
4f42a624a7 Included unit tests for Frame and CVTracker 2020-06-28 16:54:11 -03:00
Jonathan Thomas
8b12c1fa21 Replacing WriteFrame() method with custom constructor which can accept a CacheBase* pointer, for instances where a DummyReader needs some specific test Frame objects 2020-06-06 17:25:45 -05:00
Jonathan Thomas
d29027ae30 Added an additional unittest for DummyReader (for invalid frame) 2020-06-06 02:03:27 -05:00
Jonathan Thomas
7831cfe912 Adding some new functionality and documentation to DummyReader. Adding the ability to add test frames, with fake image and audio data. This will can be used in unittests, and will soon be used to verify some new audio improvements (coming soon). 2020-06-06 01:55:52 -05:00
Frank Dana
12dd4d150a Merge pull request #448 from SuslikV/ffmpeg-like-fps
Change frame rate detection
2020-03-27 10:29:04 -04:00
FeRD (Frank Dana)
2701cf9079 Add frame rate test to FFmpegReader_Tests 2020-03-26 20:12:10 -04:00
Frank Dana
c38c55fbfa Merge pull request #466 from SuslikV/float-to-int16
Fix distortion during mix of audio
2020-03-26 19:51:32 -04:00
FeRD (Frank Dana)
b7384605ed Clip_Tests: Remove try/catch blocks 2020-03-19 05:55:06 -04:00
SuslikV
54a82ff0a6 Fix test sample values
Previously, x0.98 gain was applied for all input audio sources. As it's
no longer needed, the new values should be specified as reference for
the tests.
2020-03-16 16:22:41 +02:00
Frank Dana
4058dde300 ReaderBase_Tests: 100% internal coverage (#462) 2020-03-10 23:56:27 -04:00
Frank Dana
600e8844ee Merge branch 'develop' into add-features 2020-03-01 19:50:52 -05:00
Jonathan Thomas
5da706dc23 Bump dependency to OpenShotAudio to 0.2.0 2020-02-28 17:16:48 -06:00
Jonathan Thomas
4f591c7b94 Merge pull request #396 from ferdnyc/json-parsing
Behind-the-scenes code tidying for Json data handling
2020-02-27 15:32:05 -06:00
FeRD (Frank Dana)
7ab18fde9f Modernize FindUnitTest++.cmake, add pkg-config
The same old variables will be respected for setting the path, but the
PREFERRED method is defining `-DUnitTest++_ROOT=/path/to` on the
CMake command line. _ROOT variables are handled with extra intelligence
by CMake.

The find module will also attempt to locate the pkg-config file
UnitTest++.pc, and if found will import its data.
2020-02-26 05:28:14 -05:00
Frank Dana
96b4ac47c3 Clean up ENABLE/DISABLE_TESTS logic and handling 2020-02-26 05:28:13 -05:00
FeRD (Frank Dana)
85ca6c5744 CMake: Add features for docs, unit tests
- A new CMake option, ENABLE_TESTS, is created and defaults ON
  (Legacy -DDISABLE_TESTS=1 on the command line will override)
- Target info for docs and tests is shown in the FeatureSummary
2020-02-26 05:26:00 -05:00
FeRD (Frank Dana)
7867cf01b8 Reorder arguments in setVideoOptions overload
- The new ordering (with the frame rate AFTER width and height) doesn't
  match the other signature, but it *is* consistent with the Timeline
  constructor, and it just feels more natural
- Added overloaded-function notes to doxygen strings in FFmpegWriter.h
- Also added a warning about the argument order mismatch above
2020-02-14 11:53:28 -05:00
FeRD (Frank Dana)
bad0a34a65 Add unit test for overloads 2020-01-31 04:35:43 -05:00
Frank Dana
8ea7449363 Merge branch 'develop' into json-parsing 2020-01-20 15:25:40 -05:00
FeRD (Frank Dana)
6aa799cb51 FindRESVG: Modernize with targets 2020-01-08 16:45:19 -05:00
Jonathan Thomas
4cf322d21a Merge pull request #397 from ferdnyc/frame-copy
Frame: Copy has_audio_data correctly in DeepCopy
2020-01-02 17:45:32 -06:00
FeRD (Frank Dana)
f8d715ce76 tests: Don't use REQUIRE in unit tests
It's not supported in the older UnitTest++ version still in use on
Ubuntu Xenial.
2019-12-28 15:50:37 -05:00