Commit Graph
640 Commits
Author SHA1 Message Date
itsmattkc a1345166c7 renderer: move conform to task
Improved rendering system and user interface

Fixes #1375
2021-05-14 12:20:53 +10:00
itsmattkc 7d5e778dfa previewautocacher: multithread hash process
Significantly improves hashing speed. Particularly noticeable with longer video sources.
2021-05-14 00:13:04 +10:00
itsmattkc 37915d1c8c framehashcache: improve time list function
Old implementation was particularly slow, this is significantly faster and should be identical in output.
2021-05-14 00:11:20 +10:00
itsmattkc 5fb9793f43 opengl: use texture cache
Prevents a ton of texture allocation/deallocation. Should theoretically improve things, might make no noticeable difference.
2021-05-13 16:38:45 +10:00
itsmattkc 4cfe474861 opengl: wrap uploading to 3D textures
Probably won't ever need this, but it felt appropriate
2021-05-13 16:37:58 +10:00
itsmattkc a5fbcf059e videoparams: compare depth
Seems like a good thing to do
2021-05-13 16:27:17 +10:00
itsmattkc 8383929476 track/audioplaybackcache: re-did binary search algorithms
Fixes #1617
Fixes #1615
2021-05-10 10:42:07 +10:00
itsmattkc febb5b0d25 config: startup option for autocache pause
Makes debugging easier
2021-05-10 10:40:17 +10:00
itsmattkc 964129bb08 viewer: further improvements to auto-cache logic 2021-05-09 18:15:56 +10:00
itsmattkc db237d3bd4 update for openexr 3.x 2021-05-09 17:08:06 +10:00
itsmattkc 4b58d55d90 scope: ensure texture is updated from channel count too
Fixes #1610
2021-05-07 16:26:02 +10:00
itsmattkc fc63be565d cache: add more pixel format options for performance testing 2021-05-05 11:39:09 +10:00
itsmattkc bba23c1589 cache: don't create directories unless necessary 2021-05-05 11:38:27 +10:00
itsmattkc eb0cbea108 improved interlacing 2021-05-03 22:08:05 +10:00
itsmattkc 2484daf141 implemented full support for interlaced footage
Includes importing and exporting interlaced footage. Fixes #1340.
2021-05-03 13:56:54 +10:00
itsmattkc 20b3fe76a8 playbackcache: fixed crash if shift was beyond length 2021-05-03 13:53:39 +10:00
itsmattkc ee6b09f772 ffmpegdecoder: use avfilter system instead of raw swscale commands
Heh this was inevitable
2021-05-03 12:10:51 +10:00
itsmattkc 9d2ddbf727 renderer/decoder: clean up decoders after some time 2021-04-30 11:13:57 +10:00
itsmattkc b82e616124 previewautocache/viewer: improvements to cooperation between cache and viewer 2021-04-30 00:59:51 +10:00
itsmattkc f8d175c2ad previewautocacher: passthrough frames already being rendered 2021-04-29 23:40:53 +10:00
itsmattkc ec27c272e0 viewer: don't prioritize for the queue 2021-04-29 22:25:33 +10:00
itsmattkc 04a8a7aaa7 renderprocessor: use <= when choosing divider for footage
In some scenarios, will result in higher quality cache previews
2021-04-29 11:27:33 +10:00
itsmattkc 2a1cbc5a25 viewer: fixed crop matrix for export dialog 2021-04-29 00:31:19 +10:00
itsmattkc befb591b06 framemanager: added qmutex header
Some platforms need this it seems
2021-04-28 17:37:28 +10:00
itsmattkc 51ccaedc78 render: implemented frame pool
Optimization
2021-04-28 17:31:25 +10:00
itsmattkc cd1d75c6fb removed unnecessary debug lines 2021-04-27 10:08:13 +10:00
itsmattkc ff838d23d5 renderprocessor: removed unnecessary line 2021-04-27 00:56:41 +10:00
itsmattkc a3e0c51094 openglrenderer: disable array warning message
It's quite likely the renderer will never support arrays, and that's okay!
2021-04-27 00:55:57 +10:00
Thomas Wilshaw b4670d6cff Revert "audioplaybackcache: optimise writing to PCM"
This reverts commit 59163e8127.
2021-04-25 21:08:28 +01:00
Thomas Wilshaw 7ee6d52651 audioparams: move channel count calculation to its own function 2021-04-25 21:03:35 +01:00
Thomas Wilshaw 59163e8127 audioplaybackcache: optimise writing to PCM 2021-04-24 14:26:07 +01:00
Thomas Wilshaw 8373579009 audioparams: cache channel_count 2021-04-24 13:23:34 +01:00
itsmattkc fcb344bd4e render: improved threading stability 2021-04-24 18:21:33 +10:00
itsmattkc b07e132dbb framehashcache: allow access to frames being saved
Minor optimization and crash fix. If a frame is currently being
saved, it's still technically available in memory and can be
returned faster than loading from EXR. This also prevents
OpenEXR from trying to load a frame that we're midway through
saving.
2021-04-24 18:21:33 +10:00
itsmattkc 1fca3e1767 render: properly defined "out of bounds time" behavior with footage
If a user extends a clip beyond the footage's length, they can
choose whether they want a black frame, the last frame continued,
or for the footage to loop infinitely (same for extending earlier
than the start of footage).
2021-04-23 14:49:21 +10:00
itsmattkc 445d276cd0 nodes: further optimized merge node to passthrough RGB blend textures 2021-04-23 11:01:08 +10:00
itsmattkc 74ad4110be transform: hash the generated matrix
Making an exception for the transform node, we use a slightly
heavier hash to save more rendering time later.

