X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffile.h;h=e0cf4fa37f94cbc91fa57097ded6967ba413f23a;hb=45a8ba3455cf252332c03533a7590df5267ce9aa;hp=6b660b5edf92597834f9d4da0eb278cf29a99dcf;hpb=7efb497e185234700abe3abeaa430471c4e34f58;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/file.h b/cinelerra-5.1/cinelerra/file.h index 6b660b5e..e0cf4fa3 100644 --- a/cinelerra-5.1/cinelerra/file.h +++ b/cinelerra-5.1/cinelerra/file.h @@ -236,6 +236,11 @@ 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_use_cache(); // stubs for now static const char *compressiontostr(const char *codec) { return codec; }