Blender Git Commit Log

Git Commits -> Revision 5b1d669

Revision 5b1d669 by Peter Schlaile (master)
October 1, 2007, 08:03 (GMT)
== Sequencer ==

This patch adds prefetch buffering to the sequencer
(see the tracker for additional details:

https://projects.blender.org/tracker/?func=detail&aid=7307&group_id=9&atid=127
)

We create seperate render threads (currently one, because of the fact,
that sequence rendering modifies global structures...), that
render up to the defined userpref value "Prefetch frames" in advance.
(Pressing Alt-A will _first_ fill the buffer and then start playing.)

Bassam and I did some extensive testing, so it should work.

If you don't configure your number of prefetch frames, prefetching is disabled!
(Sane defaults... :)

Also: if the machine is definitely too slow and runs out of the prefetch
area, prefetching is disabled automatically and we are back to good old
frame skipping mode.

My Dual Athlon is able to handle 4 parallel DV streams at once (sometimes
a little bit choppy, but prefetching is never disabled!)

I fixed also a long standing bug in the audio code, that made playback run
backwards at the beginning...

Commit Details:

Full Hash: 5b1d6690068876843c5bec284056b17db3af9f0b
SVN Revision: 12177
Parent Commit: 2182f53
Lines Changed: +578, -67

13 Modified Paths:

/source/blender/include/BIF_drawseq.h (+1, -0) (Diff)
/source/blender/include/BIF_space.h (+1, -0) (Diff)
/source/blender/include/BIF_spacetypes.h (+2, -1) (Diff)
/source/blender/include/BSE_sequence.h (+9, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+1, -1) (Diff)
/source/blender/src/drawseq.c (+20, -1) (Diff)
/source/blender/src/drawview.c (+153, -33) (Diff)
/source/blender/src/editscreen.c (+3, -1) (Diff)
/source/blender/src/header_seq.c (+16, -4) (Diff)
/source/blender/src/seqaudio.c (+9, -4) (Diff)
/source/blender/src/sequence.c (+323, -2) (Diff)
/source/blender/src/space.c (+26, -19) (Diff)
/source/blender/src/spacetypes.c (+14, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021