diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 13:02:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 13:05:06 +0300 |
commit | 32b1a13fa1e427bc5b2cce2bf179fd274679e08f (patch) | |
tree | 0c8715816dc675ba37b29b89062ff4da3f12124b /source/blender/sequencer/intern/utils.c | |
parent | e89d42ddffef8892a8eb52d29e2a7329ad381204 (diff) |
Cleanup: move public doc-strings into headers for 'sequencer'
Ref T92709
Diffstat (limited to 'source/blender/sequencer/intern/utils.c')
-rw-r--r-- | source/blender/sequencer/intern/utils.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/source/blender/sequencer/intern/utils.c b/source/blender/sequencer/intern/utils.c index 71686065882..cd779b0b0c7 100644 --- a/source/blender/sequencer/intern/utils.c +++ b/source/blender/sequencer/intern/utils.c @@ -55,13 +55,6 @@ #include "proxy.h" #include "utils.h" -/** - * Sort strips in provided seqbase. Effect strips are trailing the list and they are sorted by - * channel position as well. - * This is important for SEQ_time_update_sequence to work properly - * - * \param seqbase: ListBase with strips - */ void SEQ_sort(ListBase *seqbase) { if (seqbase == NULL) { @@ -432,7 +425,6 @@ const Sequence *SEQ_get_topmost_sequence(const Scene *scene, int frame) return best_seq; } -/* in cases where we don't know the sequence's listbase */ ListBase *SEQ_get_seqbase_by_seq(ListBase *seqbase, Sequence *seq) { Sequence *iseq; @@ -465,10 +457,6 @@ Sequence *SEQ_get_meta_by_seqbase(ListBase *seqbase_main, ListBase *meta_seqbase return seq; } -/** - * Only use as last resort when the StripElem is available but no the Sequence. - * (needed for RNA) - */ Sequence *SEQ_sequence_from_strip_elem(ListBase *seqbase, StripElem *se) { Sequence *iseq; @@ -525,10 +513,10 @@ void SEQ_alpha_mode_from_file_extension(Sequence *seq) } } -/* called on draw, needs to be fast, - * we could cache and use a flag if we want to make checks for file paths resolving for eg. */ bool SEQ_sequence_has_source(const Sequence *seq) { + /* Called on draw, needs to be fast, + * we could cache and use a flag if we want to make checks for file paths resolving for eg. */ switch (seq->type) { case SEQ_TYPE_MASK: return (seq->mask != NULL); @@ -589,13 +577,6 @@ void SEQ_set_scale_to_fit(const Sequence *seq, } } -/** - * Ensure, that provided Sequence has unique name. If animation data exists for this Sequence, it - * will be duplicated and mapped onto new name - * - * \param seq: Sequence which name will be ensured to be unique - * \param scene: Scene in which name must be unique - */ void SEQ_ensure_unique_name(Sequence *seq, Scene *scene) { char name[SEQ_NAME_MAXSTR]; |