Blender  V2.93
prefetch.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2004 Blender Foundation.
17  * All rights reserved.
18  */
19 
20 #pragma once
21 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 struct Scene;
31 struct SeqRenderData;
32 struct Sequence;
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 void seq_prefetch_start(const struct SeqRenderData *context, float timeline_frame);
39 void seq_prefetch_free(struct Scene *scene);
41 void seq_prefetch_get_time_range(struct Scene *scene, int *start, int *end);
43 struct Sequence *seq_prefetch_get_original_sequence(struct Sequence *seq, struct Scene *scene);
44 
45 #ifdef __cplusplus
46 }
47 #endif
Scene scene
void seq_prefetch_start(const struct SeqRenderData *context, float timeline_frame)
struct SeqRenderData * seq_prefetch_get_original_context(const struct SeqRenderData *context)
void seq_prefetch_free(struct Scene *scene)
Definition: prefetch.c:343
void seq_prefetch_get_time_range(struct Scene *scene, int *start, int *end)
Definition: prefetch.c:198
struct Sequence * seq_prefetch_get_original_sequence(struct Sequence *seq, struct Scene *scene)
Definition: prefetch.c:164
bool seq_prefetch_job_is_running(struct Scene *scene)
Definition: prefetch.c:123
struct SELECTID_Context context
Definition: select_engine.c:47