Commit Graph

24 Commits

Author SHA1 Message Date
Jonathan Thomas
f81f620c2a Merge pull request #732 from ferdnyc/crop-qpainter
Rewrite Crop effect using QPainter
2021-10-29 13:17:38 -05:00
Frank Dana
59138ea3e4 Adopt license management via Reuse project/tool (#711)
* reuse-managed license/copyright headers

reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.

* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
  - Add headers to source files
  - Change blanket licensing in .reuse/dep5 to only cover binary media
  - Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
FeRD (Frank Dana)
42e7049e6d Cleanup includes to reflect actual dependencies 2021-09-18 08:37:22 -04:00
FeRD (Frank Dana)
2f3615f706 Move Exceptions.h includes to .cpp files 2021-01-26 10:52:04 -05:00
FeRD (Frank Dana)
a1e44edad4 Merge branch 'develop' into clip-refactor-keyframes 2020-10-19 16:28:49 -04:00
Jonathan Thomas
8e0c1b89fa Replacing ARGB32_Premultiplied with Format_RGBA8888_Premultiplied, which still seems to benefit from performance, but keeps the byte order the same as before. win win 2020-10-19 16:22:27 -04:00
Jonathan Thomas
096c2c409d Converting RGB8888 to ARGB32_Premultiplied (for performance reasons) 2020-10-19 16:17:20 -04:00
FeRD (Frank Dana)
aa40ea29e0 Update include paths in all source/header files 2020-10-18 07:43:37 -04:00
FeRD (Frank Dana)
3c2532b4de Use std::make_shared to allocate shared ptrs
std::make_shared does in a single allocation what the constructors
for std::shared_ptr usually take at least 2 allocations to do.
May give us an infinitesimal performance/memory improvement.

https://www.modernescpp.com/index.php/memory-and-performance-overhead-of-smart-pointer
2020-08-20 16:50:12 -04: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)
2535588ad8 Prefixing fixes for QtHtml/QtText Readers 2019-10-30 03:43:11 -04:00
Jeff Shillitto
6c20fa43c2 Set HTML reader duration to 1 hour
Co-Authored-By: Frank Dana <ferdnyc@gmail.com>
2019-10-30 09:44:01 +11:00
FeRD (Frank Dana)
bcaa9ace98 QtText/QtHtmlReader: Don't leak memory in SetJson 2019-08-14 11:40:29 -04:00
Jeff Shillitto
0ee9ed8e3a Delete image on close 2019-08-14 22:38:41 +10:00
Jeff Shillitto
5a08afdb3f Set info.vcodec to QImage 2019-08-14 22:18:26 +10:00
Jeff Shillitto
ada13ddebd Disable undo/redo stack 2019-08-13 22:17:49 +10:00
Jeff Shillitto
78f370ee14 Add ability to apply style sheet/css to format HTML 2019-08-13 22:11:55 +10:00
Jeff Shillitto
c8f2c08d34 Add authors to docs 2019-08-13 21:24:42 +10:00
FeRD (Frank Dana)
b90a83dd4c Fix documentation-comment formatting, for Doxygen 2019-08-12 09:39:26 -04:00
Jeff Shillitto
3681121d81 Remove std namespace usage 2019-08-11 22:54:49 +10:00
Jeff Shillitto
dbd80926b2 General tidy up and code quality, consistency update 2019-08-11 22:06:34 +10:00
jediserg
e9ba82dd5b --add missing include and header guard macro 2019-07-27 18:13:45 -07:00
Sergei Kolesov
40521c9d72 --add gravity to QtHtmlReader 2019-07-22 05:52:24 -07:00
jediserg
ac9ea27cce --add QtHtmlReader 2019-07-06 14:50:50 -07:00