Commit Graph
2895 Commits
Author SHA1 Message Date
itsmattkc a88fb07d89 Merge branch 'master' of https://github.com/olive-editor/olive 2020-02-29 17:22:13 +11:00
itsmattkc 139c14f941 footage: fixed appearance of some metadata, particularly audio metadata 2020-02-29 17:19:47 +11:00
itsmattkc fa992d78c5 Merge branch 'master' of https://github.com/olive-editor/olive 2020-02-29 16:38:43 +11:00
itsmattkc 236eea389b appveyor: package crashhandler executable 2020-02-29 16:38:24 +11:00
itsmattkc b134ac877f cmake: use better FindOpenEXR.cmake script 2020-02-29 01:17:41 +11:00
itsmattkc 163ad76456 renderer: rewrote frame compression algorithm
This function was noticeably lagging the main thread while caching. The
cause was OpenEXR's internal thread pool competing with our main
thread. Since we have our own system of worker threads, its thread pool
was unnecessary for caching, however for normal playback it was a useful
optimization. Unfortunately OIIO (which we were using to save EXRs)
didn't provide quite enough control over OpenEXR's threading behavior
(only providing control for over the global thread pool and not on
a per-image basis), so for caching we've switched to using OpenEXR
directly. This has noticeably sped up the main thread while causing no
noticeable slowdown to the caching process.
2020-02-29 01:00:17 +11:00
itsmattkc 2ec160525c cmake: made OpenEXR a direct dependency since we use it for
the caching system
2020-02-29 00:40:28 +11:00
itsmattkc 31edfdc28b crashhandlerdialog: added system information and made text area read only 2020-02-28 16:44:05 +11:00
itsmattkc 566a0729c1 timeruler: ignore cache signals if cache status isn't enabled
Minor optimization.
2020-02-28 15:49:26 +11:00
itsmattkc 15ac7f0e9d renderer: removed old signal that isn't used anymore 2020-02-28 15:49:02 +11:00
itsmattkc 3ba27b5fc1 crashhandler: removed old test code 2020-02-28 13:40:35 +11:00
itsmattkc ff69e69be4 crashhandler: updated for linux 2020-02-28 13:37:02 +11:00
itsmattkc c32ed5955c implemented simple crash handler 2020-02-28 13:21:32 +11:00
itsmattkc d1681bc294 travis: move app bundle to root before zipping 2020-02-27 18:42:08 +11:00
itsmattkc adcab06d4e fixed faulty while loop break 2020-02-27 18:15:55 +11:00
itsmattkc fde5e47901 projectexplorer:use if defined() and elif defined() for improved
compiler compatibility
2020-02-27 17:47:11 +11:00
itsmattkc f9a54ebdb6 renderer: remove frames from hash map as well when the diskmanager deletes
them
2020-02-27 17:46:49 +11:00
itsmattkc 735e180d5a pixelservice: use more widely supported OIIO function in image buffer
conversions
2020-02-27 17:19:59 +11:00
itsmattkc 273522f28a diskmanager: don't fail disk cache clear if the files simply don't exist
QFile::remove() will return false if the file doesn't exist, but
for our purposes that's as good as the file having been deleted.
2020-02-27 17:19:07 +11:00
itsmattkc a64f066e2e renderer: don't upconvert to RGBA if the source image is only RGB 2020-02-27 17:18:39 +11:00
itsmattkc 83c5cd2bc1 oiiodecoder: made line backwards compatible with OIIO < 2.1.x 2020-02-27 16:03:56 +11:00
itsmattkc a0f37ef827 pixelformat: added missing <memory> include for non-windows systems 2020-02-27 15:49:15 +11:00
itsmattkc d87b4fde8c renderer/decoder: use divider at the footage level
Optimizes rendering if a divider is being used.
2020-02-27 15:47:08 +11:00
itsmattkc 02ce48d0c6 various: pixel optimizations
Several things are accomplished in this commit, including:

- Use OIIO instead of our own functions for pixel format conversions
  (cleaner code/less for us to maintain)

