Listing the "Blender Foundation" as copyright holder implied the Blender Foundation holds copyright to files which may include work from many developers. While keeping copyright on headers makes sense for isolated libraries, Blender's own code may be refactored or moved between files in a way that makes the per file copyright holders less meaningful. Copyright references to the "Blender Foundation" have been replaced with "Blender Authors", with the exception of `./extern/` since these this contains libraries which are more isolated, any changed to license headers there can be handled on a case-by-case basis. Some directories in `./intern/` have also been excluded: - `./intern/cycles/` it's own `AUTHORS` file is planned. - `./intern/opensubdiv/`. An "AUTHORS" file has been added, using the chromium projects authors file as a template. Design task: #110784 Ref !110783.
38 lines
843 B
C
38 lines
843 B
C
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Scene;
|
|
struct SeqRenderData;
|
|
struct Sequence;
|
|
|
|
/**
|
|
* Start or resume prefetching.
|
|
*/
|
|
void seq_prefetch_start(const struct SeqRenderData *context, float timeline_frame);
|
|
void seq_prefetch_free(struct Scene *scene);
|
|
bool seq_prefetch_job_is_running(struct Scene *scene);
|
|
void seq_prefetch_get_time_range(struct Scene *scene, int *start, int *end);
|
|
/**
|
|
* For cache context swapping.
|
|
*/
|
|
struct SeqRenderData *seq_prefetch_get_original_context(const struct SeqRenderData *context);
|
|
/**
|
|
* For cache context swapping.
|
|
*/
|
|
struct Sequence *seq_prefetch_get_original_sequence(struct Sequence *seq, struct Scene *scene);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|