26 typedef void *(*MovieCacheGetPriorityDataFP)(
void *userkey);
52 bool(cleanup_check_cb)(
struct ImBuf *ibuf,
61 struct MovieCache *cache,
int proxy,
int render_flags,
int *r_totseg,
int **r_points);
63 struct MovieCacheIter;
bool(* GHashCmpFP)(const void *a, const void *b)
unsigned int(* GHashHashFP)(const void *key)
bool IMB_moviecache_has_frame(struct MovieCache *cache, void *userkey)
struct MovieCache * IMB_moviecache_create(const char *name, int keysize, GHashHashFP hashfp, GHashCmpFP cmpfp)
struct ImBuf * IMB_moviecache_get(struct MovieCache *cache, void *userkey, bool *r_is_cached_empty)
int(* MovieCacheGetItemPriorityFP)(void *last_userkey, void *priority_data)
void IMB_moviecache_set_getdata_callback(struct MovieCache *cache, MovieCacheGetKeyDataFP getdatafp)
void IMB_moviecacheIter_free(struct MovieCacheIter *iter)
void IMB_moviecache_remove(struct MovieCache *cache, void *userkey)
void IMB_moviecache_cleanup(struct MovieCache *cache, bool(cleanup_check_cb)(struct ImBuf *ibuf, void *userkey, void *userdata), void *userdata)
struct MovieCacheIter * IMB_moviecacheIter_new(struct MovieCache *cache)
void IMB_moviecache_destruct(void)
void IMB_moviecache_put(struct MovieCache *cache, void *userkey, struct ImBuf *ibuf)
void IMB_moviecache_free(struct MovieCache *cache)
void IMB_moviecache_get_cache_segments(struct MovieCache *cache, int proxy, int render_flags, int *r_totseg, int **r_points)
bool IMB_moviecacheIter_done(struct MovieCacheIter *iter)
bool IMB_moviecache_put_if_possible(struct MovieCache *cache, void *userkey, struct ImBuf *ibuf)
void IMB_moviecacheIter_step(struct MovieCacheIter *iter)
void(* MovieCachePriorityDeleterFP)(void *priority_data)
void IMB_moviecache_set_priority_callback(struct MovieCache *cache, MovieCacheGetPriorityDataFP getprioritydatafp, MovieCacheGetItemPriorityFP getitempriorityfp, MovieCachePriorityDeleterFP prioritydeleterfp)
void IMB_moviecache_init(void)
void * IMB_moviecacheIter_getUserKey(struct MovieCacheIter *iter)
struct ImBuf * IMB_moviecacheIter_getImBuf(struct MovieCacheIter *iter)
void *(* MovieCacheGetPriorityDataFP)(void *userkey)
void(* MovieCacheGetKeyDataFP)(void *userkey, int *framenr, int *proxy, int *render_flags)
SyclQueue void void size_t num_bytes void
MovieCacheGetKeyDataFP getdatafp
MovieCacheGetItemPriorityFP getitempriorityfp
MovieCachePriorityDeleterFP prioritydeleterfp
MovieCacheGetPriorityDataFP getprioritydatafp