Blender Git Loki
Git Commits -> Revision c9e4808
Revision c9e4808 by Aditya Y Jeppu (temp-vse-thumbnail-mod) September 7, 2021, 22:23 (GMT) |
VSE strip thumbnails The goal is to provide thumbnails in the rectangle coloured strips. Works for movie clips and image sequences. The thumbnails are loaded from source using separate thread and stores them in cache. The drawing is called inside the drawing for each strip, and takes images from cache. Drawing is below the handles from one end of strip to other, inside view only. The job for caching is called when images are not available, or there is view change. All strip operations are valid, and overlap of strip adds transparency to the image. Images are shown only when strip size is wide enough for clear visibility of images, and the thumbnails represent source footage clearly. Cache is limited to 5000 thumbnails and performs cleanup of non visible images when limit crossed. Related Task : T89143 Maniphest Tasks: T89143 Differential Revision: https://developer.blender.org/D12266 |
Commit Details:
Full Hash: c9e4808d3638bd1fd39341229996247a79455e99
Parent Commit: e6a1d48
Committed By: Richard Antalik
Lines Changed: +634, -10
16 Modified Paths:
/release/scripts/startup/bl_ui/space_sequencer.py (+2, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+26, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+5, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+365, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+4, -2) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+4, -1) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
/source/blender/sequencer/intern/image_cache.c (+71, -3) (Diff)
/source/blender/sequencer/intern/image_cache.h (+6, -0) (Diff)
/source/blender/sequencer/intern/render.c (+122, -1) (Diff)
/source/blender/sequencer/SEQ_render.h (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm_jobs.c (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+26, -0) (Diff)
/source/blender/blenloader/intern/versioning_defaults.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+5, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+365, -0) (Diff)
/source/blender/editors/space_sequencer/sequencer_edit.c (+4, -2) (Diff)
/source/blender/editors/space_sequencer/space_sequencer.c (+4, -1) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
/source/blender/sequencer/intern/image_cache.c (+71, -3) (Diff)
/source/blender/sequencer/intern/image_cache.h (+6, -0) (Diff)
/source/blender/sequencer/intern/render.c (+122, -1) (Diff)
/source/blender/sequencer/SEQ_render.h (+11, -0) (Diff)
/source/blender/windowmanager/intern/wm_jobs.c (+1, -1) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)