4 #include "defaults.inc"
12 // Session shared between all clips
21 int load_xml(FileXML
*xml
, int append_mode
, uint32_t load_flags
);
22 int save_xml(FileXML
*xml
);
23 int copy(EDLSession
*session
);
24 int load_audio_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
25 int save_audio_config(FileXML
*xml
);
26 int load_video_config(FileXML
*file
, int append_mode
, uint32_t load_flags
);
27 int save_video_config(FileXML
*xml
);
28 int load_defaults(Defaults
*defaults
);
29 int save_defaults(Defaults
*defaults
);
30 // Used by CWindowGUI during initialization.
31 char* get_cwindow_display();
34 // PlaybackConfig* get_playback_config(int strategy, int head);
35 // ArrayList<PlaybackConfig*>* get_playback_config(int strategy);
36 // int get_playback_heads(int strategy);
38 void equivalent_output(EDLSession
*session
, double *result
);
41 // calculates the frame offset for programme timecode
42 int64_t get_frame_offset();
45 int achannel_positions
[MAXCHANNELS
];
46 AudioOutConfig
*aconfig_duplex
;
47 AudioInConfig
*aconfig_in
;
50 // AWindow column widths
51 int asset_columns
[ASSET_COLUMNS
];
53 float actual_frame_rate
;
54 // Aspect ratio for video
59 // automation follows edits during editing
60 int autos_follow_edits
;
61 // Generate keyframes for every tweek
63 // Where to start background rendering
65 // Length of clipboard if pasting
66 double clipboard_length
;
67 // Colormodel for intermediate frames
69 // Interlace Mode for entire project
71 // Coords for cropping operation
72 int crop_x1
, crop_x2
, crop_y1
, crop_y2
;
73 // Current folder in resource window
74 char current_folder
[BCTEXTLEN
];
75 // align cursor on frame boundaries
77 // Destination item for CWindow
79 // Current submask being edited in CWindow
81 // Use the cwindow or not
83 // CWindow tool currently selected
84 int cwindow_operation
;
85 // Use scrollbars in the CWindow
86 int cwindow_scrollbars
;
87 // Scrollbar positions
92 char default_atransition
[BCTEXTLEN
];
93 char default_vtransition
[BCTEXTLEN
];
95 double default_transition_length
;
96 // Edit mode to use for each mouse button
97 int edit_handle_mode
[3];
103 int folderlist_format
;
105 float frames_per_foot
;
106 // Number of highlighted track
107 int highlighted_track
;
109 int interpolation_type
;
110 // labels follow edits during editing
111 int labels_follow_edits
;
113 int plugins_follow_edits
;
119 int64_t playback_buffer
;
120 int playback_cursor_visible
;
121 int64_t playback_preload
;
122 int playback_software_position
;
123 // int playback_strategy;
124 // Play audio in realtime priority
125 int real_time_playback
;
126 int real_time_record
;
127 // Use software to calculate record position
128 int record_software_position
;
129 // Sync the drives during recording
130 int record_sync_drives
;
133 // Samples to write to disk at a time
134 int64_t record_write_length
;
135 // Show title and action safe regions in CWindow
139 // Load files as a duration
142 // Show assets in track canvas
144 // Show titles in resources
146 // Test for data before rendering a track
147 int test_playback_edits
;
148 // Format to display times in
150 // Offset for timecode
151 int timecode_offset
[4];
152 // Format to display nudge in, either seconds or track units.
154 // Show tool window in CWindow
156 // Location of video outs
157 int vchannel_x
[MAXCHANNELS
];
158 int vchannel_y
[MAXCHANNELS
];
161 VideoInConfig
*vconfig_in
;
163 int video_every_frame
;
165 // number of frames to write to disk at a time during video recording.
166 int video_write_length
;
167 int view_follows_playback
;
168 // Source item for VWindow
169 // Uniquely identify vwindow clip without pointers
170 char vwindow_folder
[BCTEXTLEN
];
172 // Use the vwindow meter or not
176 static int current_id
;
177 PlaybackConfig
* playback_config
;
180 // Global playback. This is loaded from defaults but not from XML probably
181 // because it was discovered to be the most convenient.
182 // It is part of the EDL probably because the playback setting was
183 // going to be bound to the EDL.
184 // ArrayList<PlaybackConfig*> playback_config[PLAYBACK_STRATEGIES];