X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffile.h;h=d09ca7eff08c410f0a43c32d3e948d90d422413e;hp=e0cf4fa37f94cbc91fa57097ded6967ba413f23a;hb=2441cb0cb7f655fad2f76c982f2ac93897d09dbe;hpb=b75d1938e1d08c7f3ac49b19bb69bbeec5053aab diff --git a/cinelerra-5.1/cinelerra/file.h b/cinelerra-5.1/cinelerra/file.h index e0cf4fa3..d09ca7ef 100644 --- a/cinelerra-5.1/cinelerra/file.h +++ b/cinelerra-5.1/cinelerra/file.h @@ -236,10 +236,9 @@ public: // Get nearest colormodel that can be decoded without a temporary frame. // Used by read_frame. int colormodel_supported(int colormodel); -// create frame_cache vframe for position, use template vframe -// clear cache if first frame is a read miss - VFrame *new_cache_frame(VFrame *vframe, int64_t position, int first_frame); - void put_cache_frame(); + + int get_cache_frame(VFrame *vframe, int64_t position); + void put_cache_frame(VFrame *frame, int64_t position, int use_copy); int get_use_cache(); // stubs for now