Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-03-16 20:47:23 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-03-16 20:56:44 +0300
commit04e1feb83051f75317309ec3659b9263a99dbd7e (patch)
treec2e71b1f62233b04bfab8f6f307e6d1838e8daa2 /source/blender/sequencer/SEQ_proxy.h
parente4f347783320d83e43bc650020013e19b2f22c7f (diff)
VSE: Automatic proxy building
Build proxies automatically when added to sequencer timeline and when switching preview size. This behavior can be disabled in user preferences. Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D10363
Diffstat (limited to 'source/blender/sequencer/SEQ_proxy.h')
-rw-r--r--source/blender/sequencer/SEQ_proxy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/sequencer/SEQ_proxy.h b/source/blender/sequencer/SEQ_proxy.h
index 859eac90609..b06adef2802 100644
--- a/source/blender/sequencer/SEQ_proxy.h
+++ b/source/blender/sequencer/SEQ_proxy.h
@@ -53,6 +53,17 @@ bool SEQ_can_use_proxy(const struct SeqRenderData *context, struct Sequence *seq
int SEQ_rendersize_to_proxysize(int render_size);
double SEQ_rendersize_to_scale_factor(int size);
+typedef struct ProxyBuildJob {
+ struct Main *main;
+ struct Depsgraph *depsgraph;
+ struct Scene *scene;
+ struct ListBase queue;
+ int stop;
+} ProxyJob;
+
+struct wmJob *ED_seq_proxy_wm_job_get(const struct bContext *C);
+ProxyJob *ED_seq_proxy_job_get(const struct bContext *C, struct wmJob *wm_job);
+
#ifdef __cplusplus
}
#endif