54 bool selected =
false;
66 if (seq->strip->proxy->build_size_flags == 0) {
121 short stop = 0, do_update;
126 for (link =
queue.first; link; link = link->
next) {
143 ot->
name =
"Rebuild Proxy and Timecode Indices";
144 ot->
idname =
"SEQUENCER_OT_rebuild_proxy";
145 ot->
description =
"Rebuild all selected proxies and timecode indices using the job system";
179 if (ed ==
NULL || !(proxy_25 || proxy_50 || proxy_75 || proxy_100)) {
237 ot->
name =
"Set Selected Strip Proxies";
238 ot->
idname =
"SEQUENCER_OT_enable_proxies";
239 ot->
description =
"Enable selected proxies on all selected Movie and Image strips";
struct ScrArea * CTX_wm_area(const bContext *C)
struct Scene * CTX_data_scene(const bContext *C)
struct wmWindowManager * CTX_wm_manager(const bContext *C)
struct Depsgraph * CTX_data_ensure_evaluated_depsgraph(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
bool BLI_ghashutil_strcmp(const void *a, const void *b)
unsigned int BLI_ghashutil_strhash_p(const void *ptr)
GSet * BLI_gset_new(GSetHashFP hashfp, GSetCmpFP cmpfp, const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
void BLI_gset_free(GSet *gs, GSetKeyFreeFP keyfreefp)
#define LISTBASE_FOREACH(type, var, list)
struct Depsgraph Depsgraph
#define SEQ_PROXY_IMAGE_SIZE_75
#define SEQ_PROXY_IMAGE_SIZE_100
#define SEQ_PROXY_IMAGE_SIZE_50
@ SEQ_PROXY_SKIP_EXISTING
#define SEQ_PROXY_IMAGE_SIZE_25
void ED_area_tag_redraw(ScrArea *area)
Read Guarded memory(de)allocation.
const Depsgraph * depsgraph
void(* MEM_freeN)(void *vmemh)
static void area(int d1, int d2, int e1, int e2, float weights[2])
void SEQ_proxy_set(struct Sequence *seq, bool value)
void SEQ_proxy_rebuild(SeqIndexBuildContext *context, short *stop, short *do_update, float *progress)
void SEQ_proxy_rebuild_finish(SeqIndexBuildContext *context, bool stop)
bool SEQ_proxy_rebuild_context(Main *bmain, Depsgraph *depsgraph, Scene *scene, Sequence *seq, struct GSet *file_list, ListBase *queue, bool build_only_on_bad_performance)
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
struct wmJob * ED_seq_proxy_wm_job_get(const bContext *C)
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, bool default_value, const char *ui_name, const char *ui_description)
ListBase * SEQ_active_seqbase_get(const Editing *ed)
Editing * SEQ_editing_get(const Scene *scene)
void SEQUENCER_OT_enable_proxies(wmOperatorType *ot)
void SEQUENCER_OT_rebuild_proxy(wmOperatorType *ot)
static int sequencer_enable_proxies_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
static int sequencer_rebuild_proxy_exec(bContext *C, wmOperator *UNUSED(op))
static int sequencer_rebuild_proxy_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
static int sequencer_enable_proxies_exec(bContext *C, wmOperator *op)
static void seq_proxy_build_job(const bContext *C, ReportList *reports)
void SEQ_relations_free_imbuf(Scene *scene, ListBase *seqbase, bool for_render)
struct Depsgraph * depsgraph
int(* invoke)(struct bContext *, struct wmOperator *, const struct wmEvent *) ATTR_WARN_UNUSED_RESULT
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct ReportList * reports
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
bool WM_jobs_is_running(const wmJob *wm_job)
void WM_jobs_start(wmWindowManager *wm, wmJob *wm_job)
int WM_operator_props_dialog_popup(bContext *C, wmOperator *op, int width)