#include <tracks.h>
Public Types | |
| enum | { NONE, PLAY, RECORD, GANG, DRAW, MUTE, EXPAND } |
Public Member Functions | |
| Tracks () | |
| Tracks (EDL *edl) | |
| virtual | ~Tracks () |
| Tracks & | operator= (Tracks &tracks) |
| int | load (FileXML *xml, int &track_offset, uint32_t load_flags) |
| void | move_edits (ArrayList< Edit * > *edits, Track *track, double position, int edit_labels, int edit_plugins, int behaviour) |
| void | move_effect (Plugin *plugin, PluginSet *plugin_set, Track *track, int64_t position) |
| void | get_affected_edits (ArrayList< Edit * > *drag_edits, double position, Track *start_track) |
| void | get_automation_extents (float *min, float *max, double start, double end) |
| void | equivalent_output (Tracks *tracks, double *result) |
| int | move_track_up (Track *track) |
| int | move_track_down (Track *track) |
| int | move_tracks_up () |
| int | move_tracks_down () |
| void | paste_audio_transition (PluginServer *server) |
| void | paste_video_transition (PluginServer *server, int first_track=0) |
| void | paste_transition (PluginServer *server, Edit *dest_edit) |
| int | playable_audio_tracks () |
| int | playable_video_tracks () |
| int | recordable_audio_tracks () |
| int | recordable_video_tracks () |
| int | total_audio_tracks () |
| int | total_video_tracks () |
| double | total_length () |
| double | total_video_length () |
| void | update_y_pixels (Theme *theme) |
| void | select_all (int type, int value) |
| void | translate_camera (float offset_x, float offset_y) |
| void | translate_projector (float offset_x, float offset_y) |
| int | total_of (int type) |
| Track * | add_audio_track (int above, Track *dst_track) |
| Track * | add_video_track (int above, Track *dst_track) |
| int | delete_track (Track *track) |
| int | detach_shared_effects (int module) |
| int | change_channels (int oldchannels, int newchannels) |
| int | dump () |
| void | change_modules (int old_location, int new_location, int do_swap) |
| int | concatenate_tracks (int edit_plugins) |
| void | change_plugins (SharedLocation &old_location, SharedLocation &new_location, int do_swap) |
| int | delete_tracks () |
| int | delete_all_tracks () |
| void | copy_from (Tracks *tracks) |
| int | copy (double start, double end, int all, FileXML *file, char *output_path="") |
| int | copy_assets (FileXML *xml, double start, double end, int all) |
| int | clear (double start, double end, int clear_plugins) |
| void | clear_automation (double selectionstart, double selectionend) |
| int | clear_default_keyframe () |
| int | clear_handle (double start, double end, double &longest_distance, int clear_labels, int clear_plugins) |
| int | copy_automation (double selectionstart, double selectionend, FileXML *file, int default_only, int autos_only) |
| int | copy_default_keyframe (FileXML *file) |
| void | paste_automation (double selectionstart, FileXML *xml, int default_only) |
| int | paste_default_keyframe (FileXML *file) |
| int | paste (int64_t start, int64_t end) |
| int | paste_output (int64_t startproject, int64_t endproject, int64_t startsource_sample, int64_t endsource_sample, int64_t startsource_frame, int64_t endsource_frame, Asset *asset) |
| int | paste_silence (double start, double end, int edit_plugins) |
| int | purge_asset (Asset *asset) |
| int | asset_used (Asset *asset) |
| int | popup_transition (int cursor_x, int cursor_y) |
| int | select_auto (int cursor_x, int cursor_y) |
| int | move_auto (int cursor_x, int cursor_y, int shift_down) |
| int | modify_edithandles (double &oldposition, double &newposition, int currentend, int handle_mode, int edit_labels, int edit_plugins) |
| int | modify_pluginhandles (double &oldposition, double &newposition, int currentend, int handle_mode, int edit_labels, Edits *trim_edits) |
| int | select_handles () |
| int | select_region () |
| int | select_edit (int64_t cursor_position, int cursor_x, int cursor_y, int64_t &new_start, int64_t &new_end) |
| int | feather_edits (int64_t start, int64_t end, int64_t samples, int audio, int video) |
| int64_t | get_feather (int64_t selectionstart, int64_t selectionend, int audio, int video) |
| int | scale_time (float rate_scale, int ignore_record, int scale_edits, int scale_autos, int64_t start, int64_t end) |
| double | total_playable_length () |
| int | total_playable_vtracks () |
| double | total_recordable_length () |
| int | totalpixels () |
| int | number_of (Track *track) |
| Track * | number (int number) |
Public Attributes | |
| EDL * | edl |
| int | handles |
| int | titles |
| int | show_output |
| AutoConf | auto_conf |
| int | overlays_visible |
Definition at line 19 of file tracks.h.
|
|
|
|
|
|
|
|
|
|
|
Definition at line 39 of file tracks.C. References delete_all_tracks(). |
|
||||||||||||
|
Definition at line 199 of file tracks.C. References EDLSession::achannel_positions, EDLSession::audio_channels, Track::automation, Automation::autos, change_modules(), ATrack::create_objects(), Track::data_type, Autos::default_auto, edl, PanAuto::handle_x, PanAuto::handle_y, number_of(), EDL::session, ATrack::set_default_title(), TRACK_AUDIO, and PanAuto::values. Referenced by MWindow::add_audio_track(), copy_from(), EDL::create_default_tracks(), load(), and MWindow::paste_edls(). |
|
||||||||||||
|
Definition at line 255 of file tracks.C. References change_modules(), VTrack::create_objects(), edl, number_of(), and VTrack::set_default_title(). Referenced by MWindow::add_video_track(), copy_from(), EDL::create_default_tracks(), load(), and MWindow::paste_edls(). |
|
|
Definition at line 872 of file tracksedit.C. References Track::asset_used(). |
|
||||||||||||
|
Definition at line 573 of file tracks.C. References Track::change_channels(). |
|
||||||||||||||||
|
Definition at line 490 of file tracksedit.C. References Track::change_modules(). Referenced by add_audio_track(), add_video_track(), delete_track(), move_track_down(), move_track_up(), move_tracks_down(), and move_tracks_up(). |
|
||||||||||||||||
|
Definition at line 498 of file tracksedit.C. References Track::change_plugins(). Referenced by Track::move_plugins_down(), Track::move_plugins_up(), and Track::remove_pluginset(). |
|
||||||||||||||||
|
Definition at line 27 of file tracksedit.C. References Track::clear(), and Track::record. Referenced by EDL::clear(), and TrackCanvas::drag_stop(). |
|
||||||||||||
|
Definition at line 49 of file tracksedit.C. References Track::clear_automation(), and Track::record. Referenced by MWindow::clear_automation(), MWindow::cut_automation(), and MWindow::paste_automation(). |
|
|
Definition at line 65 of file tracksedit.C. References Track::clear_automation(), and Track::record. Referenced by MWindow::clear_default_keyframe(), and MWindow::cut_default_keyframe(). |
|
||||||||||||||||||||||||
|
Definition at line 75 of file tracksedit.C. References Track::clear_handle(), and Track::record. Referenced by EDL::clear(). |
|
|
Definition at line 407 of file tracksedit.C. References Track::data_type, Track::get_length(), Track::insert_track(), Track::play, Track::record, TRACK_AUDIO, and TRACK_VIDEO. Referenced by MWindow::concatenate_tracks(). |
|
||||||||||||||||||||||||
|
Definition at line 511 of file tracksedit.C. References Track::copy(), and Track::record. Referenced by EDL::copy(). |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
Definition at line 100 of file tracksedit.C. References FileXML::append_newline(), FileXML::append_tag(), Track::copy_automation(), edl, EDLSession::frame_rate, Track::record, EDLSession::sample_rate, EDL::session, XMLTag::set_property(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string(). Referenced by MWindow::copy_automation(), and copy_default_keyframe(). |
|
|
Definition at line 138 of file tracksedit.C. References copy_automation(). Referenced by MWindow::copy_default_keyframe(). |
|
|
Definition at line 138 of file tracks.C. References add_audio_track(), add_video_track(), Track::copy_from(), Track::data_type, delete_all_tracks(), TRACK_AUDIO, and TRACK_VIDEO. Referenced by EDL::copy_all(), and operator=(). |
|
|
Definition at line 483 of file tracksedit.C. Referenced by copy_from(), and ~Tracks(). |
|
|
Definition at line 289 of file tracks.C. References change_modules(), detach_shared_effects(), and number_of(). Referenced by MWindow::delete_track(), and delete_tracks(). |
|
|
Definition at line 144 of file tracksedit.C. References delete_track(). Referenced by MWindow::delete_tracks(). |
|
|
Definition at line 309 of file tracks.C. References Track::detach_shared_effects(). Referenced by delete_track(). |
|
|
Definition at line 487 of file tracks.C. References Track::dump(). Referenced by EDL::dump(). |
|
||||||||||||
|
Definition at line 49 of file tracks.C. References Track::data_type, Track::equivalent_output(), total_playable_vtracks(), and TRACK_VIDEO. Referenced by EDL::equivalent_output(). |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 90 of file tracks.C. References Track::edits, edl, EDL::equivalent(), Track::from_units(), Track::record, and Edit::startproject. Referenced by TrackCanvas::do_edits(). |
|
||||||||||||||||||||
|
Definition at line 116 of file tracks.C. References Track::automation, Automation::get_extents(), Track::record, and Track::to_units(). Referenced by MWindow::fit_autos(). |
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 165 of file tracks.C. References add_audio_track(), add_video_track(), XMLTag::get_property(), Track::load(), and FileXML::tag. Referenced by EDL::load_xml(). |
|
||||||||||||||||||||||||||||
|
Definition at line 810 of file tracksedit.C. References Track::modify_edithandles(), and Track::record. Referenced by EDL::modify_edithandles(). |
|
||||||||||||||||||||||||||||
|
Definition at line 834 of file tracksedit.C. References Track::modify_pluginhandles(), and Track::record. Referenced by EDL::modify_pluginhandles(). |
|
||||||||||||||||
|
Definition at line 799 of file tracksedit.C. References auto_conf, and Track::move_auto(). |
|
||||||||||||||||||||||||||||
|
Definition at line 167 of file tracksedit.C. References Track::automation, Edits::clear(), Automation::clear(), Automation::copy(), Edit::copy_from(), Track::data_type, Track::edits, edl, Edit::length, Track::optimize(), Automation::paste(), Edits::paste_silence(), Automation::paste_silence(), FileXML::read_tag(), Track::record, FileXML::rewind(), AutoConf::set_all(), Edits::shift(), Edit::startproject, FileXML::terminate_string(), Track::to_units(), Edit::track, TRACK_AUDIO, and TRACK_VIDEO. Referenced by MWindow::move_edits(). |
|
||||||||||||||||||||
|
Definition at line 333 of file tracksedit.C. References PluginSet::clear(), Plugin::copy_from(), edl, Track::from_units(), Track::get_length(), LocalSession::get_selectionend(), LocalSession::get_selectionstart(), Track::insert_effect(), Edit::length, EDL::local_session, Track::optimize(), Plugin::plugin_set, Plugin::plugin_type, Plugin::shared_location, Plugin::shift(), Edits::shift(), Edit::startproject, Edits::track, and Edit::track. Referenced by MWindow::move_effect(). |
|
|
Definition at line 560 of file tracksedit.C. References change_modules(), and number_of(). Referenced by MWindow::move_track_down(). |
|
|
Definition at line 537 of file tracksedit.C. References change_modules(), and number_of(). Referenced by MWindow::move_track_up(). |
|
|
Definition at line 597 of file tracksedit.C. References change_modules(), number_of(), and Track::record. Referenced by MWindow::move_tracks_down(). |
|
|
Definition at line 571 of file tracksedit.C. References change_modules(), number_of(), and Track::record. Referenced by MWindow::move_tracks_up(). |
|
|
Definition at line 602 of file tracks.C. Referenced by PluginDialog::create_objects(), and Plugin::is_synthesis(). |
|
|
|
Definition at line 158 of file tracks.C. References copy_from(). |
|
||||||||||||
|
|
|
|
Definition at line 625 of file tracksedit.C. References Track::data_type, Edits::editof(), Track::edits, edl, LocalSession::get_selectionstart(), EDL::local_session, paste_transition(), Track::record, Track::to_units(), and TRACK_AUDIO. Referenced by MWindow::paste_audio_transition(). |
|
||||||||||||||||
|
Definition at line 645 of file tracksedit.C. References Track::data_type, edl, EDLSession::frame_rate, XMLTag::get_property(), Track::paste_automation(), FileXML::read_tag(), Track::record, EDLSession::sample_rate, EDL::session, FileXML::tag, XMLTag::title_is(), TRACK_AUDIO, and TRACK_VIDEO. Referenced by MWindow::paste_automation(), and paste_default_keyframe(). |
|
|
Definition at line 741 of file tracksedit.C. References paste_automation(). Referenced by MWindow::paste_default_keyframe(). |
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 774 of file tracksedit.C. References Track::paste_silence(), and Track::record. Referenced by EDL::paste_silence(). |
|
||||||||||||
|
Definition at line 747 of file tracksedit.C. References Edit::insert_transition(), and PluginServer::title. Referenced by paste_audio_transition(), MWindow::paste_transition(), and paste_video_transition(). |
|
||||||||||||
|
Definition at line 752 of file tracksedit.C. References Track::data_type, Edits::editof(), Track::edits, edl, LocalSession::get_selectionstart(), EDL::local_session, paste_transition(), Track::record, Track::to_units(), and TRACK_VIDEO. Referenced by MWindow::paste_transition_cwindow(), and MWindow::paste_video_transition(). |
|
|
Definition at line 363 of file tracks.C. References Track::data_type, Track::play, and TRACK_AUDIO. Referenced by Render::check_asset(), RenderEngine::get_duty(), and Record::open_input_devices(). |
|
|
Definition at line 378 of file tracks.C. References Track::data_type, Track::play, and TRACK_VIDEO. Referenced by Render::check_asset(), and RenderEngine::get_duty(). |
|
||||||||||||
|
Definition at line 562 of file tracks.C. References Track::popup_transition(). |
|
|
Definition at line 860 of file tracksedit.C. References Track::purge_asset(). |
|
|
Definition at line 344 of file tracks.C. References Track::data_type, Track::record, and TRACK_AUDIO. Referenced by MenuAEffectThread::get_recordable_tracks(). |
|
|
Definition at line 352 of file tracks.C. References Track::data_type, Track::record, and TRACK_VIDEO. Referenced by MenuVEffectThread::get_recordable_tracks(). |
|
||||||||||||||||||||||||||||
|
Definition at line 884 of file tracksedit.C. References Track::data_type, Track::record, Track::scale_time(), and TRACK_VIDEO. |
|
||||||||||||
|
Definition at line 498 of file tracks.C. References Track::automation, Automation::autos, Track::draw, DRAW, edl, EXPAND, Track::expand_view, Track::gang, GANG, Autos::get_auto_for_editing(), LocalSession::get_selectionstart(), EDL::local_session, MUTE, Track::play, PLAY, Track::record, and RECORD. Referenced by MWindowGUI::keypress_event(), and PatchGUI::toggle_behavior(). |
|
||||||||||||
|
Definition at line 792 of file tracksedit.C. References auto_conf, and Track::select_auto(). |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|