#include <mwindow.h>
Public Member Functions | |
| MWindow () | |
| ~MWindow () | |
| void | create_objects (int want_gui, int want_new, char *config_path) |
| void | show_splash () |
| void | hide_splash () |
| void | start () |
| int | run_script (FileXML *script) |
| int | new_project () |
| int | delete_project (int flash=1) |
| int | load_defaults () |
| int | save_defaults () |
| int | set_filename (char *filename) |
| int | get_tracks_height () |
| int | get_tracks_width () |
| void | show_vwindow () |
| void | show_awindow () |
| void | show_lwindow () |
| void | show_cwindow () |
| void | show_gwindow () |
| void | tile_windows () |
| void | set_titles (int value) |
| int | asset_to_edl (EDL *new_edl, Asset *new_asset, RecordLabels *labels=0) |
| int | paste_assets (double position, Track *dest_track) |
| void | load_assets (ArrayList< Asset * > *new_assets, double position, int load_mode, Track *first_track, RecordLabels *labels, int edit_labels, int edit_plugins) |
| int | paste_edls (ArrayList< EDL * > *new_edls, int load_mode, Track *first_track, double current_position, int edit_labels, int edit_plugins) |
| void | update_project (int load_mode) |
| void | fit_selection () |
| void | fit_autos () |
| void | expand_autos () |
| void | shrink_autos () |
| void | find_cursor () |
| void | create_plugindb (int do_audio, int do_video, int is_realtime, int is_transition, int is_theme, ArrayList< PluginServer * > &plugindb) |
| PluginServer * | scan_plugindb (char *title, int data_type) |
| void | dump_plugins () |
| int | load_filenames (ArrayList< char * > *filenames, int load_mode=LOAD_REPLACE, int update_filename=1, char *reel_name="cin0000", int reel_number=0, int overwrite_reel=0) |
| void | test_plugins (EDL *new_edl, char *path) |
| int | interrupt_indexes () |
| int | redraw_time_dependancies () |
| void | next_time_format () |
| void | prev_time_format () |
| void | time_format_common () |
| int | reposition_timebar (int new_pixel, int new_height) |
| int | expand_sample (double fixed_sample=-1) |
| int | zoom_in_sample (double fixed_sample=-1) |
| int | zoom_sample (int64_t zoom_sample, int64_t view_start=-1) |
| void | zoom_amp (int64_t zoom_amp) |
| void | zoom_track (int64_t zoom_track) |
| int | fit_sample () |
| int | move_left (int64_t distance=0) |
| int | move_right (int64_t distance=0) |
| void | move_up (int64_t distance=0) |
| void | move_down (int64_t distance=0) |
| int | next_label () |
| int | prev_label () |
| void | trackmovement (int track_start) |
| int | samplemovement (int64_t view_start) |
| void | select_all () |
| int | goto_start () |
| int | goto_end () |
| int | expand_y () |
| int | zoom_in_y () |
| int | expand_t () |
| int | zoom_in_t () |
| void | crop_video () |
| void | update_plugins () |
| void | save_backup () |
| void | show_plugin (Plugin *plugin) |
| void | hide_plugin (Plugin *plugin, int lock) |
| void | hide_plugins () |
| void | update_plugin_guis () |
| void | update_plugin_states () |
| void | update_plugin_titles () |
| void | render_plugin_gui (void *data, Plugin *plugin) |
| void | render_plugin_gui (void *data, int size, Plugin *plugin) |
| void | add_audio_track_entry (int above, Track *dst) |
| int | add_audio_track (int above, Track *dst) |
| void | add_clip_to_edl (EDL *edl) |
| void | add_video_track_entry (Track *dst=0) |
| int | add_video_track (int above, Track *dst) |
| void | asset_to_size () |
| void | clear_entry () |
| void | clear (int clear_handle) |
| void | clear_labels () |
| int | clear_labels (double start, double end) |
| void | concatenate_tracks () |
| void | copy () |
| int | copy (double start, double end) |
| void | cut () |
| void | delete_folder (char *folder) |
| void | delete_inpoint () |
| void | delete_outpoint () |
| void | delete_track () |
| void | delete_track (Track *track) |
| void | delete_tracks () |
| void | detach_transition (Transition *transition) |
| int | feather_edits (int64_t feather_samples, int audio, int video) |
| int64_t | get_feather (int audio, int video) |
| float | get_aspect_ratio () |
| void | insert (double position, FileXML *file, int edit_labels, int edit_plugins, EDL *parent_edl=0) |
| void | insert_effects_canvas (double start, double length) |
| void | insert_effects_cwindow (Track *dest_track) |
| void | insert_effect (char *title, SharedLocation *shared_location, Track *track, PluginSet *plugin_set, double start, double length, int plugin_type) |
| void | match_output_size (Track *track) |
| void | move_edits (ArrayList< Edit * > *edits, Track *track, double position, int behaviour) |
| void | move_effect (Plugin *plugin, PluginSet *plugin_set, Track *track, int64_t position) |
| void | move_plugins_up (PluginSet *plugin_set) |
| void | move_plugins_down (PluginSet *plugin_set) |
| void | move_track_down (Track *track) |
| void | move_tracks_down () |
| void | move_track_up (Track *track) |
| void | move_tracks_up () |
| void | mute_selection () |
| void | new_folder (char *new_folder) |
| void | overwrite (EDL *source) |
| void | paste () |
| int | paste (double start, double end, FileXML *file, int edit_labels, int edit_plugins) |
| 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, RecordLabels *new_labels) |
| void | paste_silence () |
| void | paste_transition () |
| void | paste_transition_cwindow (Track *dest_track) |
| void | paste_audio_transition () |
| void | paste_video_transition () |
| void | rebuild_indices () |
| void | remove_assets_from_project (int push_undo=0) |
| void | remove_assets_from_disk () |
| void | resize_track (Track *track, int w, int h) |
| void | set_auto_keyframes (int value) |
| int | set_editing_mode (int new_editing_mode) |
| void | set_inpoint (int is_mwindow) |
| void | set_outpoint (int is_mwindow) |
| void | splice (EDL *source) |
| void | toggle_loop_playback () |
| void | trim_selection () |
| void | sync_parameters (int change_type=CHANGE_PARAMS) |
| void | to_clip () |
| int | toggle_label (int is_mwindow) |
| void | undo_entry (BC_WindowBase *calling_window_gui) |
| void | redo_entry (BC_WindowBase *calling_window_gui) |
| int | cut_automation () |
| int | copy_automation () |
| int | paste_automation () |
| void | clear_automation () |
| int | cut_default_keyframe () |
| int | copy_default_keyframe () |
| int | paste_default_keyframe () |
| int | clear_default_keyframe () |
| int | modify_edithandles () |
| int | modify_pluginhandles () |
| void | finish_modify_handles () |
| void | update_caches () |
| int | optimize_assets () |
| void | select_point (double position) |
| int | set_loop_boundaries () |
| int | reset_meters () |
| int | fix_timing (int64_t &samples_out, int64_t &frames_out, int64_t samples_in) |
| void | init_channeldb () |
| void | init_render () |
| void | init_brender () |
| void | restart_brender () |
| void | stop_brender () |
| int | brender_available (int position) |
| void | set_brender_start () |
| void | init_edl () |
| void | init_awindow () |
| void | init_gwindow () |
| void | init_tipwindow () |
| void | init_preferences () |
| void | init_signals () |
| void | init_theme () |
| void | init_compositor () |
| void | init_levelwindow () |
| void | init_viewer () |
| void | init_cache () |
| void | init_menus () |
| void | init_indexes () |
| void | init_gui () |
| void | init_playbackcursor () |
| void | delete_plugins () |
| void | clean_indexes () |
Static Public Member Functions | |
| static int | create_aspect_ratio (float &w, float &h, int width, int height) |
| static void | init_defaults (Defaults *&defaults, char *config_path) |
| static void | init_plugins (Preferences *preferences, ArrayList< PluginServer * > *&plugindb, SplashGUI *splash_window) |
| static void | init_plugin_path (Preferences *preferences, ArrayList< PluginServer * > *&plugindb, FileSystem *fs, SplashGUI *splash_window, int *counter) |
Public Attributes | |
| SplashGUI * | splash_window |
| MainUndo * | undo |
| Defaults * | defaults |
| Assets * | assets |
| CICache * | audio_cache |
| CICache * | video_cache |
| Preferences * | preferences |
| PreferencesThread * | preferences_thread |
| MainSession * | session |
| Theme * | theme |
| MainIndexes * | mainindexes |
| MainProgress * | mainprogress |
| BRender * | brender |
| ArrayList< ColormodelItem * > | colormodels |
| ArrayList< InterlaceautofixoptionItem * > | interlace_asset_autofixoptions |
| ArrayList< InterlacemodeItem * > | interlace_project_modes |
| ArrayList< InterlacemodeItem * > | interlace_asset_modes |
| ArrayList< InterlacefixmethodItem * > | interlace_asset_fixmethods |
| ChannelDB * | channeldb_buz |
| ChannelDB * | channeldb_v4l2jpeg |
| ArrayList< PluginServer * > * | plugindb |
| ArrayList< PluginServer * > * | plugin_guis |
| BatchRenderThread * | batch_render |
| Render * | render |
| EDL * | edl |
| MWindowGUI * | gui |
| CWindow * | cwindow |
| VWindow * | vwindow |
| AWindow * | awindow |
| GWindow * | gwindow |
| TipWindow * | twindow |
| LevelWindow * | lwindow |
| Mutex * | plugin_gui_lock |
| Mutex * | brender_lock |
| SigHandler * | sighandler |
Definition at line 64 of file mwindow.h.
|
|
Definition at line 123 of file mwindow.C. References brender, brender_lock, channeldb_buz, channeldb_v4l2jpeg, plugin_gui_lock, and session. |
|
|
Definition at line 133 of file mwindow.C. References audio_cache, awindow, brender, brender_lock, clean_indexes(), cwindow, defaults, gui, lwindow, mainindexes, mainprogress, plugin_gui_lock, plugin_guis, preferences, render, save_defaults(), undo, video_cache, and vwindow. |
|
||||||||||||
|
Definition at line 101 of file mwindowedit.C. References Tracks::add_audio_track(), edl, save_backup(), theme, EDL::tracks, and Tracks::update_y_pixels(). Referenced by add_audio_track_entry(). |
|
||||||||||||
|
Definition at line 62 of file mwindowedit.C. References _, TrackCanvas::activate(), add_audio_track(), MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), TrackCanvas::draw(), edl, MWindowGUI::get_scrollbars(), gui, MWindowGUI::patchbay, CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), undo, PatchBay::update(), and MainUndo::update_undo(). Referenced by AddAudioTrack::handle_event(), and EditPopupAddTrack::handle_event(). |
|
|
|
|
||||||||||||
|
Definition at line 109 of file mwindowedit.C. References Tracks::add_video_track(), edl, save_backup(), theme, EDL::tracks, and Tracks::update_y_pixels(). Referenced by add_video_track_entry(). |
|
|
Definition at line 81 of file mwindowedit.C. References _, TrackCanvas::activate(), add_video_track(), MWindowGUI::canvas, MWindowGUI::cursor, cwindow, MainCursor::draw(), TrackCanvas::draw(), edl, MWindowGUI::get_scrollbars(), gui, MWindowGUI::patchbay, CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), undo, PatchBay::update(), and MainUndo::update_undo(). Referenced by AddVideoTrack::handle_event(), and EditPopupAddTrack::handle_event(). |
|
||||||||||||||||
|
Definition at line 1608 of file mwindow.C. References Asset::audio_data, EDLSession::audio_tracks, Asset::channels, LocalSession::clip_title, EDL::create_default_tracks(), EDL::insert_asset(), Asset::layers, EDL::local_session, Asset::path, EDL::session, Asset::video_data, and EDLSession::video_tracks. Referenced by VWindow::change_source(), load_assets(), load_filenames(), and Record::run(). |
|
|
Definition at line 121 of file mwindowedit.C. References _, EDLSession::aspect_h, EDLSession::aspect_w, create_aspect_ratio(), defaults, MainSession::drag_assets, edl, EDLSession::output_h, EDLSession::output_w, restart_brender(), save_backup(), EDL::session, session, sync_parameters(), undo, and MainUndo::update_undo(). Referenced by AssetPopup::match_size(). |
|
|
Definition at line 730 of file mwindow.C. References brender, brender_lock, BRender::map, BRender::map_lock, BRender::map_size, BRender::map_valid, and BRender::RENDERED. Referenced by CPlayback::brender_available(). |
|
|
Definition at line 444 of file mwindow.C. References Preferences::index_count, Preferences::index_directory, preferences, and remove(). Referenced by ~MWindow(). |
|
|
Definition at line 173 of file mwindowedit.C. References EDL::clear(), edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), EDLSession::labels_follow_edits, EDL::local_session, EDLSession::plugins_follow_edits, EDL::session, and start(). Referenced by clear_entry(), CWindowGUI::drag_stop(), paste(), Render::render(), Record::run(), and MenuEffectThread::run(). |
|
|
Definition at line 186 of file mwindowedit.C. References _, MWindowGUI::canvas, Tracks::clear_automation(), cwindow, TrackCanvas::draw_overlays(), edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, MWindowGUI::patchbay, restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, CWindow::update(), PatchBay::update(), update_plugin_guis(), and MainUndo::update_undo(). Referenced by ClearKeyframes::handle_event(). |
|
|
Definition at line 202 of file mwindowedit.C. References _, MWindowGUI::canvas, Tracks::clear_default_keyframe(), cwindow, TrackCanvas::draw_overlays(), edl, gui, MWindowGUI::patchbay, restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, CWindow::update(), PatchBay::update(), and MainUndo::update_undo(). Referenced by ClearDefaultKeyframe::handle_event(). |
|
|
Definition at line 155 of file mwindowedit.C. References _, clear(), cwindow, edl, gui, EDL::optimize(), CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), undo, CWindow::update(), MWindowGUI::update(), update_plugin_guis(), and MainUndo::update_undo(). Referenced by Clear::handle_event(). |
|
||||||||||||
|
Definition at line 229 of file mwindowedit.C. References Labels::clear(), edl, and EDL::labels. |
|
|
Definition at line 218 of file mwindowedit.C. References _, cwindow, edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, save_backup(), MWindowGUI::timebar, undo, CWindow::update(), TimeBar::update(), and MainUndo::update_undo(). Referenced by ClearLabels::handle_event(). |
|
|
Definition at line 235 of file mwindowedit.C. References _, Tracks::concatenate_tracks(), cwindow, edl, gui, CWindow::playback_engine, EDLSession::plugins_follow_edits, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), EDL::session, EDL::tracks, undo, MWindowGUI::update(), and MainUndo::update_undo(). Referenced by ConcatenateTracks::handle_event(). |
|
||||||||||||
|
Definition at line 256 of file mwindowedit.C. References EDL::copy(), edl, gui, plugindb, save_backup(), and FileXML::string. |
|
|
Definition at line 250 of file mwindowedit.C. References edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), and EDL::local_session. Referenced by EditPanel::copy_selection(), cut(), and Copy::handle_event(). |
|
|
Definition at line 284 of file mwindowedit.C. References Tracks::copy_automation(), edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, FileXML::string, and EDL::tracks. Referenced by cut_automation(), CopyKeyframes::handle_event(), and KeyframePopupCopy::handle_event(). |
|
|
Definition at line 298 of file mwindowedit.C. References Tracks::copy_default_keyframe(), edl, gui, FileXML::string, and EDL::tracks. Referenced by cut_default_keyframe(), and CopyDefaultKeyframe::handle_event(). |
|
||||||||||||||||||||
|
Definition at line 1774 of file mwindow.C. Referenced by asset_to_size(), crop_video(), VideoWindow::get_aspect_ratio(), SetFormatThread::update_aspect(), ScaleThread::update_aspect(), and NewThread::update_aspect(). |
|
||||||||||||||||
|
||||||||||||||||||||||||||||
|
Definition at line 376 of file mwindow.C. References _, PluginServer::audio, PluginServer::realtime, PluginServer::theme, PluginServer::title, PluginServer::transition, and PluginServer::video. Referenced by PluginDialog::create_objects(), ViewTheme::create_objects(), AWindowGUI::create_persistent_folder(), and MenuEffectThread::run(). |
|
|
Definition at line 311 of file mwindowedit.C. References _, EDLSession::aspect_h, EDLSession::aspect_w, create_aspect_ratio(), EDLSession::crop_x1, EDLSession::crop_x2, EDLSession::crop_y1, EDLSession::crop_y2, cwindow, defaults, edl, EDLSession::output_h, EDLSession::output_w, CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), EDL::session, EDL::tracks, Tracks::translate_projector(), undo, and MainUndo::update_undo(). Referenced by CWindowCropOK::handle_event(). |
|
|
Definition at line 363 of file mwindowedit.C. References _, EDL::clear(), copy(), cwindow, edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDLSession::labels_follow_edits, EDL::local_session, EDL::optimize(), CWindow::playback_engine, EDLSession::plugins_follow_edits, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), EDL::session, start(), undo, MWindowGUI::update(), update_plugin_guis(), and MainUndo::update_undo(). Referenced by Cut::handle_event(), and EditCut::handle_event(). |
|
|
Definition at line 389 of file mwindowedit.C. References _, MWindowGUI::canvas, Tracks::clear_automation(), copy_automation(), cwindow, TrackCanvas::draw_overlays(), edl, LocalSession::get_selectionend(), LocalSession::get_selectionstart(), gui, EDL::local_session, MWindowGUI::patchbay, restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, CWindow::update(), PatchBay::update(), update_plugin_guis(), and MainUndo::update_undo(). Referenced by CutKeyframes::handle_event(). |
|
|
Definition at line 410 of file mwindowedit.C. References _, MWindowGUI::canvas, Tracks::clear_default_keyframe(), copy_default_keyframe(), cwindow, TrackCanvas::draw_overlays(), edl, gui, MWindowGUI::patchbay, restart_brender(), save_backup(), sync_parameters(), EDL::tracks, undo, CWindow::update(), PatchBay::update(), and MainUndo::update_undo(). Referenced by CutDefaultKeyframe::handle_event(). |
|
|
Definition at line 2064 of file mwindowedit.C. Referenced by AWindowDeleteFolder::handle_event(). |
|
|
Definition at line 429 of file mwindowedit.C. References edl, EDL::local_session, save_backup(), and LocalSession::unset_inpoint(). Referenced by EditPanel::clear_inpoint(). |
|
|
Definition at line 435 of file mwindowedit.C. References edl, EDL::local_session, save_backup(), and LocalSession::unset_outpoint(). Referenced by EditPanel::clear_outpoint(). |
|
|
Definition at line 367 of file mwindow.C. References plugindb. |
|
|
|
|
|
Definition at line 462 of file mwindowedit.C. References _, cwindow, Tracks::delete_track(), edl, gui, CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), EDL::tracks, undo, MWindowGUI::update(), update_plugin_states(), and MainUndo::update_undo(). |
|
|
Definition at line 441 of file mwindowedit.C. References edl, and EDL::tracks. Referenced by DeleteTrack::handle_event(), and EditPopupDeleteTrack::handle_event(). |
|
|
Definition at line 447 of file mwindowedit.C. References _, cwindow, Tracks::delete_tracks(), edl, gui, CWindow::playback_engine, PlaybackEngine::que, restart_brender(), save_backup(), TransportQue::send_command(), EDL::tracks, undo, MWindowGUI::update(), update_plugin_states(), and MainUndo::update_undo(). Referenced by DeleteTracks::handle_event(). |
|
|
Definition at line 477 of file mwindowedit.C. References _, Track::data_type, Edit::detach_transition(), Transition::edit, gui, hide_plugin(), restart_brender(), save_backup(), sync_parameters(), Edit::track, TRACK_VIDEO, undo, MWindowGUI::update(), and MainUndo::update_undo(). Referenced by TransitionPopupDetach::handle_event(). |
|
|
Definition at line 1864 of file mwindow.C. References plugindb. Referenced by DumpPlugins::handle_event(). |
|