Commit Graph

23 Commits

Author SHA1 Message Date
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)
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
21951bea5c Set duration to 1 hour
Co-Authored-By: Frank Dana <ferdnyc@gmail.com>
2019-10-30 09:43:31 +11:00
Jeff Shillitto
33f16d3a55 Use QFont instead of setting parameters 2019-09-21 21:11:29 +10:00
Jeff Shillitto
738dd62132 Enable background fill color to be set behind text 2019-09-20 22:10:07 +10:00
Jeff Shillitto
c8b5300df3 Allow font bold and italic properties to be set 2019-09-20 21:25:09 +10: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
c8f2c08d34 Add authors to docs 2019-08-13 21:24:42 +10:00
Jeff Shillitto
745225ad62 Rename variable to font_size. Add docs for QApplication 2019-08-13 21:18:55 +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
Jeff Shillitto
bf4323f354 Fixed missing include and Qt gravity 2019-07-12 15:14:38 +10:00
jediserg
b851508c9f --add QtTextWriter (it's based on TextReader and use Qt instead image magick) 2019-06-25 03:41:28 -07:00