Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_ghash.h"
#include "DNA_scene_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "SEQ_iterator.h"
#include "SEQ_proxy.h"
#include "SEQ_relations.h"
#include "SEQ_sequencer.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_define.h"
#include "ED_screen.h"
#include "sequencer_intern.h"
Go to the source code of this file.
Functions | |
Rebuild Proxy and Timecode Indices Operator | |
static void | seq_proxy_build_job (const bContext *C, ReportList *reports) |
static int | sequencer_rebuild_proxy_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
static int | sequencer_rebuild_proxy_exec (bContext *C, wmOperator *UNUSED(op)) |
void | SEQUENCER_OT_rebuild_proxy (wmOperatorType *ot) |
Set Selected Strip Proxies Operator | |
static int | sequencer_enable_proxies_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |
static int | sequencer_enable_proxies_exec (bContext *C, wmOperator *op) |
void | SEQUENCER_OT_enable_proxies (wmOperatorType *ot) |
|
static |
Definition at line 40 of file sequencer_proxy.c.
References blender::compositor::area(), BKE_reportf(), BLI_ghashutil_strcmp(), BLI_ghashutil_strhash_p(), BLI_gset_free(), BLI_gset_new(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_manager(), ProxyBuildJob::depsgraph, ED_area_tag_redraw(), ED_seq_proxy_job_get(), ED_seq_proxy_wm_job_get(), ELEM, G, LISTBASE_FOREACH, ProxyBuildJob::main, MEM_freeN, NULL, ProxyBuildJob::queue, RPT_WARNING, scene, ProxyBuildJob::scene, SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_proxy_rebuild_context(), SEQ_PROXY_SKIP_EXISTING, SEQ_TYPE_IMAGE, SEQ_TYPE_MOVIE, SEQ_USE_PROXY, WM_jobs_is_running(), and WM_jobs_start().
Referenced by sequencer_rebuild_proxy_invoke().
|
static |
Definition at line 168 of file sequencer_proxy.c.
References StripProxy::build_flags, StripProxy::build_size_flags, C, CTX_data_scene(), ELEM, Sequence::flag, LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, NULL, OPERATOR_FINISHED, SeqIndexBuildContext::overwrite, Strip::proxy, wmOperator::ptr, RNA_boolean_get(), scene, SELECT, SeqIndexBuildContext::seq, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_PROXY_IMAGE_SIZE_100, SEQ_PROXY_IMAGE_SIZE_25, SEQ_PROXY_IMAGE_SIZE_50, SEQ_PROXY_IMAGE_SIZE_75, SEQ_proxy_set(), SEQ_PROXY_SKIP_EXISTING, SEQ_TYPE_IMAGE, SEQ_TYPE_MOVIE, Sequence::strip, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_enable_proxies().
|
static |
Definition at line 161 of file sequencer_proxy.c.
References C, and WM_operator_props_dialog_popup().
Referenced by SEQUENCER_OT_enable_proxies().
void SEQUENCER_OT_enable_proxies | ( | wmOperatorType * | ot | ) |
Definition at line 234 of file sequencer_proxy.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, ot, RNA_def_boolean(), sequencer_enable_proxies_exec(), sequencer_enable_proxies_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
void SEQUENCER_OT_rebuild_proxy | ( | wmOperatorType * | ot | ) |
Definition at line 140 of file sequencer_proxy.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, ot, sequencer_rebuild_proxy_exec(), and sequencer_rebuild_proxy_invoke().
Referenced by sequencer_operatortypes().
|
static |
Definition at line 103 of file sequencer_proxy.c.
References BLI_ghashutil_strcmp(), BLI_ghashutil_strhash_p(), BLI_gset_free(), BLI_gset_new(), C, blender::compositor::context, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), LinkData::data, depsgraph, LISTBASE_FOREACH, MEM_freeN, LinkData::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, queue, scene, SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_proxy_rebuild(), SEQ_proxy_rebuild_context(), SEQ_proxy_rebuild_finish(), SEQ_relations_free_imbuf(), and Editing::seqbase.
Referenced by SEQUENCER_OT_rebuild_proxy().
|
static |
Definition at line 94 of file sequencer_proxy.c.
References C, OPERATOR_FINISHED, wmOperator::reports, and seq_proxy_build_job().
Referenced by SEQUENCER_OT_rebuild_proxy().