|
Blender V4.3
|
#include "DNA_scene_types.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::seq |
Definition at line 416 of file sequencer/intern/utils.cc.
References Sequence::mask, SEQ_select_active_get(), SEQ_TYPE_MASK, and Sequence::type.
Referenced by ED_space_sequencer_check_show_maskedit(), and sequencer_context().
| void SEQ_alpha_mode_from_file_extension | ( | Sequence * | seq | ) |
Definition at line 427 of file sequencer/intern/utils.cc.
References Sequence::alpha_mode, BKE_image_alpha_mode_from_extension_ex(), StripElem::filename, Sequence::strip, and Strip::stripdata.
Referenced by seq_set_alpha_mode_cb().
Ensure, that provided Sequence has unique name. If animation data exists for this Sequence, it will be duplicated and mapped onto new name
| seq | Sequence which name will be ensured to be unique |
| scene | Scene in which name must be unique |
Definition at line 497 of file sequencer/intern/utils.cc.
References BKE_animdata_fix_paths_rename(), LISTBASE_FOREACH, Sequence::name, SEQ_ensure_unique_name(), SEQ_NAME_MAXSTR, SEQ_sequence_base_unique_name_recursive(), SEQ_TYPE_META, Sequence::seqbase, STRNCPY_UTF8, and Sequence::type.
Referenced by SEQ_edit_strip_split(), SEQ_ensure_unique_name(), sequencer_add_duplicate_exec(), and sequencer_clipboard_paste_exec().
In cases where we don't know the sequence's listbase.
Definition at line 364 of file sequencer/intern/utils.cc.
References BLI_findindex(), SEQ_editing_get(), seq_sequence_lookup_meta_by_seq(), Editing::seqbase, and Sequence::seqbase.
Referenced by do_adjustment_impl(), do_multicam(), and SEQ_edit_move_strip_to_meta().
Definition at line 178 of file sequencer/intern/utils.cc.
References Editing::channels, Sequence::channels, Sequence::flag, Scene::r, Sequence::scene, SEQ_editing_get(), SEQ_SCENE_STRIPS, SEQ_time_start_frame_get(), SEQ_TYPE_META, SEQ_TYPE_SCENE, Editing::seqbase, Sequence::seqbase, RenderData::sfra, and Sequence::type.
Referenced by do_render_strip_seqbase(), and drawmeta_contents().
Definition at line 399 of file sequencer/intern/utils.cc.
References BLI_listbase_is_empty(), LISTBASE_FOREACH, SEQ_get_sequence_by_name(), and STREQ.
Referenced by animchan_sync_fcurve_scene(), SEQ_get_sequence_by_name(), and skip_fcurve_selected_data().
Definition at line 328 of file sequencer/intern/utils.cc.
References ELEM, LISTBASE_FOREACH, Sequence::machine, SEQ_channels_displayed_get(), SEQ_render_is_muted(), SEQ_time_strip_intersects_frame(), SEQ_TYPE_COLOR, SEQ_TYPE_IMAGE, SEQ_TYPE_META, SEQ_TYPE_MOVIE, SEQ_TYPE_SCENE, SEQ_TYPE_TEXT, and Editing::seqbasep.
Referenced by stampdata().
Definition at line 76 of file sequencer/intern/utils.cc.
References SeqUniqueInfo::count, dot(), SeqUniqueInfo::match, Sequence::name, SeqUniqueInfo::name_dest, SeqUniqueInfo::name_src, SeqUniqueInfo::seq, SEQ_edit_sequence_name_set(), SEQ_for_each_callback(), seqbase_unique_name(), seqbase_unique_name_recursive_fn(), and STRNCPY.
Referenced by do_versions_seq_unique_name_all_strips(), seq_add_generic_update(), seq_dupli(), SEQ_ensure_unique_name(), and sequencer_meta_make_exec().
Only use as last resort when the StripElem is available but no the Sequence. (needed for RNA)
Definition at line 379 of file sequencer/intern/utils.cc.
References ARRAY_HAS_ITEM, ListBase::first, Sequence::len, Sequence::next, SEQ_sequence_from_strip_elem(), Sequence::seqbase, Sequence::strip, and Strip::stripdata.
Referenced by SEQ_sequence_from_strip_elem().
| const char * SEQ_sequence_give_name | ( | const Sequence * | seq | ) |
Definition at line 164 of file sequencer/intern/utils.cc.
References DATA_, Strip::dirpath, give_seqname_by_type(), SEQ_TYPE_EFFECT, Sequence::strip, and Sequence::type.
Referenced by draw_seq_text_get_name(), and seq_add_set_name().
| bool SEQ_sequence_has_valid_data | ( | const Sequence * | seq | ) |
Check if an input referenced by this strip is valid (e.g. scene for a scene strip). Note that this only checks data block references, for missing media referenced by paths use #media_presence_is_missing.
Definition at line 435 of file sequencer/intern/utils.cc.
References Sequence::clip, Sequence::mask, Sequence::scene, SEQ_TYPE_MASK, SEQ_TYPE_MOVIECLIP, SEQ_TYPE_SCENE, SEQ_TYPE_SOUND_RAM, Sequence::sound, and Sequence::type.
Referenced by drawmeta_contents(), skip_modifier(), and strip_draw_context_get().
| void SEQ_set_scale_to_fit | ( | const Sequence * | seq, |
| int | image_width, | ||
| int | image_height, | ||
| int | preview_width, | ||
| int | preview_height, | ||
| eSeqImageFitMethod | fit_method ) |
Definition at line 466 of file sequencer/intern/utils.cc.
References float, image_height, image_width, StripTransform::scale_x, SEQ_SCALE_TO_FILL, SEQ_SCALE_TO_FIT, SEQ_STRETCH_TO_FILL, SEQ_USE_ORIGINAL_SIZE, Sequence::strip, and Strip::transform.
Referenced by SEQ_add_image_strip(), SEQ_add_movie_strip(), and sequencer_strip_transform_fit_exec().