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 00029 00030 00031 00032 00033 00034 00035 int load_properties_derived(FileXML *xml); 00036 00037 // ========================================= editing 00038 00039 int copy_properties_derived(FileXML *xml, int64_t length_in_selection); 00040 00041 00042 int dump_derived(); 00043 int64_t get_source_end(int64_t default_); 00044 00045 private: 00046 VEdits *vedits; 00047 }; 00048 00049 00050 00051 00052 #endif
1.4.4