Blender V4.3
image_cache.hh File Reference
#include "SEQ_render.hh"

Go to the source code of this file.

Classes

struct  SeqCacheKey
 

Functions

ImBufseq_cache_get (const SeqRenderData *context, Sequence *seq, float timeline_frame, int type)
 
void seq_cache_put (const SeqRenderData *context, Sequence *seq, float timeline_frame, int type, ImBuf *i)
 
bool seq_cache_put_if_possible (const SeqRenderData *context, Sequence *seq, float timeline_frame, int type, ImBuf *ibuf)
 
bool seq_cache_recycle_item (Scene *scene)
 
void seq_cache_free_temp_cache (Scene *scene, short id, int timeline_frame)
 
void seq_cache_destruct (Scene *scene)
 
void seq_cache_cleanup_sequence (Scene *scene, Sequence *seq, Sequence *seq_changed, int invalidate_types, bool force_seq_changed_range)
 
bool seq_cache_is_full ()
 
float seq_cache_frame_index_to_timeline_frame (Sequence *seq, float frame_index)
 

Function Documentation

◆ seq_cache_cleanup_sequence()

◆ seq_cache_destruct()

◆ seq_cache_frame_index_to_timeline_frame()

float seq_cache_frame_index_to_timeline_frame ( Sequence * seq,
float frame_index )

Definition at line 141 of file image_cache.cc.

References SEQ_time_start_frame_get().

Referenced by seq_disk_cache_delete_invalid_files().

◆ seq_cache_free_temp_cache()

◆ seq_cache_get()

◆ seq_cache_is_full()

bool seq_cache_is_full ( )

◆ seq_cache_put()

◆ seq_cache_put_if_possible()

bool seq_cache_put_if_possible ( const SeqRenderData * context,
Sequence * seq,
float timeline_frame,
int type,
ImBuf * ibuf )

◆ seq_cache_recycle_item()

bool seq_cache_recycle_item ( Scene * scene)

Find only "base" keys. Sources(other types) for a frame must be freed all at once.

Definition at line 441 of file image_cache.cc.

References seq_cache_get_from_scene(), seq_cache_get_item_for_removal(), seq_cache_is_full(), seq_cache_lock(), seq_cache_recycle_linked(), and seq_cache_unlock().

Referenced by seq_cache_get(), seq_cache_put_if_possible(), and seq_prefetch_is_cache_full().