MLT 7.40.0
Multimedia Framework
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_export.h"
27#include "mlt_types.h"
28
29MLT_EXPORT void *mlt_cache_item_data(mlt_cache_item item, int *size);
31
33MLT_EXPORT void mlt_cache_set_size(mlt_cache cache, int size);
34MLT_EXPORT int mlt_cache_get_size(mlt_cache cache);
35MLT_EXPORT void mlt_cache_close(mlt_cache cache);
36MLT_EXPORT void mlt_cache_purge(mlt_cache cache, void *object);
37MLT_EXPORT void mlt_cache_put(
38 mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor);
39MLT_EXPORT mlt_cache_item mlt_cache_get(mlt_cache cache, void *object);
40MLT_EXPORT void mlt_cache_put_frame(mlt_cache cache, mlt_frame frame);
41MLT_EXPORT void mlt_cache_put_frame_audio(mlt_cache cache, mlt_frame frame);
42MLT_EXPORT void mlt_cache_put_frame_image(mlt_cache cache, mlt_frame frame);
44
45#endif
MLT_EXPORT void mlt_cache_put_frame_audio(mlt_cache cache, mlt_frame frame)
MLT_EXPORT void mlt_cache_put(mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor)
MLT_EXPORT void mlt_cache_close(mlt_cache cache)
MLT_EXPORT void * mlt_cache_item_data(mlt_cache_item item, int *size)
MLT_EXPORT void mlt_cache_set_size(mlt_cache cache, int size)
MLT_EXPORT mlt_cache mlt_cache_init()
MLT_EXPORT mlt_frame mlt_cache_get_frame(mlt_cache cache, mlt_position position)
MLT_EXPORT mlt_cache_item mlt_cache_get(mlt_cache cache, void *object)
MLT_EXPORT void mlt_cache_put_frame_image(mlt_cache cache, mlt_frame frame)
MLT_EXPORT void mlt_cache_put_frame(mlt_cache cache, mlt_frame frame)
MLT_EXPORT int mlt_cache_get_size(mlt_cache cache)
MLT_EXPORT void mlt_cache_item_close(mlt_cache_item item)
MLT_EXPORT void mlt_cache_purge(mlt_cache cache, void *object)
Provides forward definitions of all public types.
int32_t mlt_position
Definition mlt_types.h:255
void(* mlt_destructor)(void *)
pointer to destructor function
Definition mlt_types.h:307
Cache item class.
Definition mlt_cache.c:50
Cache class.
Definition mlt_cache.c:82
Frame class.
Definition mlt_frame.h:91