Blender V5.0
final_image_cache.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::seq

Functions

void blender::seq::final_image_cache_put (Scene *scene, float timeline_frame, int view_id, int display_channel, ImBuf *image)
ImBufblender::seq::final_image_cache_get (Scene *scene, float timeline_frame, int view_id, int display_channel)
void blender::seq::final_image_cache_invalidate_frame_range (Scene *scene, const float timeline_frame_start, const float timeline_frame_end)
void blender::seq::final_image_cache_clear (Scene *scene)
void blender::seq::final_image_cache_destroy (Scene *scene)
bool blender::seq::final_image_cache_evict (Scene *scene)
size_t blender::seq::final_image_cache_get_image_count (const Scene *scene)

Detailed Description

Cache of final rendered frames.

  • Keyed by (timeline frame, view_id).
  • When full, cache eviction policy is to remove frames furthest from the current-frame, biasing towards removal of frames behind the current-frame.
  • Invalidated fairly often while editing, basically whenever any strip overlapping that frame changes.

Definition in file final_image_cache.hh.