Blender  V3.3
Functions
channels.c File Reference
#include <string.h>
#include "MEM_guardedalloc.h"
#include "DNA_listBase.h"
#include "DNA_scene_types.h"
#include "DNA_sequence_types.h"
#include "BLI_blenlib.h"
#include "SEQ_channels.h"
#include "SEQ_iterator.h"
#include "SEQ_relations.h"
#include "SEQ_sequencer.h"

Go to the source code of this file.

Functions

ListBaseSEQ_channels_displayed_get (Editing *ed)
 
void SEQ_channels_displayed_set (Editing *ed, ListBase *channels)
 
void SEQ_channels_ensure (ListBase *channels)
 
void SEQ_channels_duplicate (ListBase *channels_dst, ListBase *channels_src)
 
void SEQ_channels_free (ListBase *channels)
 
SeqTimelineChannelSEQ_channel_get_by_index (const ListBase *channels, const int channel_index)
 
char * SEQ_channel_name_get (ListBase *channels, const int channel_index)
 
int SEQ_channel_index_get (const SeqTimelineChannel *channel)
 
bool SEQ_channel_is_locked (const SeqTimelineChannel *channel)
 
bool SEQ_channel_is_muted (const SeqTimelineChannel *channel)
 
ListBaseSEQ_get_channels_by_seq (ListBase *seqbase, ListBase *channels, const Sequence *seq)
 

Function Documentation

◆ SEQ_channel_get_by_index()

SeqTimelineChannel* SEQ_channel_get_by_index ( const ListBase channels,
const int  channel_index 
)

◆ SEQ_channel_index_get()

int SEQ_channel_index_get ( const SeqTimelineChannel channel)

Definition at line 70 of file channels.c.

References SeqTimelineChannel::index.

◆ SEQ_channel_is_locked()

bool SEQ_channel_is_locked ( const SeqTimelineChannel channel)

Definition at line 75 of file channels.c.

References SeqTimelineChannel::flag, and SEQ_CHANNEL_LOCK.

Referenced by draw_channel_widget_lock(), and SEQ_transform_is_locked().

◆ SEQ_channel_is_muted()

bool SEQ_channel_is_muted ( const SeqTimelineChannel channel)

Definition at line 80 of file channels.c.

References SeqTimelineChannel::flag, and SEQ_CHANNEL_MUTE.

Referenced by draw_channel_widget_mute(), and SEQ_render_is_muted().

◆ SEQ_channel_name_get()

char* SEQ_channel_name_get ( ListBase channels,
const int  channel_index 
)

Definition at line 64 of file channels.c.

References channels(), SeqTimelineChannel::name, and SEQ_channel_get_by_index().

Referenced by draw_channel_labels().

◆ SEQ_channels_displayed_get()

ListBase* SEQ_channels_displayed_get ( Editing ed)

◆ SEQ_channels_displayed_set()

void SEQ_channels_displayed_set ( Editing ed,
ListBase channels 
)

Definition at line 28 of file channels.c.

References channels(), and Editing::displayed_channels.

Referenced by SEQ_meta_stack_pop(), and SEQ_meta_stack_set().

◆ SEQ_channels_duplicate()

void SEQ_channels_duplicate ( ListBase channels_dst,
ListBase channels_src 
)

Definition at line 44 of file channels.c.

References BLI_addtail(), LISTBASE_FOREACH, and MEM_dupallocN.

Referenced by seq_dupli().

◆ SEQ_channels_ensure()

void SEQ_channels_ensure ( ListBase channels)

◆ SEQ_channels_free()

void SEQ_channels_free ( ListBase channels)

Definition at line 52 of file channels.c.

References channels(), LISTBASE_FOREACH_MUTABLE, and MEM_freeN.

Referenced by SEQ_editing_free(), and seq_sequence_free_ex().

◆ SEQ_get_channels_by_seq()

ListBase* SEQ_get_channels_by_seq ( ListBase seqbase,
ListBase channels,
const Sequence seq 
)

Definition at line 85 of file channels.c.

References channels(), LISTBASE_FOREACH, and NULL.

Referenced by do_adjustment_impl(), and do_multicam().