Blender  V3.3
SEQ_proxy.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2004 Blender Foundation. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct Depsgraph;
15 struct GSet;
16 struct ListBase;
17 struct ListBase;
18 struct Main;
19 struct Scene;
21 struct SeqRenderData;
22 struct Sequence;
23 
24 bool SEQ_proxy_rebuild_context(struct Main *bmain,
25  struct Depsgraph *depsgraph,
26  struct Scene *scene,
27  struct Sequence *seq,
28  struct GSet *file_list,
29  struct ListBase *queue,
30  bool build_only_on_bad_performance);
32  short *stop,
33  short *do_update,
34  float *progress);
36 void SEQ_proxy_set(struct Sequence *seq, bool value);
37 bool SEQ_can_use_proxy(const struct SeqRenderData *context, struct Sequence *seq, int psize);
38 int SEQ_rendersize_to_proxysize(int render_size);
40 
41 typedef struct ProxyBuildJob {
42  struct Main *main;
44  struct Scene *scene;
45  struct ListBase queue;
46  int stop;
48 
49 struct wmJob *ED_seq_proxy_wm_job_get(const struct bContext *C);
50 ProxyJob *ED_seq_proxy_job_get(const struct bContext *C, struct wmJob *wm_job);
51 
52 #ifdef __cplusplus
53 }
54 #endif
struct GSet GSet
Definition: BLI_ghash.h:340
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
#define C
Definition: RandGen.cpp:25
void SEQ_proxy_rebuild(struct SeqIndexBuildContext *context, short *stop, short *do_update, float *progress)
Definition: proxy.c:484
bool SEQ_proxy_rebuild_context(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Sequence *seq, struct GSet *file_list, struct ListBase *queue, bool build_only_on_bad_performance)
Definition: proxy.c:401
void SEQ_proxy_set(struct Sequence *seq, bool value)
Definition: proxy.c:571
struct ProxyBuildJob ProxyJob
ProxyJob * ED_seq_proxy_job_get(const struct bContext *C, struct wmJob *wm_job)
int SEQ_rendersize_to_proxysize(int render_size)
Definition: proxy.c:71
struct wmJob * ED_seq_proxy_wm_job_get(const struct bContext *C)
double SEQ_rendersize_to_scale_factor(int size)
Definition: proxy.c:86
bool SEQ_can_use_proxy(const struct SeqRenderData *context, struct Sequence *seq, int psize)
Definition: proxy.c:191
void SEQ_proxy_rebuild_finish(struct SeqIndexBuildContext *context, bool stop)
Definition: proxy.c:554
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
Scene scene
const Depsgraph * depsgraph
SyclQueue * queue
Definition: BKE_main.h:121
Scene * scene
Definition: clip_ops.c:1171
struct ListBase queue
Definition: SEQ_proxy.h:45
struct Main * main
Definition: clip_ops.c:1172
struct Depsgraph * depsgraph
Definition: SEQ_proxy.h:43
Definition: wm_jobs.c:57