A lot of files were missing copyright field in the header and
the Blender Foundation contributed to them in a sense of bug
fixing and general maintenance.
This change makes it explicit that those files are at least
partially copyrighted by the Blender Foundation.
Note that this does not make it so the Blender Foundation is
the only holder of the copyright in those files, and developers
who do not have a signed contract with the foundation still
hold the copyright as well.
Another aspect of this change is using SPDX format for the
header. We already used it for the license specification,
and now we state it for the copyright as well, following the
FAQ:
https://reuse.software/faq/
67 lines
2.4 KiB
C
67 lines
2.4 KiB
C
/* SPDX-FileCopyrightText: 2004 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct ImBuf;
|
|
struct ListBase;
|
|
struct Scene;
|
|
struct SeqEffectHandle;
|
|
struct SeqRenderData;
|
|
struct Sequence;
|
|
|
|
#define EARLY_NO_INPUT -1
|
|
#define EARLY_DO_EFFECT 0
|
|
#define EARLY_USE_INPUT_1 1
|
|
#define EARLY_USE_INPUT_2 2
|
|
|
|
/* mutable state for sequencer */
|
|
typedef struct SeqRenderState {
|
|
struct LinkNode *scene_parents;
|
|
} SeqRenderState;
|
|
|
|
void seq_render_state_init(SeqRenderState *state);
|
|
|
|
struct ImBuf *seq_render_give_ibuf_seqbase(const struct SeqRenderData *context,
|
|
float timeline_frame,
|
|
int chan_shown,
|
|
struct ListBase *channels,
|
|
struct ListBase *seqbasep);
|
|
struct ImBuf *seq_render_effect_execute_threaded(struct SeqEffectHandle *sh,
|
|
const struct SeqRenderData *context,
|
|
struct Sequence *seq,
|
|
float timeline_frame,
|
|
float fac,
|
|
struct ImBuf *ibuf1,
|
|
struct ImBuf *ibuf2,
|
|
struct ImBuf *ibuf3);
|
|
void seq_imbuf_to_sequencer_space(struct Scene *scene, struct ImBuf *ibuf, bool make_float);
|
|
int seq_get_shown_sequences(const struct Scene *scene,
|
|
struct ListBase *channels,
|
|
struct ListBase *seqbase,
|
|
int timeline_frame,
|
|
int chanshown,
|
|
struct Sequence **r_seq_arr);
|
|
struct ImBuf *seq_render_strip(const struct SeqRenderData *context,
|
|
struct SeqRenderState *state,
|
|
struct Sequence *seq,
|
|
float timeline_frame);
|
|
struct ImBuf *seq_render_mask(const struct SeqRenderData *context,
|
|
struct Mask *mask,
|
|
float frame_index,
|
|
bool make_float);
|
|
void seq_imbuf_assign_spaces(struct Scene *scene, struct ImBuf *ibuf);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|