1 /* SPDX-FileCopyrightText: 2004 Blender Authors
3 * SPDX-License-Identifier: GPL-2.0-or-later */
21 * Check if one sequence is input to the other.
23 bool SEQ_relation_is_effect_of_strip(const Strip
*effect
, const Strip
*input
);
25 * Function to free imbuf and anim data on changes.
27 void SEQ_relations_sequence_free_anim(Strip
*strip
);
28 bool SEQ_relations_check_scene_recursion(Scene
*scene
, ReportList
*reports
);
30 * Check if "strip_main" (indirectly) uses strip "strip".
32 bool SEQ_relations_render_loop_check(Strip
*strip_main
, Strip
*strip
);
33 void SEQ_relations_free_imbuf(Scene
*scene
, ListBase
*seqbase
, bool for_render
);
34 void SEQ_relations_invalidate_cache_raw(Scene
*scene
, Strip
*strip
);
35 void SEQ_relations_invalidate_cache_preprocessed(Scene
*scene
, Strip
*strip
);
36 void SEQ_relations_invalidate_cache_composite(Scene
*scene
, Strip
*strip
);
37 void SEQ_relations_invalidate_dependent(Scene
*scene
, Strip
*strip
);
38 void SEQ_relations_invalidate_scene_strips(Main
*bmain
, Scene
*scene_target
);
39 void SEQ_relations_invalidate_movieclip_strips(Main
*bmain
, MovieClip
*clip_target
);
40 void SEQ_relations_invalidate_cache_in_range(Scene
*scene
,
43 int invalidate_types
);
45 * Release FFmpeg handles of strips that are not currently displayed to minimize memory usage.
47 void SEQ_relations_free_all_anim_ibufs(Scene
*scene
, int timeline_frame
);
49 * A debug and development function which checks whether sequences have unique UIDs.
50 * Errors will be reported to the console.
52 void SEQ_relations_check_uids_unique_and_report(const Scene
*scene
);
54 * Generate new UID for the given sequence.
56 void SEQ_relations_session_uid_generate(Strip
*sequence
);
58 void SEQ_cache_cleanup(Scene
*scene
);
59 void SEQ_cache_iterate(
62 bool callback_init(void *userdata
, size_t item_count
),
63 bool callback_iter(void *userdata
, Strip
*strip
, int timeline_frame
, int cache_type
));
65 * Return immediate parent meta of sequence.
67 Strip
*SEQ_find_metastrip_by_sequence(ListBase
*seqbase
/* = ed->seqbase */,
68 Strip
*meta
/* = NULL */,
70 bool SEQ_exists_in_seqbase(const Strip
*strip
, const ListBase
*seqbase
);