X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedl.h;h=b1c4fd3f405257dd30480a43ec0877331896fe87;hb=56923cfe421f547a8ba1c6a4a6e9225877b121c6;hp=f355b57ab21b29fdd24acb1b3bbe4fa53738954b;hpb=6050493632cb3681227b7ec8c12decd449dcf66f;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edl.h b/cinelerra-5.1/cinelerra/edl.h index f355b57a..b1c4fd3f 100644 --- a/cinelerra-5.1/cinelerra/edl.h +++ b/cinelerra-5.1/cinelerra/edl.h @@ -93,7 +93,7 @@ public: int direction, PlayableTracks *playable_tracks); -// Convert position to frame boundry times +// Convert position to frame boundary times double frame_align(double position, int round); // frame align if cursor alignment is enabled double align_to_frame(double position, int round); @@ -167,6 +167,7 @@ public: // return next/prev edit starting from position double next_edit(double position); double prev_edit(double position); + double skip_silence(double position); // Debug int dump(FILE *fp=stdout); static int next_id(); @@ -210,7 +211,7 @@ public: int clear_labels, int clear_plugins, int edit_autos); - void deglitch(double position); + int clear_hard_edges(double start, double end); // Insert the asset at a point in the EDL void insert_asset(Asset *asset, EDL *nested_edl, @@ -221,6 +222,14 @@ public: int insert_clips(ArrayList *new_edls, int load_mode, Track *first_track = 0); // Add a copy of EDL* to the clip array. Returns the copy. EDL* add_clip(EDL *edl); + EDL *selected_edits_to_clip(int packed, + double *start_position, Track **start_track, + int edit_labels, int edit_autos, int edit_plugins); + EDL *selected_edits_to_clip(int packed, double *start_position, Track **start_track); + void selected_edits_to_clipboard(int packed); + void paste_edits(EDL *clip, Track *first_track, double position, int overwrite, + int edit_edits, int edit_labels, int edit_autos, int edit_plugins); + void paste_edits(EDL *clip, Track *first_track, double position, int overwrite); // resequence group ids starting at next_id int regroup(int next_id);