Fixes #1560
Addresses some of #1360
2021-04-22 18:01:26 +10:00
itsmattkc 97b9bcc79f nodes: merged gizmotraverser and nodetabletraverser into nodetraverser
No real reason for these other derivatives that did virtually
the same thing.
2021-04-22 12:52:10 +10:00
itsmattkc 0cd40028d9 openglrenderer: use effective texture size rather than virtual size
Oof, this was an oopsie. This appears to fix the issues on AMD and some Intel
GPUs (the most prominent issues at least).
2021-04-18 00:19:19 +10:00
itsmattkc 77d4b18a60 updated copyright year for 2021 [skip ci] 2021-04-17 18:56:50 +10:00
itsmattkc 22b2d08baf rational: implement NaN mode
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
itsmattkc afed4f48d4 removed unused qfloat16 includes
Should lower our Qt minimum version requirement to 5.6
2021-04-13 23:43:56 +10:00
itsmattkc 157da658a5 renderer: prevent cache saving/loading with empty path 2021-04-13 15:53:33 +10:00
itsmattkc 885cabbdfa previewautocacher: remove unnecessary lines
These are node inputs now so they'll be copied automatically.
2021-04-13 15:43:32 +10:00
itsmattkc 7b4e7099f5 audioplayback: break loop on failure to read segment
Fixes #1564
2021-04-13 13:29:31 +10:00
itsmattkc 63c41146c7 renderer: disable mid-render cache when rendering audio
Fixes #1563
2021-04-13 10:17:37 +10:00
itsmattkc 6d0e188393 renderer: don't process video footage if rendering audio
Fixes #1530
2021-04-12 15:28:33 +10:00
itsmattkc 7701e9331f block: reimplemented reversing 2021-04-12 11:05:45 +10:00
itsmattkc da9cdbd29e block: disable connecting and keyframing speed parameter
We're going to replace keyframing this with a time remap node
because that will be much simpler to implement.

Fixes #1192.
Fixes #1204.
2021-04-12 10:35:02 +10:00
itsmattkc 6c30f8cf46 nodes: implemented infrastructure for caching any node
Not accessible through UI yet, but ported Footage node to it
(previously we used a hack to ensure Footage textures were
cached, now it's a formal infrastructure).
2021-04-11 18:56:39 +10:00