Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-08-08 16:16:46 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-08-08 16:16:46 +0400
commit69095a65d91d2f6f89c28455232e0d31c33093e4 (patch)
tree55b00fbc65b97fc23ac0f448502f578acd5e20b2 /source/blender/imbuf/IMB_moviecache.h
parent6292fed832241f109b54c47815ce921079bca869 (diff)
Movie cache: add function to iterate through cache and remove items
using custom check function for this. Currently unused, but would be helpful for sequencer cache.
Diffstat (limited to 'source/blender/imbuf/IMB_moviecache.h')
-rw-r--r--source/blender/imbuf/IMB_moviecache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_moviecache.h b/source/blender/imbuf/IMB_moviecache.h
index 5e52563a89e..00d3368ae5f 100644
--- a/source/blender/imbuf/IMB_moviecache.h
+++ b/source/blender/imbuf/IMB_moviecache.h
@@ -60,6 +60,9 @@ void IMB_moviecache_set_priority_callback(struct MovieCache *cache, MovieCacheGe
void IMB_moviecache_put(struct MovieCache *cache, void *userkey, struct ImBuf *ibuf);
struct ImBuf* IMB_moviecache_get(struct MovieCache *cache, void *userkey);
void IMB_moviecache_free(struct MovieCache *cache);
+
+void IMB_moviecache_cleanup(struct MovieCache *cache, int (cleanup_check_cb) (void *userkey, void *userdata), void *userdata);
+
void IMB_moviecache_get_cache_segments(struct MovieCache *cache, int proxy, int render_flags, int *totseg_r, int **points_r);
#endif