Blender V5.0
source_image_cache.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
19
20#pragma once
21
22struct ImBuf;
23struct Strip;
24struct Scene;
25struct RenderData;
26
27namespace blender::seq {
28
29void source_image_cache_put(const RenderData *context,
30 const Strip *strip,
31 float timeline_frame,
32 ImBuf *image);
33
34ImBuf *source_image_cache_get(const RenderData *context, const Strip *strip, float timeline_frame);
35
36void source_image_cache_invalidate_strip(Scene *scene, const Strip *strip);
37
40
42
43size_t source_image_cache_get_image_count(const Scene *scene);
44
45} // namespace blender::seq
struct Scene Scene
struct Strip Strip
void source_image_cache_put(const RenderData *context, const Strip *strip, float timeline_frame, ImBuf *image)
bool source_image_cache_evict(Scene *scene)
void source_image_cache_clear(Scene *scene)
void source_image_cache_invalidate_strip(Scene *scene, const Strip *strip)
size_t source_image_cache_get_image_count(const Scene *scene)
ImBuf * source_image_cache_get(const RenderData *context, const Strip *strip, float timeline_frame)
void source_image_cache_destroy(Scene *scene)