Blender V5.0
intra_frame_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;
25
26namespace blender::seq {
27
28ImBuf *intra_frame_cache_get_preprocessed(Scene *scene, const Strip *strip);
29ImBuf *intra_frame_cache_get_composite(Scene *scene, const Strip *strip);
30void intra_frame_cache_put_preprocessed(Scene *scene, const Strip *strip, ImBuf *image);
31void intra_frame_cache_put_composite(Scene *scene, const Strip *strip, ImBuf *image);
32
34
35void intra_frame_cache_invalidate(Scene *scene, const Strip *strip);
37
39 Scene *scene, float frame, int view_id, int width, int height);
40
41} // namespace blender::seq
struct Scene Scene
struct Strip Strip
void intra_frame_cache_set_cur_frame(Scene *scene, float frame, int view_id, int width, int height)
void intra_frame_cache_invalidate(Scene *scene)
ImBuf * intra_frame_cache_get_composite(Scene *scene, const Strip *strip)
ImBuf * intra_frame_cache_get_preprocessed(Scene *scene, const Strip *strip)
void intra_frame_cache_destroy(Scene *scene)
void intra_frame_cache_put_composite(Scene *scene, const Strip *strip, ImBuf *image)
void intra_frame_cache_put_preprocessed(Scene *scene, const Strip *strip, ImBuf *image)