Blender Git Commit Log

Git Commits -> Revision 929d759

Revision 929d759 by Richard Antalik (master)
August 23, 2021, 23:10 (GMT)
VSE: Cleanup speed effect math

Simplify logic of speed effect frame calculation by using discrete math
where possible. Only `SEQ_SPEED_MULTIPLY` mode with animation requires
frame map to be built. Frame map building was simplified by removing
unused branches.

Functional change: Animating strip in negative range will reverse playback.
I assume this was limitation of previous system, where each frame map item
was limited to be within correct frame range. Now frame map can contain
values that point beyond usable range and they are limited by
`seq_speed_effect_target_frame_get`. This way it is possible to control
playback rate in both directions.

Mostly fixes T89120 apart from offset handling.

Reviewed By: mano-wii

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

Commit Details:

Full Hash: 929d7597b345027b848c2997720e52b89c46a0ff
Parent Commit: a57ba41
Lines Changed: +82, -147

6 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+0, -5) (Diff)
/source/blender/makesdna/DNA_sequence_types.h (+0, -3) (Diff)
/source/blender/sequencer/intern/effects.c (+76, -133) (Diff)
/source/blender/sequencer/intern/effects.h (+2, -2) (Diff)
/source/blender/sequencer/intern/render.c (+1, -1) (Diff)
/source/blender/sequencer/intern/strip_relations.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021