Changeset View
Changeset View
Standalone View
Standalone View
source/blender/sequencer/intern/sequencer.c
| Show All 11 Lines | |||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "DNA_anim_types.h" | #include "DNA_anim_types.h" | ||||
| #include "DNA_scene_types.h" | #include "DNA_scene_types.h" | ||||
| #include "DNA_sequence_types.h" | #include "DNA_sequence_types.h" | ||||
| #include "DNA_sound_types.h" | #include "DNA_sound_types.h" | ||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "BLI_threads.h" | |||||
| #include "BKE_idprop.h" | #include "BKE_idprop.h" | ||||
| #include "BKE_lib_id.h" | #include "BKE_lib_id.h" | ||||
| #include "BKE_sound.h" | #include "BKE_sound.h" | ||||
| #include "DEG_depsgraph.h" | #include "DEG_depsgraph.h" | ||||
| #include "IMB_colormanagement.h" | #include "IMB_colormanagement.h" | ||||
| Show All 12 Lines | |||||
| #include "BLO_read_write.h" | #include "BLO_read_write.h" | ||||
| #include "image_cache.h" | #include "image_cache.h" | ||||
| #include "prefetch.h" | #include "prefetch.h" | ||||
| #include "sequencer.h" | #include "sequencer.h" | ||||
| #include "utils.h" | #include "utils.h" | ||||
| static ThreadMutex seqbase_access_mutex = BLI_MUTEX_INITIALIZER; | |||||
| void SEQ_seqbase_lock(void) | |||||
| { | |||||
| BLI_mutex_lock(&seqbase_access_mutex); | |||||
| } | |||||
| void SEQ_seqbase_unlock(void) | |||||
| { | |||||
| BLI_mutex_unlock(&seqbase_access_mutex); | |||||
| } | |||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Allocate / Free Functions | /** \name Allocate / Free Functions | ||||
| * \{ */ | * \{ */ | ||||
| StripProxy *seq_strip_proxy_alloc(void) | StripProxy *seq_strip_proxy_alloc(void) | ||||
| { | { | ||||
| StripProxy *strip_proxy = MEM_callocN(sizeof(struct StripProxy), "StripProxy"); | StripProxy *strip_proxy = MEM_callocN(sizeof(struct StripProxy), "StripProxy"); | ||||
| strip_proxy->quality = 50; | strip_proxy->quality = 50; | ||||
| ▲ Show 20 Lines • Show All 866 Lines • Show Last 20 Lines | |||||