#include <framecache.h>
Public Member Functions | |
| FrameCache () | |
| ~FrameCache () | |
| int | get_frame (VFrame *frame, int64_t position, double frame_rate) |
| VFrame * | get_frame_ptr (int64_t position, double frame_rate, int color_model, int w, int h) |
| void | unlock () |
| void | put_frame (VFrame *frame, int64_t position, double frame_rate, int use_copy) |
| int | delete_oldest () |
| int64_t | get_memory_usage () |
| void | dump () |
Private Member Functions | |
| int | frame_exists (VFrame *format, int64_t position, double frame_rate, int *item_return) |
| int | frame_exists (int64_t position, double frame_rate, int color_model, int w, int h, int *item_return) |
Private Attributes | |
| Mutex * | lock |
| int | current_age |
| ArrayList< FrameCacheItem * > | items |
| int64_t | max_bytes |
Definition at line 30 of file framecache.h.
|
|
Definition at line 37 of file framecache.C. References current_age, lock, and max_bytes. |
|
|
Definition at line 44 of file framecache.C. |
|
|
Definition at line 213 of file framecache.C. Referenced by File::purge_cache(). |
|
|
Definition at line 238 of file framecache.C. References FrameCacheItem::age, FrameCacheItem::data, FrameCacheItem::frame_rate, items, lock, and FrameCacheItem::position. |
|
||||||||||||||||||||||||||||
|
Definition at line 176 of file framecache.C. References FrameCacheItem::data, FrameCacheItem::frame_rate, items, and FrameCacheItem::position. |
|
||||||||||||||||||||
|
Definition at line 157 of file framecache.C. References FrameCacheItem::data, FrameCacheItem::frame_rate, items, and FrameCacheItem::position. Referenced by get_frame(), get_frame_ptr(), and put_frame(). |
|
||||||||||||||||
|
Definition at line 52 of file framecache.C. References FrameCacheItem::age, current_age, FrameCacheItem::data, frame_exists(), items, and lock. Referenced by File::read_frame(). |
|
||||||||||||||||||||||||
|
Definition at line 76 of file framecache.C. References FrameCacheItem::age, current_age, FrameCacheItem::data, frame_exists(), items, and lock. Referenced by ResourcePixmap::draw_video_resource(). |
|
|
Definition at line 200 of file framecache.C. References FrameCacheItem::data, items, and lock. Referenced by File::get_memory_usage(). |
|
||||||||||||||||||||
|
Definition at line 114 of file framecache.C. References FrameCacheItem::age, current_age, FrameCacheItem::data, frame_exists(), FrameCacheItem::frame_rate, items, lock, and FrameCacheItem::position. Referenced by ResourcePixmap::draw_video_resource(), and File::read_frame(). |
|
|
Definition at line 107 of file framecache.C. References lock. Referenced by ResourcePixmap::draw_video_resource(). |
|
|
Definition at line 84 of file framecache.h. Referenced by FrameCache(), get_frame(), get_frame_ptr(), and put_frame(). |
|
|
Definition at line 85 of file framecache.h. Referenced by delete_oldest(), dump(), frame_exists(), get_frame(), get_frame_ptr(), get_memory_usage(), put_frame(), and ~FrameCache(). |
|
|
Definition at line 82 of file framecache.h. Referenced by delete_oldest(), dump(), FrameCache(), get_frame(), get_frame_ptr(), get_memory_usage(), put_frame(), unlock(), and ~FrameCache(). |
|
|
Definition at line 87 of file framecache.h. Referenced by FrameCache(). |
1.4.4