Blender Git Loki

Git Commits -> Revision d837923

Revision d837923 by Richard Antalik (master)
November 5, 2020, 14:55 (GMT)
VSE: cache performance optimization

Map frame for cached raw images to strip input media frame range. This
means that static images or extended frame range of movies will only
generate one cache entry.

timeline_frame is stored in cache key as a reference - on what frame
was this entry created, so we don't have to reverse lookup frame range.

Since each media frame corresponds to one cache frame with same frame
index key, there is no need to invalidate raw cache when changing time
remapping properties like use_reverse_frames or strobe

No changes are needed for disk cache, since invalidating raw entry
assumes all data will be invalidated.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9462

Commit Details:

Full Hash: d837923a562dcc4a3c0b2531bfb5654473b1aca6
Parent Commit: 8720c66
Lines Changed: +81, -64

4 Modified Paths:

/source/blender/editors/space_sequencer/sequencer_draw.c (+5, -6) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+2, -2) (Diff)
/source/blender/sequencer/intern/image_cache.c (+73, -55) (Diff)
/source/blender/sequencer/SEQ_sequencer.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021