Blender
V3.3
|
#include "DNA_scene_types.h"
Go to the source code of this file.
Macros | |
#define | SEQ_DUPE_UNIQUE_NAME (1 << 0) |
#define | SEQ_DUPE_ALL (1 << 3) /* otherwise only selected are copied */ |
#define | SEQ_DUPE_IS_RECURSIVE_CALL (1 << 4) |
Typedefs | |
typedef enum eSequenceLookupTag | eSequenceLookupTag |
Enumerations | |
enum | { SEQ_SIDE_MOUSE = -1 , SEQ_SIDE_NONE = 0 , SEQ_SIDE_LEFT , SEQ_SIDE_RIGHT , SEQ_SIDE_BOTH , SEQ_SIDE_NO_CHANGE } |
enum | eSequenceLookupTag { SEQ_LOOKUP_TAG_INVALID = (1 << 0) } |
#define SEQ_DUPE_ALL (1 << 3) /* otherwise only selected are copied */ |
Definition at line 39 of file SEQ_sequencer.h.
#define SEQ_DUPE_IS_RECURSIVE_CALL (1 << 4) |
Definition at line 40 of file SEQ_sequencer.h.
#define SEQ_DUPE_UNIQUE_NAME (1 << 0) |
Definition at line 38 of file SEQ_sequencer.h.
typedef enum eSequenceLookupTag eSequenceLookupTag |
anonymous enum |
Enumerator | |
---|---|
SEQ_SIDE_MOUSE | |
SEQ_SIDE_NONE | |
SEQ_SIDE_LEFT | |
SEQ_SIDE_RIGHT | |
SEQ_SIDE_BOTH | |
SEQ_SIDE_NO_CHANGE |
Definition at line 28 of file SEQ_sequencer.h.
enum eSequenceLookupTag |
Enumerator | |
---|---|
SEQ_LOOKUP_TAG_INVALID |
Definition at line 129 of file SEQ_sequencer.h.
Get seqbase that is being viewed currently. This can be main seqbase or meta strip seqbase
ed | sequence editor data |
void SEQ_blend_read | ( | struct BlendDataReader * | reader, |
struct ListBase * | seqbase | ||
) |
Definition at line 823 of file sequencer.c.
References SEQ_for_each_callback(), and seq_read_data_cb().
Referenced by scene_blend_read_data().
void SEQ_blend_read_expand | ( | struct BlendExpander * | expander, |
struct ListBase * | seqbase | ||
) |
Definition at line 919 of file sequencer.c.
References seq_blend_read_expand(), and SEQ_for_each_callback().
Referenced by scene_blend_read_expand().
void SEQ_blend_read_lib | ( | struct BlendLibReader * | reader, |
struct Scene * | scene, | ||
struct ListBase * | seqbase | ||
) |
Definition at line 884 of file sequencer.c.
References data, scene, SEQ_for_each_callback(), and seq_read_lib_cb().
Referenced by scene_blend_read_lib().
void SEQ_blend_write | ( | struct BlendWriter * | writer, |
struct ListBase * | seqbase | ||
) |
Read and Write functions for .blend
file data.
Definition at line 755 of file sequencer.c.
References NULL, SEQ_for_each_callback(), seq_set_strip_done_cb(), and seq_write_data_cb().
Referenced by scene_blend_write().
Definition at line 246 of file sequencer.c.
References Editing::cache, Editing::cache_flag, Editing::channels, Editing::displayed_channels, Scene::ed, MEM_callocN, NULL, scene, SEQ_CACHE_STORE_FINAL_OUT, SEQ_CACHE_STORE_RAW, SEQ_channels_ensure(), Editing::seqbase, and Editing::seqbasep.
Referenced by sequencer_add_effect_strip_exec(), sequencer_add_image_strip_exec(), sequencer_add_mask_strip_exec(), sequencer_add_movie_multiple_strips(), sequencer_add_movie_single_strip(), sequencer_add_movieclip_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_add_scene_strip_new_exec(), sequencer_add_sound_multiple_strips(), sequencer_add_sound_single_strip(), sequencer_generic_invoke_xy_guess_channel(), sequencer_paste_exec(), and update_overlay_strip_position_data().
Definition at line 263 of file sequencer.c.
References BLI_freelistN(), Editing::channels, Scene::ed, LISTBASE_FOREACH_MUTABLE, MEM_freeN, Editing::metastack, NULL, scene, seq_cache_destruct(), SEQ_channels_free(), seq_free_sequence_recurse(), seq_prefetch_free(), SEQ_sequence_lookup_free(), and Editing::seqbase.
Referenced by BKE_scene_duplicate(), and scene_free_data().
void SEQ_eval_sequences | ( | struct Depsgraph * | depsgraph, |
struct Scene * | scene, | ||
struct ListBase * | seqbase | ||
) |
Evaluate parts of sequences which needs to be done as a part of a dependency graph evaluation. This does NOT include actual rendering of the strips, but rather makes them up-to-date for animation playback and makes them ready for the sequencer's rendering pipeline to render them.
Definition at line 978 of file sequencer.c.
References BKE_sound_ensure_scene(), DEG_debug_print_eval(), depsgraph, Scene::ed, Scene::id, ID::name, scene, SEQ_edit_update_muting(), SEQ_for_each_callback(), SEQ_sound_update_bounds_all(), and seq_update_seq_cb().
Get MetaStack that corresponds to current level that is being viewed
Close last Meta strip open for editing.
ed | sequence editor data |
Definition at line 453 of file sequencer.c.
References BLI_remlink(), MEM_freeN, Editing::metastack, MetaStack::old_channels, MetaStack::oldbasep, MetaStack::parseq, SEQ_channels_displayed_set(), SEQ_meta_stack_active_get(), and SEQ_seqbase_active_set().
Referenced by sequencer_meta_toggle_exec().
Open Meta strip content for editing.
ed | sequence editor data |
seqm | meta sequence or NULL for top level view |
Set seqbase that is being viewed currently. This can be main seqbase or meta strip seqbase
ed | sequence editor data |
seqbase | ListBase with strips |
Definition at line 397 of file sequencer.c.
References Editing::seqbasep.
Referenced by SEQ_meta_stack_pop(), SEQ_meta_stack_set(), seq_prefetch_update_active_seqbase(), and seq_update_meta_disp_range().
Definition at line 113 of file sequencer.c.
References Sequence::blend_mode, Sequence::blend_opacity, BLI_addtail(), Sequence::channels, Sequence::color_tag, Sequence::flag, ID_SEQ, Sequence::machine, Sequence::media_playback_rate, MEM_callocN, Sequence::mul, Sequence::name, NULL, Sequence::sat, Sequence::scene_sound, SELECT, SEQ_channels_ensure(), SEQ_relations_session_uuid_generate(), seq_strip_alloc(), SEQ_TYPE_ADJUSTMENT, SEQ_TYPE_ALPHAOVER, SEQ_TYPE_CROSS, SEQ_TYPE_META, SEQUENCE_COLOR_NONE, Sequence::speed_factor, Sequence::start, Sequence::stereo3d_format, Sequence::strip, type, Sequence::type, and Sequence::volume.
Referenced by SEQ_add_effect_strip(), SEQ_add_image_strip(), SEQ_add_mask_strip(), SEQ_add_meta_strip(), SEQ_add_movie_strip(), SEQ_add_movieclip_strip(), SEQ_add_scene_strip(), and sequencer_meta_make_exec().
void SEQ_sequence_base_dupli_recursive | ( | const struct Scene * | scene_src, |
struct Scene * | scene_dst, | ||
struct ListBase * | nseqbase, | ||
const struct ListBase * | seqbase, | ||
int | dupe_flag, | ||
int | flag | ||
) |
struct Sequence* SEQ_sequence_dupli_recursive | ( | const struct Scene * | scene_src, |
struct Scene * | scene_dst, | ||
struct ListBase * | new_seq_list, | ||
struct Sequence * | seq, | ||
int | dupe_flag | ||
) |
Definition at line 224 of file sequencer.c.
References scene, and seq_sequence_free_ex().
Referenced by SEQ_edit_remove_flagged_sequences(), and thumbnail_hash_data_free().
Free lookup hash data.
scene | scene that owns lookup hash |
void SEQ_sequence_lookup_tag | ( | const struct Scene * | scene, |
eSequenceLookupTag | tag | ||
) |
Find a sequence with a given name.
scene | scene that owns lookup hash |
tag | tag to set |
struct SequencerToolSettings* SEQ_tool_settings_copy | ( | struct SequencerToolSettings * | tool_settings | ) |
Definition at line 664 of file sequencer.c.
References MEM_dupallocN.
Referenced by BKE_toolsettings_copy().
struct SequencerToolSettings* SEQ_tool_settings_ensure | ( | struct Scene * | scene | ) |
Definition at line 330 of file sequencer.c.
References NULL, scene, SEQ_tool_settings_init(), ToolSettings::sequencer_tool_settings, and Scene::toolsettings.
Referenced by blo_do_versions_300(), SEQ_tool_settings_fit_method_get(), SEQ_tool_settings_fit_method_set(), SEQ_tool_settings_overlap_mode_get(), SEQ_tool_settings_pivot_point_get(), SEQ_tool_settings_snap_distance_get(), SEQ_tool_settings_snap_flag_get(), and SEQ_tool_settings_snap_mode_get().
eSeqImageFitMethod SEQ_tool_settings_fit_method_get | ( | struct Scene * | scene | ) |
Definition at line 346 of file sequencer.c.
References SequencerToolSettings::fit_method, scene, and SEQ_tool_settings_ensure().
Referenced by sequencer_add_image_strip_invoke(), and sequencer_add_movie_strip_invoke().
void SEQ_tool_settings_fit_method_set | ( | struct Scene * | scene, |
eSeqImageFitMethod | fit_method | ||
) |
Definition at line 370 of file sequencer.c.
References SequencerToolSettings::fit_method, scene, and SEQ_tool_settings_ensure().
Referenced by load_data_init_from_operator().
void SEQ_tool_settings_free | ( | struct SequencerToolSettings * | tool_settings | ) |
Definition at line 341 of file sequencer.c.
References MEM_freeN.
Referenced by BKE_toolsettings_free().
struct SequencerToolSettings* SEQ_tool_settings_init | ( | void | ) |
Definition at line 316 of file sequencer.c.
References SequencerToolSettings::fit_method, MEM_callocN, SequencerToolSettings::overlap_mode, SequencerToolSettings::pivot_point, SEQ_OVERLAP_SHUFFLE, SEQ_SCALE_TO_FIT, SEQ_SNAP_TO_CURRENT_FRAME, SEQ_SNAP_TO_STRIP_HOLD, SEQ_SNAP_TO_STRIPS, SequencerToolSettings::snap_distance, SequencerToolSettings::snap_mode, and V3D_AROUND_LOCAL_ORIGINS.
Referenced by blo_do_versions_290(), scene_init_data(), and SEQ_tool_settings_ensure().
eSeqOverlapMode SEQ_tool_settings_overlap_mode_get | ( | struct Scene * | scene | ) |
Definition at line 376 of file sequencer.c.
References SequencerToolSettings::overlap_mode, scene, and SEQ_tool_settings_ensure().
Referenced by draw_seq_outline(), and SEQ_transform_handle_overlap().
int SEQ_tool_settings_pivot_point_get | ( | struct Scene * | scene | ) |
Definition at line 382 of file sequencer.c.
References SequencerToolSettings::pivot_point, scene, and SEQ_tool_settings_ensure().
Referenced by t_around_get().
int SEQ_tool_settings_snap_distance_get | ( | struct Scene * | scene | ) |
Definition at line 364 of file sequencer.c.
References scene, SEQ_tool_settings_ensure(), and SequencerToolSettings::snap_distance.
Referenced by seq_snap_threshold_get_frame_distance().
short SEQ_tool_settings_snap_flag_get | ( | struct Scene * | scene | ) |
Definition at line 358 of file sequencer.c.
References scene, SEQ_tool_settings_ensure(), and SequencerToolSettings::snap_flag.
Referenced by query_snap_targets(), and use_sequencer_snapping().
short SEQ_tool_settings_snap_mode_get | ( | struct Scene * | scene | ) |
Definition at line 352 of file sequencer.c.
References scene, SEQ_tool_settings_ensure(), and SequencerToolSettings::snap_mode.
Referenced by ED_transform_snap_sequencer_to_closest_strip_calc(), and snap_mode_from_spacetype().
Definition at line 653 of file sequencer.c.
References Sequence::machine, and MAXSEQ.
Referenced by link_recurs_seq(), and SEQ_transform_seqbase_shuffle_ex().