X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftrack.h;h=679c3a4997aeda50662464f5cbbdc5d113d721b0;hp=d0950dc1100e3f6996695ca75be304eb8616911b;hb=12d4e343f31707c899e6e4daa10c68b172433cff;hpb=834732af87bfd7f1d4035109f31e48db12b415fa diff --git a/cinelerra-5.1/cinelerra/track.h b/cinelerra-5.1/cinelerra/track.h index d0950dc1..679c3a49 100644 --- a/cinelerra-5.1/cinelerra/track.h +++ b/cinelerra-5.1/cinelerra/track.h @@ -71,6 +71,13 @@ public: void equivalent_output(Track *track, double *result); int get_mixer_id(); + void get_fauto_xyz(int fauto, float &x, float &y, float &z); + void set_fauto_xyz(int fauto, float x, float y, float z); + void get_projector(float &x, float &y, float &z); + void set_projector(float x, float y, float z); + void get_camera(float &x, float &y, float &z); + void set_camera(float x, float y, float z); + virtual void copy_from(Track *track); Track& operator=(Track& track); virtual PluginSet* new_plugins() { return 0; }; @@ -105,7 +112,7 @@ public: double edl_length); void shuffle_edits(double start, double end, int first_track); void reverse_edits(double start, double end, int first_track); - void align_edits(double start, double end, ArrayList *times); + void align_edits(double start, double end, Track *master_track); // Optimize editing void optimize(); int is_muted(int64_t position, int direction); // Test muting status @@ -139,7 +146,7 @@ public: // Called by playable tracks to test for playable server. // Descends the plugin tree without creating a virtual console. // Used by PlayableTracks::is_playable. - int is_synthesis(int64_t position, int direction); + int is_synthesis(int64_t position, int direction, int depth=0); // Used by PlayableTracks::is_playable // Returns 1 if the track is in the output boundaries. @@ -158,7 +165,7 @@ public: void shift_effects(int64_t position, int64_t length, int edit_autos, Edits *trim_edits); void change_plugins(SharedLocation &old_location, SharedLocation &new_location, int do_swap); void change_modules(int old_location, int new_location, int do_swap); - int plugin_exists(Plugin *plugin); + Plugin *plugin_exists(int plugin_id); EDL *edl; Tracks *tracks; @@ -179,6 +186,8 @@ public: char title[BCTEXTLEN]; int play; int record; +// mask enable bit flags + int masks; // Nudge in track units. Positive shifts track earlier in time. This way // the position variables only need to add the nudge. int64_t nudge; @@ -193,11 +202,9 @@ public: virtual int dump(FILE *fp); // ===================================== editing - int copy(double start, double end, + int copy(int copy_flags, double start, double end, FileXML *file, const char *output_path = ""); - int copy_assets(double start, - double end, - ArrayList *asset_list); + int copy_assets(double start, double end, ArrayList *asset_list); virtual int copy_derived(int64_t start, int64_t end, FileXML *file) { return 0; }; virtual int paste_derived(int64_t start, int64_t end, int64_t total_length, FileXML *file, int ¤t_channel) { return 0; };