5 #include "autoconf.inc"
6 #include "automation.inc"
10 #include "maxchannels.h"
19 static int autogrouptypes_fixedrange
[];
20 Automation(EDL
*edl
, Track
*track
);
21 virtual ~Automation();
23 int autogrouptype(int autoidx
, Track
*track
);
24 virtual int create_objects();
25 void equivalent_output(Automation
*automation
, int64_t *result
);
26 virtual Automation
& operator=(Automation
& automation
);
27 virtual void copy_from(Automation
*automation
);
28 int load(FileXML
*file
);
29 // For copy automation, copy, and save
30 int copy(int64_t start
,
36 virtual int direct_copy_possible(int64_t start
, int direction
);
37 virtual int direct_copy_possible_derived(int64_t start
, int direction
) { return 1; };
38 // For paste automation only
39 int paste(int64_t start
,
46 // Get projector coordinates if this is video automation
47 virtual void get_projector(float *x
,
52 // Get camera coordinates if this is video automation
53 virtual void get_camera(float *x
,
59 // Returns the point to restart background rendering at.
60 // -1 means nothing changed.
61 void clear(int64_t start
,
65 void straighten(int64_t start
,
68 void paste_silence(int64_t start
, int64_t end
);
69 void insert_track(Automation
*automation
,
73 void resample(double old_rate
, double new_rate
);
75 virtual void get_extents(float *min
,
77 int *coords_undefined
,
86 Autos
*autos
[AUTOMATION_TOTAL
];