00001 #ifndef VEDIT_H 00002 #define VEDIT_H 00003 00004 #include "guicast.h" 00005 #include "cache.inc" 00006 #include "edit.h" 00007 #include "vedits.inc" 00008 #include "vframe.inc" 00009 00010 // UNITS ARE FRAMES 00011 00012 class VEdit : public Edit 00013 { 00014 public: 00015 VEdit(EDL *edl, Edits *edits); 00016 ~VEdit(); 00017 00018 00019 00020 00021 00022 int read_frame(VFrame *video_out, 00023 int64_t input_position, 00024 int direction, 00025 CICache *cache, 00026 int use_nudge, 00027 int use_cache, 00028 int use_asynchronous); 00029 00030 00031 00032 00033 00034 00035 00036 int load_properties_derived(FileXML *xml); 00037 00038 // ========================================= editing 00039 00040 int copy_properties_derived(FileXML *xml, int64_t length_in_selection); 00041 00042 00043 int dump_derived(); 00044 int64_t get_source_end(int64_t default_); 00045 00046 private: 00047 VEdits *vedits; 00048 }; 00049 00050 00051 00052 00053 #endif
1.5.5