Blender V5.3
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 "DNA_listBase.h"
8
9#include "BLI_span.hh"
10
11namespace blender {
12
16
17struct Scene;
18struct Strip;
19
20namespace seq {
21
22void strip_update_sound_bounds_recursive(const Scene *scene, Strip *strip_meta);
23
24/* Describes gap between strips in timeline. */
25struct GapInfo {
26 int gap_start_frame; /* Start frame of the gap. */
27 int gap_length; /* Length of the gap. */
28 bool gap_exists; /* False if there are no gaps. */
29};
30
34void seq_time_gap_info_get(const Scene *scene,
35 ListBaseT<Strip> *seqbase,
36 int initial_frame,
37 GapInfo *r_gap_info);
38void strip_time_effect_range_set(const Scene *scene, Strip *strip);
43float strip_retiming_evaluate(const Strip *strip, const float frame_index);
44
45} // namespace seq
46} // namespace blender
These structs are the foundation for all linked lists in the library system.
void seq_time_gap_info_get(const Scene *scene, ListBaseT< Strip > *seqbase, const int initial_frame, GapInfo *r_gap_info)
void strip_time_update_effects_strip_range(const Scene *scene, const Span< Strip * > effects)
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)
BMesh Iterators.