Commit Graph
3168 Commits
Author SHA1 Message Date
itsmattkc f73c41d3fa various: implemented multiple project support
This required various changes to various parts of the infrastructure (mostly
using paths to finding the "root project" of any given object throughout).
Now theoretically infinite projects can be opened and accounted for at any
given time.
2020-04-18 01:50:47 +10:00
itsmattkc 77c0db55a5 viewer: implemented display of title/action safe margins 2020-04-17 18:59:17 +10:00
itsmattkc 6df708028f core: reimplemented "open recent" functionality and opening a project from command line 2020-04-17 02:57:56 +10:00
itsmattkc 5f23fa24a7 config: use qstringliteral for config filename
Minor optimization.
2020-04-17 02:56:50 +10:00
itsmattkc 832cc986b7 timeline/block: reimplemented enabling/disabling blocks 2020-04-17 02:16:04 +10:00
itsmattkc 78c3c10e5f timeline: reimplemented deleting/ripple deleting the in/out region 2020-04-17 01:41:20 +10:00
itsmattkc d8e0a31375 color: when converting to a QColor for UI, clamp to 0.0-1.0 2020-04-17 01:17:14 +10:00
itsmattkc df5b66c3c7 nodeparamview: show connections in the param view 2020-04-17 01:07:13 +10:00
itsmattkc 42905d1d51 mainmenu/menushared: rewrote convenience functions to use new qt signal/slot syntax
Code improvement
2020-04-17 00:20:46 +10:00
itsmattkc a5c1de6df3 timebasedwidget: implemented go to in/out 2020-04-17 00:20:16 +10:00
itsmattkc a93b06b7a2 Revert "solid shader: moved from generator to input category"
This reverts commit 07dfe1c364.
2020-04-16 23:15:19 +10:00
itsmattkc df534fadbe common: added function to convert any number to a hex string
Helps with debugging.
2020-04-16 23:13:35 +10:00
itsmattkc 2f80be437a node: fixed issue with "taking" values from input tables
As opposed to simply leaving all values in the table, nodes can now "take"
values that they use to free up memory (e.g. "taking" input buffers if they're
used to produce an output buffer).

