Provides forward definitions of all public types.
int32_t mlt_position
Definition: mlt_types.h:163
void(* mlt_destructor)(void *)
pointer to destructor function
Definition: mlt_types.h:212
Cache item class.
Definition: mlt_cache.c:50
void mlt_cache_item_close(mlt_cache_item item)
Close a cache item.
Definition: mlt_cache.c:180
Cache class.
Definition: mlt_cache.c:82
void mlt_cache_close(mlt_cache cache)
Destroy a cache.
Definition: mlt_cache.c:244
mlt_cache_item mlt_cache_get(mlt_cache cache, void *object)
Get a chunk of data from the cache.
Definition: mlt_cache.c:441
int mlt_cache_get_size(mlt_cache cache)
Get the number of possible cache items.
Definition: mlt_cache.c:233
void mlt_cache_put(mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor)
Put a chunk of data in the cache.
Definition: mlt_cache.c:362
void mlt_cache_put_frame(mlt_cache cache, mlt_frame frame)
Put a frame in the cache.
Definition: mlt_cache.c:535
void * mlt_cache_item_data(mlt_cache_item item, int *size)
Get the data pointer from the cache item.
Definition: mlt_cache.c:106
mlt_cache mlt_cache_init()
Create a new cache.
Definition: mlt_cache.c:197
void mlt_cache_purge(mlt_cache cache, void *object)
Remove cache entries for an object.
Definition: mlt_cache.c:268
void mlt_cache_set_size(mlt_cache cache, int size)
Set the number of items to cache.
Definition: mlt_cache.c:220
mlt_frame mlt_cache_get_frame(mlt_cache cache, mlt_position position)
Get a frame from the cache.
Definition: mlt_cache.c:582
Frame class.
Definition: mlt_frame.h:74