This renames the struct `Sequence` to `Strip`. While the motivation for this partially comes from the "Sequence Design" #131329, it seems like this is a good refactor whether the design gets implemented or not. The `Sequence` represents what users see as strips in the VSE. Many places in the code already refere to a `Sequence` as "strip". It's the C-style "base class" of all strip types. This also renames the python RNA type `bpy.types.Sequence` to `bpy.types.Strip` which means that this technically breaks the python API. Pull Request: https://projects.blender.org/blender/blender/pulls/132179
30 lines
805 B
C++
30 lines
805 B
C++
/* SPDX-FileCopyrightText: 2021 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/** \file
|
|
* \ingroup sequencer
|
|
*/
|
|
|
|
struct ImBuf;
|
|
struct Main;
|
|
struct Scene;
|
|
struct SeqCacheKey;
|
|
struct SeqDiskCache;
|
|
struct Strip;
|
|
|
|
SeqDiskCache *seq_disk_cache_create(Main *bmain, Scene *scene);
|
|
void seq_disk_cache_free(SeqDiskCache *disk_cache);
|
|
bool seq_disk_cache_is_enabled(Main *bmain);
|
|
ImBuf *seq_disk_cache_read_file(SeqDiskCache *disk_cache, SeqCacheKey *key);
|
|
bool seq_disk_cache_write_file(SeqDiskCache *disk_cache, SeqCacheKey *key, ImBuf *ibuf);
|
|
bool seq_disk_cache_enforce_limits(SeqDiskCache *disk_cache);
|
|
void seq_disk_cache_invalidate(
|
|
SeqDiskCache *disk_cache, Scene *scene, Strip *seq, Strip *seq_changed, int invalidate_types);
|