Blender V5.0
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
8
9#pragma once
10
11struct bContext;
12struct ImBuf;
13struct rctf;
14struct Strip;
15struct Scene;
16
17namespace blender::seq {
18
19static constexpr int THUMB_SIZE = 256;
20
33 Scene *scene,
34 const Strip *strip,
35 float timeline_frame);
36
42
43void thumbnail_cache_invalidate_strip(Scene *scene, const Strip *strip);
44
50
51void thumbnail_cache_clear(Scene *scene);
53
54bool strip_can_have_thumbnail(const Scene *scene, const Strip *strip);
55
56} // namespace blender::seq
#define C
Definition RandGen.cpp:29
void thumbnail_cache_invalidate_strip(Scene *scene, const Strip *strip)
bool strip_can_have_thumbnail(const Scene *scene, const Strip *strip)
void thumbnail_cache_clear(Scene *scene)
ImBuf * thumbnail_cache_get(const bContext *C, Scene *scene, const Strip *strip, float timeline_frame)
void thumbnail_cache_discard_requests_outside(Scene *scene, const rctf &rect)
void thumbnail_cache_destroy(Scene *scene)
static constexpr int THUMB_SIZE
void thumbnail_cache_maintain_capacity(Scene *scene)