MLT 7.24.0
mlt_cache.h
Go to the documentation of this file.
1
23#ifndef MLT_CACHE_H
24#define MLT_CACHE_H
25
26#include "mlt_types.h"
27
28extern void *mlt_cache_item_data(mlt_cache_item item, int *size);
30
32extern void mlt_cache_set_size(mlt_cache cache, int size);
33extern int mlt_cache_get_size(mlt_cache cache);
34extern void mlt_cache_close(mlt_cache cache);
35extern void mlt_cache_purge(mlt_cache cache, void *object);
36extern void mlt_cache_put(
37 mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor);
38extern mlt_cache_item mlt_cache_get(mlt_cache cache, void *object);
39extern void mlt_cache_put_frame(mlt_cache cache, mlt_frame frame);
43
44#endif
void mlt_cache_put_frame_audio(mlt_cache cache, mlt_frame frame)
void mlt_cache_close(mlt_cache cache)
mlt_cache_item mlt_cache_get(mlt_cache cache, void *object)
int mlt_cache_get_size(mlt_cache cache)
void mlt_cache_put(mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor)
void mlt_cache_put_frame(mlt_cache cache, mlt_frame frame)
void * mlt_cache_item_data(mlt_cache_item item, int *size)
mlt_cache mlt_cache_init()
void mlt_cache_purge(mlt_cache cache, void *object)
void mlt_cache_put_frame_image(mlt_cache cache, mlt_frame frame)
void mlt_cache_item_close(mlt_cache_item item)
void mlt_cache_set_size(mlt_cache cache, int size)
mlt_frame mlt_cache_get_frame(mlt_cache cache, mlt_position position)
Provides forward definitions of all public types.
int32_t mlt_position
Definition mlt_types.h:217
void(* mlt_destructor)(void *)
pointer to destructor function
Definition mlt_types.h:269
Cache item class.
Definition mlt_cache.c:50
Cache class.
Definition mlt_cache.c:82
Frame class.
Definition mlt_frame.h:90