Blender V4.5
SEQ_proxy.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include "DNA_listBase.h"
12
13#include "BLI_set.hh"
14
15struct Depsgraph;
16struct ListBase;
17struct Main;
18struct Scene;
19struct Strip;
20struct bContext;
21struct wmJob;
22struct wmJobWorkerStatus;
23
24namespace blender::seq {
25
27struct RenderData;
28
29bool proxy_rebuild_context(Main *bmain,
30 Depsgraph *depsgraph,
31 Scene *scene,
32 Strip *strip,
33 blender::Set<std::string> *processed_paths,
34 ListBase *queue,
35 bool build_only_on_bad_performance);
36void proxy_rebuild(IndexBuildContext *context, wmJobWorkerStatus *worker_status);
38void proxy_set(Strip *strip, bool value);
39bool can_use_proxy(const RenderData *context, const Strip *strip, int psize);
40int rendersize_to_proxysize(int render_size);
41double rendersize_to_scale_factor(int render_size);
42
50
53
54} // namespace blender::seq
These structs are the foundation for all linked lists in the library system.
struct ListBase ListBase
struct Scene Scene
struct Strip Strip
#define C
Definition RandGen.cpp:29
bool stop
Definition WM_types.hh:1016
BPy_StructRNA * depsgraph
void proxy_rebuild(IndexBuildContext *context, wmJobWorkerStatus *worker_status)
Definition proxy.cc:510
double rendersize_to_scale_factor(int render_size)
Definition proxy.cc:87
int rendersize_to_proxysize(int render_size)
Definition proxy.cc:72
bool proxy_rebuild_context(Main *bmain, Depsgraph *depsgraph, Scene *scene, Strip *strip, blender::Set< std::string > *processed_paths, ListBase *queue, bool build_only_on_bad_performance)
Definition proxy.cc:426
void proxy_set(Strip *strip, bool value)
Definition proxy.cc:601
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
Definition proxy_job.cc:70
bool can_use_proxy(const RenderData *context, const Strip *strip, int psize)
Definition proxy.cc:192
void proxy_rebuild_finish(IndexBuildContext *context, bool stop)
Definition proxy.cc:586
wmJob * ED_seq_proxy_wm_job_get(const bContext *C)
Definition proxy_job.cc:87
Depsgraph * depsgraph
Definition SEQ_proxy.hh:45