diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-11-05 17:51:26 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-11-05 17:55:17 +0300 |
commit | d837923a562dcc4a3c0b2531bfb5654473b1aca6 (patch) | |
tree | 009e707157886b6cc1814adb86c8f5b50f8a5fa0 /source/blender/windowmanager | |
parent | 8720c660094e7b08fe4ac8a1879feb2b3aac838e (diff) |
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
Diffstat (limited to 'source/blender/windowmanager')
0 files changed, 0 insertions, 0 deletions