Blender
V2.93
source
blender
sequencer
intern
strip_time.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
Scene
;
32
struct
Sequence
;
33
34
float
seq_give_frame_index
(
struct
Sequence
*seq,
float
timeline_frame);
35
void
seq_update_sound_bounds_recursive
(
struct
Scene
*
scene
,
struct
Sequence
*metaseq);
36
37
/* Describes gap between strips in timeline. */
38
typedef
struct
GapInfo
{
39
int
gap_start_frame
;
/* Start frame of the gap. */
40
int
gap_length
;
/* Length of the gap. */
41
bool
gap_exists
;
/* False if there are no gaps. */
42
}
GapInfo
;
43
void
seq_time_gap_info_get
(
const
struct
Scene
*
scene
,
44
struct
ListBase
*seqbase,
45
const
int
initial_frame,
46
struct
GapInfo
*r_gap_info);
47
48
#ifdef __cplusplus
49
}
50
#endif
scene
Scene scene
Definition:
deg_eval_copy_on_write.cc:120
GapInfo
struct GapInfo GapInfo
seq_update_sound_bounds_recursive
void seq_update_sound_bounds_recursive(struct Scene *scene, struct Sequence *metaseq)
Definition:
strip_time.c:144
seq_give_frame_index
float seq_give_frame_index(struct Sequence *seq, float timeline_frame)
Definition:
strip_time.c:48
seq_time_gap_info_get
void seq_time_gap_info_get(const struct Scene *scene, struct ListBase *seqbase, const int initial_frame, struct GapInfo *r_gap_info)
GapInfo
Definition:
strip_time.h:38
GapInfo::gap_length
int gap_length
Definition:
strip_time.h:40
GapInfo::gap_start_frame
int gap_start_frame
Definition:
strip_time.h:39
GapInfo::gap_exists
bool gap_exists
Definition:
strip_time.h:41
ListBase
Definition:
DNA_listBase.h:46
Scene
Definition:
DNA_scene_types.h:1684
Sequence
Definition:
DNA_sequence_types.h:140
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1