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.
52 lines
1.5 KiB
C
52 lines
1.5 KiB
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 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
|