28 return ed ?
ed->current_channels() :
nullptr;
43 ListBaseT<SeqTimelineChannel> *channels_src)
47 MEM_dupalloc(&channel));
60 const int channel_index)
68 if (strip_owner !=
nullptr) {
69 return &strip_owner->channels;
#define SNPRINTF_UTF8(dst, format,...)
These structs are the foundation for all linked lists in the library system.
Read Blender memory allocation and freeing.
Strip * lookup_meta_by_strip(Editing *ed, const Strip *key)
void channels_ensure(ListBaseT< SeqTimelineChannel > *channels)
void channels_free(ListBaseT< SeqTimelineChannel > *channels)
constexpr int MAX_CHANNELS
void channels_duplicate(ListBaseT< SeqTimelineChannel > *channels_dst, ListBaseT< SeqTimelineChannel > *channels_src)
SeqTimelineChannel * channel_get_by_index(const ListBaseT< SeqTimelineChannel > *channels, const int channel_index)
ListBaseT< SeqTimelineChannel > * get_channels_by_strip(Editing *ed, const Strip *strip)
ListBaseT< SeqTimelineChannel > * channels_displayed_get(const Editing *ed)
void * BLI_findlink(const ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BLI_addtail(ListBase *listbase, void *vlink) ATTR_NONNULL(1)