r870: Merge 2.1:
[cinelerra_cv.git] / cinelerra / vedit.h
blob621d320f157d0289cdd4af7ad3442bf5e8a76124
1 #ifndef VEDIT_H
2 #define VEDIT_H
4 #include "guicast.h"
5 #include "cache.inc"
6 #include "edit.h"
7 #include "vedits.inc"
8 #include "vframe.inc"
10 // UNITS ARE FRAMES
12 class VEdit : public Edit
14 public:
15 VEdit(EDL *edl, Edits *edits);
16 ~VEdit();
22 int read_frame(VFrame *video_out,
23 int64_t input_position,
24 int direction,
25 CICache *cache,
26 int use_nudge,
27 int use_cache,
28 int use_asynchronous);
36 int load_properties_derived(FileXML *xml);
38 // ========================================= editing
40 int copy_properties_derived(FileXML *xml, int64_t length_in_selection);
43 int dump_derived();
44 int64_t get_source_end(int64_t default_);
46 private:
47 VEdits *vedits;
53 #endif