Blender V5.0
strip_time.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_span.hh"
8
12
13struct ListBase;
14struct Scene;
15struct Strip;
16
17namespace blender::seq {
18
19void strip_update_sound_bounds_recursive(const Scene *scene, Strip *strip_meta);
20
21/* Describes gap between strips in timeline. */
22struct GapInfo {
23 int gap_start_frame; /* Start frame of the gap. */
24 int gap_length; /* Length of the gap. */
25 bool gap_exists; /* False if there are no gaps. */
26};
27
36void seq_time_gap_info_get(const Scene *scene,
37 ListBase *seqbase,
38 int initial_frame,
39 GapInfo *r_gap_info);
40void strip_time_effect_range_set(const Scene *scene, Strip *strip);
45void strip_time_translate_handles(const Scene *scene, Strip *strip, const int offset);
46float strip_time_media_playback_rate_factor_get(const Scene *scene, const Strip *strip);
47float strip_retiming_evaluate(const Strip *strip, const float frame_index);
48
49} // namespace blender::seq
struct Scene Scene
struct Strip Strip
float strip_time_media_playback_rate_factor_get(const Scene *scene, const Strip *strip)
void seq_time_gap_info_get(const Scene *scene, ListBase *seqbase, const int initial_frame, GapInfo *r_gap_info)
void strip_time_update_effects_strip_range(const Scene *scene, const blender::Span< Strip * > effects)
void strip_time_translate_handles(const Scene *scene, Strip *strip, const int offset)
void strip_update_sound_bounds_recursive(const Scene *scene, Strip *strip_meta)
float strip_retiming_evaluate(const Strip *strip, const float frame_index)
void strip_time_effect_range_set(const Scene *scene, Strip *strip)