38 int orig_timeline_frame;
54 td2d->loc2d =
nullptr;
67 td->
extra =
static_cast<void *
>(tdseq);
83 for (
int i = 0; i < tc->
data_len; i++) {
84 Strip *strip = (
static_cast<TransDataSeq *
>((td + i)->extra))->strip;
85 transformed_strips.
add(strip);
99 scene, seqbasep, transformed_strips, use_sync_markers, dependant);
102 if ((custom_data->
data !=
nullptr) && custom_data->
use_free) {
104 MEM_delete(
static_cast<TransDataSeq *
>(ts->
tdseq));
106 custom_data->
data =
nullptr;
123 for (
auto item : selection.
items()) {
158 Strip *strip = item.value;
196 TransSeq *ts = MEM_new<TransSeq>(__func__);
207 for (
auto item : selection.
items()) {
222 for (i = 0, td = tc->
data; i < tc->data_len; i++, td++) {
223 const TransDataSeq *tdseq =
static_cast<TransDataSeq *
>(td->
extra);
224 Strip *strip = tdseq->strip;
231 float offset_clamped[2];
238 transformed_strips.
add(strip);
260 for (
Strip *strip : transformed_strips) {
261 strip->runtime->flag &=
~seq::StripRuntimeFlag::Overlap;
Read Blender memory allocation and freeing.
int64_t remove_if(Predicate &&predicate)
ItemIterator items() const &
void add_multiple(Span< Key > keys)
int64_t remove_if(Predicate &&predicate)
int midpoint(int a, int b)
int retiming_key_index_get(const Strip *strip, const SeqRetimingKey *key)
MutableSpan< SeqRetimingKey > retiming_keys_get(const Strip *strip)
void relations_invalidate_cache(Scene *scene, Strip *strip)
bool retiming_selection_has_whole_transition(const Editing *ed, SeqRetimingKey *key)
ListBaseT< Strip > * active_seqbase_get(const Editing *ed)
void transform_handle_overlap(Scene *scene, ListBaseT< Strip > *seqbasep, Span< Strip * > source_strips, bool use_sync_markers, Span< Strip * > time_dependent_strips)
bool transform_test_overlap(const Scene *scene, Strip *strip1, Strip *strip2)
Editing * editing_get(const Scene *scene)
SeqRetimingKey * retiming_transition_start_get(SeqRetimingKey *key)
int retiming_key_frame_get(const Scene *scene, const Strip *strip, const SeqRetimingKey *key)
void expand_strips(Editing *ed, VectorSet< Strip * > &strips, const StripRelation include)
bool retiming_key_is_transition_type(const SeqRetimingKey *key)
bool retiming_show_keys(const Strip *strip)
void retiming_transition_key_frame_set(const Scene *scene, const Strip *strip, SeqRetimingKey *key, const int frame)
bool transform_is_locked(const ListBaseT< SeqTimelineChannel > *channels, const Strip *strip)
ListBaseT< SeqTimelineChannel > * channels_displayed_get(const Editing *ed)
bool transform_strip_can_be_translated(const Strip *strip)
Map< SeqRetimingKey *, Strip * > retiming_selection_get(const Editing *ed)
void retiming_key_frame_set(const Scene *scene, Strip *strip, SeqRetimingKey *key, int frame)
bool retiming_is_last_key(const Strip *strip, const SeqRetimingKey *key)
MINLINE void copy_v3_v3(float r[3], const float a[3])
MINLINE int round_fl_to_int(float a)
MINLINE void copy_v2_v2(float r[2], const float a[2])
MINLINE void sub_v2_v2v2(float r[2], const float a[2], const float b[2])
MINLINE int max_ii(int a, int b)
void BLI_rcti_init(struct rcti *rect, int xmin, int xmax, int ymin, int ymax)
void unit_m3(float m[3][3])
MINLINE int min_ii(int a, int b)
void * MEM_new_array_zeroed(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
ListBaseT< SpaceLink > spacedata
double original_strip_frame_index