Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
41 lines
880 B
C++
41 lines
880 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2004 Blender Foundation. All rights reserved. */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct Scene;
|
|
struct SeqRenderData;
|
|
struct Sequence;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/**
|
|
* 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
|