Commit Graph

56 Commits

Author SHA1 Message Date
Brenno
b2721c09f5 Protobuf messages now compile with Cmake 2020-07-21 11:12:06 -03:00
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
d6e0a69c1f improved the stabilize effect integration 2020-07-15 10:29:08 -03:00
Brenno
6d547650dc Added code comments and minor changes
Added map instead of vector in the Stabilizer, removed unnecessary code and improved documentation
2020-07-09 20:26:01 -03:00
Brenno
c60236a1c3 Added Stabilize Effect 2020-07-08 22:31:26 -03:00
Brenno
0ef77af878 Included Tracker as an effect 2020-07-08 11:49:46 -03:00
FeRD (Frank Dana)
f354850984 Effects: Mark overridden methods accordingly 2020-04-15 21:44:17 -04: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)
7868157be5 Streamline blur effect code 2020-02-03 02:24:08 -05:00
FeRD (Frank Dana)
22bf6edfba Enhance Json data handling
- Parsing from string to Json::Value is now done by utility function
  openshot::stringToJson() in Json.cpp, all SetJson() methods call it.
- Expand use of const member functions and args where appropriate.
- Use std::to_string() to format int/float values as strings.
- Correct mentions of nonexistent Json::JsonValue type in docstrings
2019-12-27 08:51:51 -05:00
FeRD (Frank Dana)
45cfda413d (include/src)/effects/: std::prefixes 2019-08-05 01:08:03 -04:00
Frank Dana
86e610bfc8 Fix parameter documentation for brightness
The range was listed as 0 – 100, but implemented as -1 – +1. Edited documentation to reflect reality.

Reported by @jeffski like a year and a half ago.
Fixes #71
2019-07-10 04:48:31 -04:00
Chris Kirmse
572875b8d7 Merge remote-tracking branch 'upstream/develop' into develop 2019-06-24 10:00:22 -07:00
Jonathan Thomas
5f48fbf1a4 Merge pull request #251 from ferdnyc/crop-args
Crop.h: Remove nonexistent color argument
2019-06-21 00:25:29 -05:00
Jonathan Thomas
967f23b8a4 Merge pull request #245 from ferdnyc/license-block
Upgrade Doxygen documentation formatting/content
2019-06-21 00:24:54 -05:00
Frank Dana
a47d5b58fd Add backwards-compatible Imagemagick 7 support (#252)
* Add ImageMagick 7 compatibility

A new header, `imclude/MagickUtilities.h`, is created to hold the
compatibility `#define`s.

The image-conversion code in `src/Frame.cpp` received the only
major changes — instead of doing the export by hand (and having
to account for changes in the underlying API), it uses the
`MagickCore::ExportImagePixels()` function which does basically
the same work, but accounts for all of the API changes for us.
The API of that function is _unchanged_ from IM6 to IM7.

TODO: `MagickCore::ExportImagePixels()` will return an `exception`
struct if it encounters any problems. Currently the code ignores
that, which it should not.

* Add ImageMagick 7 compatibility

A new header, `imclude/MagickUtilities.h`, is created to hold the
compatibility `#define`s.

The image-conversion code in `src/Frame.cpp` received the only
major changes — instead of doing the export by hand (and having
to account for changes in the underlying API), it uses the
`MagickCore::ExportImagePixels()` function which does basically
the same work, but accounts for all of the API changes for us.
The API of that function is _unchanged_ from IM6 to IM7.

TODO: `MagickCore::ExportImagePixels()` will return an `exception`
struct if it encounters any problems. Currently the code ignores
that, which it should not.

Thanks @ferdnyc
2019-06-21 00:07:49 -05:00
FeRD (Frank Dana)
4455f77bd9 Crop.h: Remove nonexistent color argument
Doxygen caught this one: the default constructor for Crop()
doesn't take an argument 'color', though it was documented to.
2019-06-12 21:27:53 -04:00
FeRD (Frank Dana)
f170fdd009 Update copyright range to current year 2019-06-11 06:48:32 -04:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Chris Kirmse
650d3ec820 fix grammar error with possessive its and update sample for audio parameter 2019-03-14 09:26:56 -07:00
Jonathan Thomas
da01a2c4cb Adding "reader" property for Mask effect, to allow the user to adjust the image or video used by the mask effect. 2018-08-02 00:42:14 -05:00
Jonathan Thomas
244fac4df8 Adding new crop effect, which can also be animated for some very cool effects. 2018-03-05 02:12:37 -06:00
Jonathan Thomas
df2b59cf24 Optimize and improve speed of Mask effect (used by transitions). This is way faster than before now! 2018-03-03 23:16:47 -06:00
Jonathan Thomas
7f9fc30203 Adding new Color Shift effect, which can shift any color (RGBA) with infinite wrapping (and full supports animation). 2018-03-03 18:02:14 -06:00
Jonathan Thomas
3034bbe273 Adding new Pixelate video effect, which pixelates a portion (or all) of a frame's image, and is fully animatable. 2018-02-09 16:43:43 -06:00