Blender V4.3
SEQ_thumbnail_cache.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11struct bContext;
12struct ImBuf;
13struct rctf;
14struct Sequence;
15struct Scene;
16
17#include "BLI_function_ref.hh"
18
19#include <string>
20
21namespace blender::seq {
22
23static constexpr int SEQ_THUMB_SIZE = 256;
24
37 Scene *scene,
38 const Sequence *seq,
39 float timeline_frame);
40
46
47void thumbnail_cache_invalidate_strip(Scene *scene, const Sequence *seq);
48
54
55void thumbnail_cache_clear(Scene *scene);
57
58bool strip_can_have_thumbnail(const Scene *scene, const Sequence *seq);
59
60} // namespace blender::seq
void thumbnail_cache_invalidate_strip(Scene *scene, const Sequence *seq)
static constexpr int SEQ_THUMB_SIZE
ImBuf * thumbnail_cache_get(const bContext *C, Scene *scene, const Sequence *seq, float timeline_frame)
void thumbnail_cache_clear(Scene *scene)
bool strip_can_have_thumbnail(const Scene *scene, const Sequence *seq)
void thumbnail_cache_discard_requests_outside(Scene *scene, const rctf &rect)
void thumbnail_cache_destroy(Scene *scene)
void thumbnail_cache_maintain_capacity(Scene *scene)