- Fold all PixelService functions into the PixelFormat class
  (cleaner code)

- Moved OpenGL pixel definitions to OpenGL classes and out of the
  global classes.

- Add support for RGB buffers as well as RGBA (optimization)
2020-02-27 13:54:38 +11:00
itsmattkc 0624184b18 projectexplorer: re-implemented reveal in explorer function 2020-02-27 11:30:26 +11:00
itsmattkc 0fbffc9b8f ffmpegdecoder: mild code cleanup 2020-02-27 01:05:22 +11:00
itsmattkc 428cfc6210 exportdialog: use sequence name and project directory to auto-select export
filename
2020-02-27 00:58:19 +11:00
itsmattkc d7cde3b22e timelinewidget: clear block items before destruction
Prevents block items signalling anything after the TimelineWidget has already
been destroyed.
2020-02-26 14:36:51 +11:00
itsmattkc 9585786c4b exporter: removed unused and problematic function
This array this code made was never actually used and in fact the code was
potentially crash-prone.
2020-02-26 14:07:47 +11:00
itsmattkc 2fe680dccd Merge branch 'master' of https://github.com/olive-editor/olive 2020-02-26 11:39:08 +11:00
itsmattkc 0bef116020 oiiodecoder: set correct image stream
Fixes bug where loading a saved project with still images could crash.
2020-02-26 11:37:57 +11:00
itsmattkc e578ee6264 nodeviewedge: fixed float conversion warning 2020-02-26 01:59:46 +11:00
itsmattkc 7e7ff49777 nodeviewedge: use bezier curves instead of straight lines 2020-02-26 01:07:53 +11:00
itsmattkc 785160b86b nodeview: fixed crash when expanding a NodeViewItem with a NodeInputArray 2020-02-26 00:47:01 +11:00
itsmattkc bf7fc9a0c4 panels: selecting a clip in the timeline automatically selects the corresponding
nodes in the nodeview
2020-02-26 00:39:30 +11:00
itsmattkc 78daf9e28a exporter: updated exporter to function with new render system 2020-02-25 20:03:15 +11:00
itsmattkc ab19e445bd importtool: implemented auto-parameter detection from image streams too 2020-02-25 14:59:54 +11:00
itsmattkc 8d7b94658b footagepropertiesdialog: show colorspace and alpha association properties on
image streams
2020-02-25 14:59:48 +11:00
itsmattkc faffbb0f38 renderer: re-use already created textures if the images are known not to change 2020-02-25 14:57:49 +11:00
itsmattkc 5404fa628d cmake: use rc resource file on windows 2020-02-25 13:18:16 +11:00
itsmattkc fcb8e934c4 config: changed default cache range values 2020-02-24 12:34:28 +11:00
itsmattkc 9f17a23a42 videorenderframecache: use hash-prefix directory structure
Many file systems become inefficient with a lot of files in the same directory.
To solve this we use a semi-arbitrary system to split up all cache files into
several folders to keep things performant.
2020-02-24 12:34:16 +11:00
itsmattkc 2c16bb7c53 renderworker: removed unnecessary declaration 2020-02-24 11:58:38 +11:00
itsmattkc fceb1e8d3e viewer: re-render both video and audio if parameters change 2020-02-24 11:57:39 +11:00
itsmattkc 6239107670 ffmpegdecoder: run timer in main thread at all times 2020-02-24 11:56:48 +11:00
itsmattkc 08ed766771 audiorenderworker: fixed potential false positive in assert 2020-02-24 02:02:08 +11:00
itsmattkc 412ea9cede ffmpegdecoder: fixed bug with frame identification 2020-02-24 02:01:42 +11:00
itsmattkc 8f5a92af9c ffmpegframecache: removed unnecessary debug line 2020-02-24 02:01:21 +11:00
itsmattkc ff516b6202 audiorenderworker: added assert for problematic audio behavior that could
corrupt the heap
2020-02-23 22:20:01 +11:00
itsmattkc 6956e159e6 ffmpegdecoder: remove debug messages 2020-02-23 22:18:59 +11:00