Blender V5.0
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#include "DNA_space_enums.h"
13
14#include "BLI_set.hh"
15
16#include "IMB_imbuf_enums.h"
17
18struct Depsgraph;
19struct ListBase;
20struct Main;
21struct Scene;
22struct Strip;
23struct bContext;
24struct wmJob;
26
27namespace blender::seq {
28
30struct RenderData;
31
32bool proxy_rebuild_context(Main *bmain,
33 Depsgraph *depsgraph,
34 Scene *scene,
35 Strip *strip,
36 blender::Set<std::string> *processed_paths,
37 ListBase *queue,
38 bool build_only_on_bad_performance);
39void proxy_rebuild(IndexBuildContext *context, wmJobWorkerStatus *worker_status);
40void proxy_rebuild_finish(IndexBuildContext *context, bool stop);
41void proxy_set(Strip *strip, bool value);
42bool can_use_proxy(const RenderData *context, const Strip *strip, IMB_Proxy_Size psize);
45
53
56
57} // 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
eSpaceSeq_Proxy_RenderSize
IMB_Proxy_Size
#define C
Definition RandGen.cpp:29
BPy_StructRNA * depsgraph
void proxy_rebuild(IndexBuildContext *context, wmJobWorkerStatus *worker_status)
Definition proxy.cc:516
IMB_Proxy_Size rendersize_to_proxysize(eSpaceSeq_Proxy_RenderSize 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:431
void proxy_set(Strip *strip, bool value)
Definition proxy.cc:613
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
Definition proxy_job.cc:70
void proxy_rebuild_finish(IndexBuildContext *context, bool stop)
Definition proxy.cc:598
float rendersize_to_scale_factor(eSpaceSeq_Proxy_RenderSize render_size)
Definition proxy.cc:88
bool can_use_proxy(const RenderData *context, const Strip *strip, IMB_Proxy_Size psize)
Definition proxy.cc:194
wmJob * ED_seq_proxy_wm_job_get(const bContext *C)
Definition proxy_job.cc:87
Depsgraph * depsgraph
Definition SEQ_proxy.hh:48