This is a fairly large change, expect regressions.
2020-04-16 23:12:05 +10:00
itsmattkc cc8699c0bc colordialog: don't clamp values 2020-04-16 15:26:05 +10:00
itsmattkc 8656b79319 opacitynode: switch view to percent rather than as a normal number 2020-04-16 14:54:46 +10:00
itsmattkc b4795c0222 blur: merged box and gaussian blurs into one node
While these are two separate blur effects, merging them into one node will
allow quick swapping of blur methods.
2020-04-16 13:17:30 +10:00
itsmattkc 61654e8127 Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-16 12:23:52 +10:00
eszlari a5a10ed03d Linux/.desktop: add %f 2020-04-16 12:23:34 +10:00
itsmattkc 290c8724c4 Merge pull request #1131 from luzpaz/typos-followup
Fix typos cont.
2020-04-16 12:21:45 +10:00
itsmattkc ca071beb33 Merge branch 'master' of https://github.com/olive-editor/olive 2020-04-16 12:21:09 +10:00
itsmattkc 32969d2403 colordialog: updated to show input/reference/display values 2020-04-15 18:11:46 +10:00
itsmattkc 9cc4349054 timebasedwidget: re-implemented toggle show all function 2020-04-15 15:31:54 +10:00
itsmattkc 2610d58ae3 footagecombobox: fixed bug where footagecombobox would display null on first showing 2020-04-15 03:59:46 +10:00
itsmattkc cc421d4108 keyframeview: show correct length and jump to the corresponding time in NodeParamView 2020-04-15 03:35:48 +10:00
itsmattkc 7ea8c52c78 /nodeparamviewwidgetbridge: block combobox signals when updating from node
Prevents unnecessary re-caching caused by the combobox signalling that its
value has changed when we're really just setting the value that the node already
has.
2020-04-15 02:52:24 +10:00
itsmattkc 07dfe1c364 solid shader: moved from generator to input category 2020-04-15 02:52:12 +10:00
itsmattkc cb6c054b8d trigonometrynode: implemented trigonometry node 2020-04-15 02:41:20 +10:00
itsmattkc c09d83291e nodeparamviewwidgetbridge: empty combobox entries are separators 2020-04-15 02:41:05 +10:00
itsmattkc c761403ba4 mathnode: override texture x matrix op 2020-04-15 02:07:48 +10:00
itsmattkc a0a7d106dc mathnode: implemented add/subtract/multiply/divide/power functions
Includes implementing combobox UI for the NodeParamViewWidgetBridge.
2020-04-15 01:52:24 +10:00
itsmattkc fd1ecfae6f audio: removed hardcoded stereo value
Fixes bug that caused AudioMonitor to only show two channels regardless of the
actual number of channels being mixed.
2020-04-14 23:55:28 +10:00
itsmattkc 2646d424d8 sequence: fixed broken detection of audio channel layouts when setting params from footage 2020-04-14 23:49:48 +10:00
itsmattkc 9f7a9d85b4 ffmpegdecoder: fixed deadlock on non-video streams 2020-04-14 23:42:31 +10:00
itsmattkc 6046b1e892 timeline: fixed bug that prevented clips from being dragged to lower tracks 2020-04-14 23:36:59 +10:00
itsmattkc d8df104c35 keyframeviewbase: for one-dimensional views, if multiple keys are at the same time, select all of them 2020-04-14 23:26:59 +10:00
itsmattkc e5ac9d48a6 mathnode: added path for math between a texture and a matrix 2020-04-14 23:07:00 +10:00
itsmattkc a2f954a0a7 memorypool: implemented arenas
A pool can allocate/destroy any amount of arenas during runtime, meaning it
won't run out of memory but we still get the advantages of one large allocation
as opposed to hundreds of small allocations.
2020-04-14 16:23:45 +10:00
itsmattkc feceef0d62 ffmpegdecoder: impose limit on memory frame cache 2020-04-14 15:16:38 +10:00
itsmattkc 9cc343bf13 ffmpegdecoder: share framepool with all instances
We can conserve memory by sharing our frame pool amongst instances of the same
stream.
2020-04-14 14:51:31 +10:00
itsmattkc b3bebeeef3 decoder: removed unused destructor
Very old unused code.
2020-04-14 14:51:15 +10:00
itsmattkc 9a25064b00 memorypool: placed mutex around get and release functions
Makes all memory pool derivatives effectively thread-safe.
2020-04-14 14:50:37 +10:00
itsmattkc 873f58d057 Merge branch 'decoder-ffpool' 2020-04-14 02:45:38 +10:00
itsmattkc 7bfdf8af7c ffmpegframepool: implemented functional frame pool
Includes splitting off core functionality to a base MemoryPool class that can
be re-used later if necessary.
2020-04-14 02:43:12 +10:00
itsmattkc 2eb03bf386 various: removed constructor.h include 2020-04-14 00:53:25 +10:00
itsmattkc 20b10509fe travis: revert xcode version
Updating the Xcode version appears to have broken rendering on macOS.
2020-04-13 23:45:16 +10:00
itsmattkc 6bb972b4db decoder: began implementation of a frame pool 2020-04-13 23:44:42 +10:00
itsmattkc 5c927ce7a4 core: merged define and constructor headers 2020-04-13 23:44:18 +10:00
itsmattkc f80a82459b ffmpegdecoder: clear cache_at_zero flag if frames are removed 2020-04-13 13:24:30 +10:00
itsmattkc aac47ba776 viewer: re-queue video renderer even when beyond the length
Ensures video renderer always renders where the playhead is.
2020-04-13 13:19:08 +10:00
itsmattkc cdf5a1058d ffmpegdecoder: re-use existing frame pool for memory management 2020-04-12 14:12:08 +10:00