diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-04-25 02:21:21 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-04-25 05:34:15 +0300 |
commit | 29b9187b327ce09362c3ad369ba24058a76cae45 (patch) | |
tree | 4ca953f44fc9a47dbaf247976dcef67d7dfb1102 /source/blender/sequencer/SEQ_render.h | |
parent | 17eb8a9cebd57258a33924e02b7bae58bbba5c4a (diff) |
VSE: Update first thumbnail when moving handle
When handles are moved, job is created only for strips that need to
update first thumbnail.
ref T91618
Diffstat (limited to 'source/blender/sequencer/SEQ_render.h')
-rw-r--r-- | source/blender/sequencer/SEQ_render.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/source/blender/sequencer/SEQ_render.h b/source/blender/sequencer/SEQ_render.h index bfe10d3eae9..a74eba5fc6f 100644 --- a/source/blender/sequencer/SEQ_render.h +++ b/source/blender/sequencer/SEQ_render.h @@ -17,6 +17,7 @@ struct ListBase; struct Main; struct Scene; struct Sequence; +struct rctf; typedef enum eSeqTaskId { SEQ_TASK_MAIN_RENDER, @@ -64,7 +65,6 @@ struct ImBuf *SEQ_render_give_ibuf_direct(const SeqRenderData *context, void SEQ_render_thumbnails(const struct SeqRenderData *context, struct Sequence *seq, struct Sequence *seq_orig, - float start_frame, float frame_step, rctf *view_area, const short *stop); @@ -77,6 +77,18 @@ struct ImBuf *SEQ_get_thumbnail(const struct SeqRenderData *context, rcti *crop, bool clipped); /** + * Get frame for first thumbnail. + */ +float SEQ_render_thumbnail_first_frame_get(struct Sequence *seq, + float frame_step, + struct rctf *view_area); +/** + * Get frame for first thumbnail. + */ +float SEQ_render_thumbnail_next_frame_get(struct Sequence *seq, + float last_frame, + float frame_step); +/** * Get frame step for equally spaced thumbnails. These thumbnails should always be present in * memory, so they can be used when zooming. */ |