Blender  V2.93
SEQ_edit.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2004 Blender Foundation.
17  * All rights reserved.
18  */
19 
20 #pragma once
21 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 struct ListBase;
31 struct Main;
32 struct Scene;
33 struct Sequence;
34 
35 int SEQ_edit_sequence_swap(struct Sequence *seq_a, struct Sequence *seq_b, const char **error_str);
37  struct Sequence *src_seq,
38  struct Sequence *dst_seqm,
39  const char **error_str);
41  struct ListBase *seqbase,
42  struct Sequence *seq);
44 void SEQ_edit_update_muting(struct Editing *ed);
45 
46 typedef enum eSeqSplitMethod {
50 
51 struct Sequence *SEQ_edit_strip_split(struct Main *bmain,
52  struct Scene *scene,
53  struct ListBase *seqbase,
54  struct Sequence *seq,
55  const int timeline_frame,
56  const eSeqSplitMethod method);
57 bool SEQ_edit_remove_gaps(struct Scene *scene,
58  struct ListBase *seqbase,
59  const int initial_frame,
60  const bool remove_all_gaps);
61 #ifdef __cplusplus
62 }
63 #endif
void SEQ_edit_remove_flagged_sequences(struct Scene *scene, struct ListBase *seqbase)
Definition: strip_edit.c:194
struct Sequence * SEQ_edit_strip_split(struct Main *bmain, struct Scene *scene, struct ListBase *seqbase, struct Sequence *seq, const int timeline_frame, const eSeqSplitMethod method)
Definition: strip_edit.c:357
bool SEQ_edit_move_strip_to_meta(struct Scene *scene, struct Sequence *src_seq, struct Sequence *dst_seqm, const char **error_str)
Definition: strip_edit.c:220
void SEQ_edit_flag_for_removal(struct Scene *scene, struct ListBase *seqbase, struct Sequence *seq)
Definition: strip_edit.c:176
bool SEQ_edit_remove_gaps(struct Scene *scene, struct ListBase *seqbase, const int initial_frame, const bool remove_all_gaps)
Definition: strip_edit.c:406
void SEQ_edit_update_muting(struct Editing *ed)
Definition: strip_edit.c:134
eSeqSplitMethod
Definition: SEQ_edit.h:46
@ SEQ_SPLIT_SOFT
Definition: SEQ_edit.h:47
@ SEQ_SPLIT_HARD
Definition: SEQ_edit.h:48
int SEQ_edit_sequence_swap(struct Sequence *seq_a, struct Sequence *seq_b, const char **error_str)
Definition: strip_edit.c:52
Scene scene
Definition: BKE_main.h:116
ListBase seqbase