Part of #130975: split off overly large VSE effects.cc (almost 4000 lines) into separate source files. No behavior changes. - Add / Subtract / Multiply all go into one source file, - Blend Over / Blend Under / Over Drop / other blend modes all go into one source file, - Cross and Gamma Cross go into one source file, - All others go into their own files. Pull Request: https://projects.blender.org/blender/blender/pulls/132323
48 lines
1.3 KiB
C++
48 lines
1.3 KiB
C++
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#include "BLI_set.hh"
|
|
|
|
struct Depsgraph;
|
|
struct ListBase;
|
|
struct Main;
|
|
struct Scene;
|
|
struct SeqIndexBuildContext;
|
|
struct SeqRenderData;
|
|
struct Sequence;
|
|
struct bContext;
|
|
struct wmJob;
|
|
struct wmJobWorkerStatus;
|
|
|
|
bool SEQ_proxy_rebuild_context(Main *bmain,
|
|
Depsgraph *depsgraph,
|
|
Scene *scene,
|
|
Sequence *seq,
|
|
blender::Set<std::string> *processed_paths,
|
|
ListBase *queue,
|
|
bool build_only_on_bad_performance);
|
|
void SEQ_proxy_rebuild(SeqIndexBuildContext *context, wmJobWorkerStatus *worker_status);
|
|
void SEQ_proxy_rebuild_finish(SeqIndexBuildContext *context, bool stop);
|
|
void SEQ_proxy_set(Sequence *seq, bool value);
|
|
bool SEQ_can_use_proxy(const SeqRenderData *context, const Sequence *seq, int psize);
|
|
int SEQ_rendersize_to_proxysize(int render_size);
|
|
double SEQ_rendersize_to_scale_factor(int render_size);
|
|
|
|
struct ProxyJob {
|
|
Main *main;
|
|
Depsgraph *depsgraph;
|
|
Scene *scene;
|
|
ListBase queue;
|
|
int stop;
|
|
};
|
|
|
|
wmJob *ED_seq_proxy_wm_job_get(const bContext *C);
|
|
ProxyJob *ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job);
|