Blender
V3.3
|
#include "SEQ_sequencer.h"
#include "sequencer.h"
#include "DNA_listBase.h"
#include "DNA_scene_types.h"
#include "DNA_sequence_types.h"
#include "SEQ_iterator.h"
#include "BLI_ghash.h"
#include "BLI_listbase.h"
#include "BLI_string.h"
#include "BLI_sys_types.h"
#include "BLI_threads.h"
#include <string.h>
#include "MEM_guardedalloc.h"
Go to the source code of this file.
Classes | |
struct | SequenceLookup |
Typedefs | |
typedef struct SequenceLookup | SequenceLookup |
Variables | |
static ThreadMutex | lookup_lock = BLI_MUTEX_INITIALIZER |
typedef struct SequenceLookup SequenceLookup |
|
static |
Definition at line 43 of file sequence_lookup.c.
References BLI_ghash_insert(), BLI_ghash_lookup(), input, blender::bke::attribute_accessor_functions::lookup(), NULL, SEQ_collection_append_strip(), and SEQ_collection_create().
Referenced by seq_sequence_lookup_build_effect().
|
static |
Definition at line 85 of file sequence_lookup.c.
References blender::bke::attribute_accessor_functions::lookup(), NULL, scene, SEQ_editing_get(), SEQ_LOOKUP_TAG_INVALID, seq_sequence_lookup_build_from_seqbase(), and Editing::seqbase.
Referenced by seq_sequence_lookup_rebuild().
|
static |
Definition at line 60 of file sequence_lookup.c.
References blender::bke::attribute_accessor_functions::lookup(), Sequence::seq1, Sequence::seq2, seq_sequence_lookup_append_effect(), SEQ_TYPE_EFFECT, and Sequence::type.
Referenced by seq_sequence_lookup_build_from_seqbase().
|
static |
Definition at line 70 of file sequence_lookup.c.
References BLI_ghash_insert(), LISTBASE_FOREACH, blender::bke::attribute_accessor_functions::lookup(), seq_sequence_lookup_build_effect(), and SEQ_TYPE_META.
Referenced by seq_sequence_lookup_build().
SeqCollection* seq_sequence_lookup_effects_by_seq | ( | const Scene * | scene, |
const Sequence * | key | ||
) |
Definition at line 171 of file sequence_lookup.c.
References BLI_assert, BLI_ghash_lookup(), BLI_mutex_lock(), BLI_mutex_unlock(), Scene::ed, blender::bke::attribute_accessor_functions::lookup(), lookup_lock, Editing::runtime, scene, seq_sequence_lookup_update_if_needed(), and EditingRuntime::sequence_lookup.
Referenced by SEQ_time_left_handle_frame_set(), SEQ_time_right_handle_frame_set(), SEQ_time_speed_factor_set(), SEQ_time_start_frame_set(), seq_time_translate_handles(), seq_time_update_effects_strip_range(), SEQ_time_update_meta_strip_range(), and SEQ_transform_translate_sequence().
Definition at line 140 of file sequence_lookup.c.
References BLI_assert, BLI_mutex_lock(), BLI_mutex_unlock(), Scene::ed, blender::bke::attribute_accessor_functions::lookup(), lookup_lock, Editing::runtime, scene, seq_sequence_lookup_free(), and EditingRuntime::sequence_lookup.
Referenced by SEQ_editing_free().
|
static |
Definition at line 99 of file sequence_lookup.c.
References BLI_ghash_free(), blender::bke::attribute_accessor_functions::lookup(), MEM_freeN, NULL, and SEQ_collection_free_void_p.
Referenced by SEQ_sequence_lookup_free(), and seq_sequence_lookup_rebuild().
|
static |
Definition at line 35 of file sequence_lookup.c.
References BLI_ghash_ptr_new(), BLI_ghash_str_new(), blender::bke::attribute_accessor_functions::lookup(), and SEQ_LOOKUP_TAG_INVALID.
Referenced by seq_sequence_lookup_new().
|
static |
Definition at line 122 of file sequence_lookup.c.
References blender::bke::attribute_accessor_functions::lookup(), and SEQ_LOOKUP_TAG_INVALID.
Referenced by seq_sequence_lookup_update_if_needed().
Definition at line 160 of file sequence_lookup.c.
References BLI_assert, BLI_ghash_lookup(), BLI_mutex_lock(), BLI_mutex_unlock(), Scene::ed, blender::bke::attribute_accessor_functions::lookup(), lookup_lock, Editing::runtime, scene, seq_sequence_lookup_update_if_needed(), and EditingRuntime::sequence_lookup.
Referenced by seq_add_generic_update(), SEQ_get_seqbase_by_seq(), seq_meta_stack_alloc(), SEQ_meta_stack_set(), SEQ_sound_pitch_get(), SEQ_time_left_handle_frame_set(), SEQ_time_right_handle_frame_set(), SEQ_time_speed_factor_set(), SEQ_time_start_frame_set(), seq_time_translate_handles(), SEQ_time_update_meta_strip_range(), and SEQ_transform_translate_sequence().
|
static |
Definition at line 92 of file sequence_lookup.c.
References blender::bke::attribute_accessor_functions::lookup(), MEM_callocN, and seq_sequence_lookup_init().
Referenced by seq_sequence_lookup_rebuild().
|
static |
Definition at line 115 of file sequence_lookup.c.
References blender::bke::attribute_accessor_functions::lookup(), scene, seq_sequence_lookup_build(), seq_sequence_lookup_free(), and seq_sequence_lookup_new().
Referenced by seq_sequence_lookup_update_if_needed().
Definition at line 149 of file sequence_lookup.c.
References BLI_assert, BLI_ghash_lookup(), BLI_mutex_lock(), BLI_mutex_unlock(), Scene::ed, blender::bke::attribute_accessor_functions::lookup(), lookup_lock, Editing::runtime, scene, seq_sequence_lookup_update_if_needed(), and EditingRuntime::sequence_lookup.
void SEQ_sequence_lookup_tag | ( | const Scene * | scene, |
eSequenceLookupTag | tag | ||
) |
Definition at line 182 of file sequence_lookup.c.
References BLI_mutex_lock(), BLI_mutex_unlock(), Scene::ed, blender::bke::attribute_accessor_functions::lookup(), lookup_lock, NULL, Editing::runtime, scene, and EditingRuntime::sequence_lookup.
Referenced by seq_add_generic_update(), SEQ_edit_remove_flagged_sequences(), and SEQ_edit_sequence_name_set().
|
static |
Definition at line 127 of file sequence_lookup.c.
References Scene::ed, blender::bke::attribute_accessor_functions::lookup(), scene, seq_sequence_lookup_is_valid(), and seq_sequence_lookup_rebuild().
Referenced by seq_sequence_lookup_effects_by_seq(), seq_sequence_lookup_meta_by_seq(), and SEQ_sequence_lookup_seq_by_name().
|
static |
Definition at line 26 of file sequence_lookup.c.
Referenced by seq_sequence_lookup_effects_by_seq(), SEQ_sequence_lookup_free(), seq_sequence_lookup_meta_by_seq(), SEQ_sequence_lookup_seq_by_name(), and SEQ_sequence_lookup_tag().