X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fedits.h;h=f851e605c98ceda8c7def1470fd8f9768e32da41;hb=0aa1cf868b3686002891a830f5f8e407344b1d9e;hp=c0f2cdf0bbfd753c4167f7d9c2a6b70cd84eefe4;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edits.h b/cinelerra-5.1/cinelerra/edits.h index c0f2cdf0..f851e605 100644 --- a/cinelerra-5.1/cinelerra/edits.h +++ b/cinelerra-5.1/cinelerra/edits.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008-2013 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -84,6 +85,8 @@ public: void paste_silence(int64_t start, int64_t end); // Returns the newly created edit Edit *create_silence(int64_t start, int64_t end); + double early_timecode(); + void align_timecodes(double offset); void resample(double old_rate, double new_rate); // Shift edits on or after position by distance @@ -107,6 +110,7 @@ public: // ==================================== accounting Edit* editof(int64_t position, int direction, int use_nudge); + Edit* get_edit(int id); // Return an edit if position is over an edit and the edit has a source file Edit* get_playable_edit(int64_t position, int use_nudge); // int64_t total_length(); @@ -116,15 +120,11 @@ public: // ==================================== editing - int modify_handles(double oldposition, - double newposition, - int currentend, - int edit_mode, - int edit_edits, - int edit_labels, - int edit_plugins, - int edit_autos, - Edits *trim_edits); + int modify_handles(double oldposition, double newposition, + int currentend, int edit_mode, int edit_edits, int edit_labels, + int edit_plugins, int edit_autos, Edits *trim_edits, int group_id); + void update_idxbl_length(int id, int64_t du); + virtual int optimize(); virtual int clone_derived(Edit* new_edit, Edit* old_edit) { return 0; }