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/
52 lines
1.5 KiB
C
52 lines
1.5 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 Scene;
|
|
struct Sequence;
|
|
struct StripProxy;
|
|
struct SeqCollection;
|
|
/**
|
|
* Cache must be freed before calling this function
|
|
* since it leaves the seqbase in an invalid state.
|
|
*/
|
|
void seq_free_sequence_recurse(struct Scene *scene, struct Sequence *seq, bool do_id_user);
|
|
struct StripProxy *seq_strip_proxy_alloc(void);
|
|
/**
|
|
* Find meta strip, that contains strip `key`.
|
|
* If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be
|
|
* rebuilt.
|
|
*
|
|
* \param scene: scene that owns lookup hash
|
|
* \param key: pointer to Sequence inside of meta strip
|
|
*
|
|
* \return pointer to meta strip
|
|
*/
|
|
struct Sequence *seq_sequence_lookup_meta_by_seq(const struct Scene *scene,
|
|
const struct Sequence *key);
|
|
/**
|
|
* Find effect strips, that use strip `seq` as one of inputs.
|
|
* If lookup hash doesn't exist, it will be created. If hash is tagged as invalid, it will be
|
|
* rebuilt.
|
|
*
|
|
* \param scene: scene that owns lookup hash
|
|
* \param key: pointer to Sequence inside of meta strip
|
|
*
|
|
* \return collection of effect strips
|
|
*/
|
|
struct SeqCollection *seq_sequence_lookup_effects_by_seq(const struct Scene *scene,
|
|
const struct Sequence *key);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|