Files
test2/source/blender/sequencer/intern/sequencer.hh
Richard Antalik a08246a1a2 Refactor: Move VSE code to namespaces
This PR creates 2 namespaces for VSE code:
- `blender::seq` for sequencer core code
- `blender::ed::vse` for editor code

These names are chosen to not be in conflict with each other.
No namespace was used for RNA.

Finally, file `BKE_sequencer_offscreen.h` was moved from BKE to sequencer.

Pull Request: https://projects.blender.org/blender/blender/pulls/135500
2025-03-06 06:22:14 +01:00

47 lines
1.2 KiB
C++

/* SPDX-FileCopyrightText: 2004 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
/** \file
* \ingroup sequencer
*/
#include "BLI_span.hh"
struct Scene;
struct Strip;
struct StripProxy;
namespace blender::seq {
/**
* Cache must be freed before calling this function
* since it leaves the #Editing::seqbase in an invalid state.
*/
void seq_free_sequence_recurse(Scene *scene, Strip *strip, bool do_id_user);
StripProxy *seq_strip_proxy_alloc();
/**
* 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 key: pointer to Strip inside of meta strip
*
* \return pointer to meta strip
*/
Strip *SEQ_lookup_meta_by_strip(Editing *ed, const Strip *key);
/**
* Find effect strips, that use strip `strip` 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 key: pointer to Strip inside of meta strip
*
* \return collection of effect strips
*/
blender::Span<Strip *> SEQ_lookup_effects_by_strip(Editing *ed, const Strip *key);
} // namespace blender::seq