Blender V4.5
final_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
16
17#pragma once
18
20#include "DNA_listBase.h"
21
22struct ImBuf;
23struct Strip;
24struct Scene;
25
26namespace blender::seq {
27
29 const ListBase *seqbasep,
30 float timeline_frame,
31 int view_id,
32 int display_channel,
33 int2 image_size,
34 ImBuf *image);
35
36ImBuf *final_image_cache_get(Scene *scene,
37 const ListBase *seqbasep,
38 float timeline_frame,
39 int view_id,
40 int display_channel,
41 int2 image_size);
42
44 const float timeline_frame_start,
45 const float timeline_frame_end);
46
49
51
52size_t final_image_cache_get_image_count(const Scene *scene);
53
54} // namespace blender::seq
These structs are the foundation for all linked lists in the library system.
struct ListBase ListBase
struct Scene Scene
void final_image_cache_invalidate_frame_range(Scene *scene, const float timeline_frame_start, const float timeline_frame_end)
void final_image_cache_destroy(Scene *scene)
void final_image_cache_clear(Scene *scene)
ImBuf * final_image_cache_get(Scene *scene, const ListBase *seqbasep, float timeline_frame, int view_id, int display_channel, int2 image_size)
bool final_image_cache_evict(Scene *scene)
void final_image_cache_put(Scene *scene, const ListBase *seqbasep, const float timeline_frame, const int view_id, const int display_channel, int2 image_size, ImBuf *image)
size_t final_image_cache_get_image_count(const Scene *scene)
VecBase< int32_t, 2 > int2