X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fframework%2Fmlt_cache.h;h=cd26522cdfbccf8df58a2089383757374a16349b;hb=0ae409f22585354b2b8c2459a3cb9e6d39e42dfe;hp=aaec935c414a9c470a7abf5892e747a40056bccf;hpb=7adc0cb10f3df24037ef573579d719f2e3cdf2a7;p=mlt diff --git a/src/framework/mlt_cache.h b/src/framework/mlt_cache.h index aaec935c..cd26522c 100644 --- a/src/framework/mlt_cache.h +++ b/src/framework/mlt_cache.h @@ -3,7 +3,7 @@ * \brief least recently used cache * \see mlt_cache_s * - * Copyright (C) 2007-2009 Ushodaya Enterprises Limited + * Copyright (C) 2007-2012 Ushodaya Enterprises Limited * \author Dan Dennedy * * This library is free software; you can redistribute it and/or @@ -30,9 +30,13 @@ extern void *mlt_cache_item_data( mlt_cache_item item, int *size ); extern void mlt_cache_item_close( mlt_cache_item item ); extern mlt_cache mlt_cache_init(); +extern void mlt_cache_set_size( mlt_cache cache, int size ); +extern int mlt_cache_get_size( mlt_cache cache ); extern void mlt_cache_close( mlt_cache cache ); extern void mlt_cache_purge( mlt_cache cache, void *object ); extern void mlt_cache_put( mlt_cache cache, void *object, void* data, int size, mlt_destructor destructor ); extern mlt_cache_item mlt_cache_get( mlt_cache cache, void *object ); +extern void mlt_cache_put_frame( mlt_cache cache, mlt_frame frame ); +extern mlt_frame mlt_cache_get_frame( mlt_cache cache, mlt_position position ); #endif