EDLSession Class Reference

#include <edlsession.h>

Collaboration diagram for EDLSession:

Collaboration graph
[legend]

Public Member Functions

 EDLSession (EDL *edl)
 ~EDLSession ()
int load_xml (FileXML *xml, int append_mode, uint32_t load_flags)
int save_xml (FileXML *xml)
int copy (EDLSession *session)
int load_audio_config (FileXML *file, int append_mode, uint32_t load_flags)
int save_audio_config (FileXML *xml)
int load_video_config (FileXML *file, int append_mode, uint32_t load_flags)
int save_video_config (FileXML *xml)
int load_defaults (BC_Hash *defaults)
int save_defaults (BC_Hash *defaults)
char * get_cwindow_display ()
void boundaries ()
int need_rerender (EDLSession *ptr)
void equivalent_output (EDLSession *session, double *result)
void dump ()
int64_t get_frame_offset ()

Data Fields

int achannel_positions [MAXCHANNELS]
AudioOutConfigaconfig_duplex
int assetlist_format
int asset_columns [ASSET_COLUMNS]
AutoConfauto_conf
float actual_frame_rate
float aspect_w
float aspect_h
int audio_channels
int audio_tracks
int autos_follow_edits
int auto_keyframes
double brender_start
double clipboard_length
int color_model
int interlace_mode
int crop_x1
int crop_x2
int crop_y1
int crop_y2
char current_folder [BCTEXTLEN]
int cursor_on_frames
int cwindow_dest
int cwindow_mask
int cwindow_meter
int cwindow_operation
int cwindow_scrollbars
int cwindow_xscroll
int cwindow_yscroll
float cwindow_zoom
char default_atransition [BCTEXTLEN]
char default_vtransition [BCTEXTLEN]
double default_transition_length
int edit_handle_mode [3]
int editing_mode
EDLedl
int enable_duplex
int folderlist_format
double frame_rate
float frames_per_foot
int highlighted_track
int interpolation_type
int interpolate_raw
int white_balance_raw
int labels_follow_edits
int mpeg4_deblock
int plugins_follow_edits
int meter_format
int min_meter_db
int max_meter_db
int output_w
int output_h
int64_t playback_buffer
int playback_cursor_visible
int64_t playback_preload
int decode_subtitles
int subtitle_number
int playback_software_position
int real_time_playback
int real_time_record
int record_software_position
int record_sync_drives
int record_speed
int64_t record_write_length
int safe_regions
int64_t sample_rate
float scrub_speed
int si_useduration
float si_duration
int show_assets
int show_titles
int test_playback_edits
int time_format
int timecode_offset [4]
int nudge_seconds
int tool_window
int vchannel_x [MAXCHANNELS]
int vchannel_y [MAXCHANNELS]
int video_channels
VideoInConfigvconfig_in
AudioInConfigaconfig_in
Assetrecording_format
int video_every_frame
int video_asynchronous
int video_tracks
int video_write_length
int view_follows_playback
char vwindow_folder [BCTEXTLEN]
int vwindow_source
int vwindow_meter
float vwindow_zoom
PlaybackConfigplayback_config

Static Public Attributes

static int current_id = 0

Detailed Description

Definition at line 17 of file edlsession.h.


Constructor & Destructor Documentation

EDLSession::EDLSession ( EDL edl  ) 

EDLSession::~EDLSession (  ) 

Definition at line 64 of file edlsession.C.

References aconfig_duplex, aconfig_in, auto_conf, Garbage::delete_object(), playback_config, recording_format, and vconfig_in.

Here is the call graph for this function:


Member Function Documentation

int EDLSession::load_xml ( FileXML xml,
int  append_mode,
uint32_t  load_flags 
)

int EDLSession::save_xml ( FileXML xml  ) 

int EDLSession::copy ( EDLSession session  ) 

Definition at line 679 of file edlsession.C.

References achannel_positions, aconfig_duplex, aconfig_in, actual_frame_rate, aspect_h, aspect_w, asset_columns, assetlist_format, audio_channels, audio_tracks, auto_conf, auto_keyframes, autos_follow_edits, brender_start, color_model, Asset::copy_from(), PlaybackConfig::copy_from(), AutoConf::copy_from(), AudioInConfig::copy_from(), AudioOutConfig::copy_from(), crop_x1, crop_x2, crop_y1, crop_y2, current_folder, cursor_on_frames, cwindow_dest, cwindow_mask, cwindow_meter, cwindow_operation, cwindow_scrollbars, cwindow_xscroll, cwindow_yscroll, cwindow_zoom, decode_subtitles, default_atransition, default_transition_length, default_vtransition, edit_handle_mode, editing_mode, enable_duplex, folderlist_format, frame_rate, frames_per_foot, highlighted_track, interlace_mode, interpolate_raw, interpolation_type, labels_follow_edits, max_meter_db, MAXCHANNELS, meter_format, min_meter_db, mpeg4_deblock, nudge_seconds, output_h, output_w, playback_buffer, playback_config, playback_cursor_visible, playback_preload, playback_software_position, plugins_follow_edits, real_time_playback, real_time_record, record_software_position, record_sync_drives, record_write_length, recording_format, safe_regions, sample_rate, scrub_speed, show_assets, show_titles, si_duration, si_useduration, subtitle_number, test_playback_edits, time_format, timecode_offset, tool_window, vchannel_x, vchannel_y, vconfig_in, video_asynchronous, video_channels, video_every_frame, video_tracks, video_write_length, view_follows_playback, vwindow_folder, vwindow_meter, vwindow_source, vwindow_zoom, and white_balance_raw.

Referenced by EDL::copy_session().

Here is the call graph for this function:

int EDLSession::load_audio_config ( FileXML file,
int  append_mode,
uint32_t  load_flags 
)

Definition at line 464 of file edlsession.C.

References achannel_positions, audio_channels, XMLTag::get_property(), sample_rate, and FileXML::tag.

Referenced by EDL::load_xml().

Here is the call graph for this function:

int EDLSession::save_audio_config ( FileXML xml  ) 

Definition at line 658 of file edlsession.C.

References achannel_positions, FileXML::append_newline(), FileXML::append_tag(), audio_channels, sample_rate, XMLTag::set_property(), XMLTag::set_title(), and FileXML::tag.

Referenced by EDL::copy().

Here is the call graph for this function:

int EDLSession::load_video_config ( FileXML file,
int  append_mode,
uint32_t  load_flags 
)

int EDLSession::save_video_config ( FileXML xml  ) 

int EDLSession::load_defaults ( BC_Hash defaults  ) 

Definition at line 121 of file edlsession.C.

References achannel_positions, aconfig_duplex, aconfig_in, actual_frame_rate, aspect_h, aspect_w, asset_columns, assetlist_format, audio_channels, audio_tracks, auto_conf, auto_keyframes, autos_follow_edits, BC_ILACE_MODE_NOTINTERLACED, BC_RGBA8888, BCTEXTLEN, boundaries(), brender_start, cmodel_from_text(), cmodel_to_text(), color_model, crop_x1, crop_x2, crop_y1, crop_y2, current_folder, cursor_on_frames, cwindow_dest, cwindow_mask, cwindow_meter, cwindow_operation, cwindow_scrollbars, cwindow_xscroll, cwindow_yscroll, cwindow_zoom, decode_subtitles, default_atransition, default_transition_length, default_vtransition, edit_handle_mode, editing_mode, enable_duplex, folderlist_format, frame_rate, frames_per_foot, BC_Hash::get(), ilacemode_from_xmltext(), ilacemode_to_xmltext(), interlace_mode, interpolate_raw, interpolation_type, labels_follow_edits, VideoInConfig::load_defaults(), Asset::load_defaults(), PlaybackConfig::load_defaults(), AutoConf::load_defaults(), AudioInConfig::load_defaults(), AudioOutConfig::load_defaults(), max_meter_db, MAXCHANNELS, METER_DB, meter_format, min_meter_db, mpeg4_deblock, nudge_seconds, output_h, output_w, playback_buffer, playback_config, playback_preload, playback_software_position, plugins_follow_edits, real_time_playback, real_time_record, record_software_position, record_sync_drives, record_write_length, recording_format, safe_regions, sample_rate, scrub_speed, show_assets, show_titles, si_duration, si_useduration, subtitle_number, time_format, TIME_HMS, timecode_offset, tool_window, vchannel_x, vchannel_y, vconfig_in, video_asynchronous, video_channels, video_every_frame, video_tracks, video_write_length, view_follows_playback, vwindow_folder, vwindow_meter, vwindow_source, vwindow_zoom, and white_balance_raw.

Referenced by EDL::load_defaults().

Here is the call graph for this function:

int EDLSession::save_defaults ( BC_Hash defaults  ) 

Definition at line 266 of file edlsession.C.

References achannel_positions, aconfig_duplex, aconfig_in, actual_frame_rate, aspect_h, aspect_w, asset_columns, assetlist_format, audio_channels, audio_tracks, auto_conf, auto_keyframes, autos_follow_edits, BCTEXTLEN, brender_start, cmodel_to_text(), color_model, crop_x1, crop_x2, crop_y1, crop_y2, current_folder, cursor_on_frames, cwindow_dest, cwindow_mask, cwindow_meter, cwindow_operation, cwindow_scrollbars, cwindow_xscroll, cwindow_yscroll, cwindow_zoom, decode_subtitles, default_atransition, default_transition_length, default_vtransition, edit_handle_mode, editing_mode, enable_duplex, folderlist_format, frame_rate, frames_per_foot, highlighted_track, ilacemode_to_xmltext(), interlace_mode, interpolate_raw, interpolation_type, labels_follow_edits, max_meter_db, MAXCHANNELS, meter_format, min_meter_db, mpeg4_deblock, nudge_seconds, output_h, output_w, playback_buffer, playback_config, playback_preload, playback_software_position, plugins_follow_edits, real_time_playback, real_time_record, record_software_position, record_sync_drives, record_write_length, recording_format, safe_regions, sample_rate, VideoInConfig::save_defaults(), Asset::save_defaults(), PlaybackConfig::save_defaults(), AutoConf::save_defaults(), AudioInConfig::save_defaults(), AudioOutConfig::save_defaults(), scrub_speed, show_assets, show_titles, si_duration, si_useduration, subtitle_number, time_format, timecode_offset, tool_window, BC_Hash::update(), vchannel_x, vchannel_y, vconfig_in, video_asynchronous, video_channels, video_every_frame, video_tracks, video_write_length, view_follows_playback, vwindow_meter, vwindow_zoom, and white_balance_raw.

Referenced by EDL::save_defaults().

Here is the call graph for this function:

char * EDLSession::get_cwindow_display (  ) 

Definition at line 75 of file edlsession.C.

References playback_config, PlaybackConfig::vconfig, and VideoOutConfig::x11_host.

void EDLSession::boundaries (  ) 

int EDLSession::need_rerender ( EDLSession ptr  ) 

void EDLSession::equivalent_output ( EDLSession session,
double *  result 
)

void EDLSession::dump (  ) 

int64_t EDLSession::get_frame_offset (  ) 


Field Documentation

int EDLSession::asset_columns[ASSET_COLUMNS]

Definition at line 71 of file edlsession.h.

char EDLSession::current_folder[BCTEXTLEN]

Definition at line 83 of file edlsession.h.

Referenced by copy(), load_defaults(), load_xml(), save_defaults(), and save_xml().

Definition at line 105 of file edlsession.h.

Definition at line 106 of file edlsession.h.

Referenced by copy(), Record::enable_duplex(), load_defaults(), and save_defaults().

Definition at line 109 of file edlsession.h.

Referenced by EDL::align_to_frame(), BRender::allocate_map(), SetFormatThread::apply_changes(), RenderEngine::arm_command(), MWindow::asset_to_edl(), MWindow::asset_to_rate(), boundaries(), NudgePatch::calculate_increment(), Render::check_asset(), copy(), Tracks::copy_automation(), PackageRenderer::create_engine(), MWindowGUI::create_objects(), FormatPresets::create_objects(), AssetPicon::create_objects(), PackageRenderer::create_output(), PackageDispatcher::create_packages(), PackagingEngineDefault::create_packages_single_farm(), ResourceThread::do_video(), TrackCanvas::drag_stop(), ResourcePixmap::draw_data(), TrackCanvas::draw_highlighting(), TrackCanvas::draw_paste_destination(), MTimeBar::draw_time(), ResourcePixmap::draw_video_resource(), dump(), EDL::dump(), ExportEDLAsset::edit_to_timecodes(), EDLSession(), EDL::equivalent(), equivalent_output(), FormatPresets::find_preset(), VTrack::from_units(), VRender::fromunits(), VTrack::get_dimensions(), FloatAutos::get_extents(), get_frame_offset(), PluginServer::get_framerate(), PluginServer::get_project_framerate(), VEdit::get_source_end(), SetFrameRateTextBox::handle_event(), NewFrameRate::handle_event(), KeyframePopupCopy::handle_event(), VModule::import_frame(), PluginVClient::init_realtime_parameters(), PackageRenderer::initialize(), EDL::insert_asset(), VRender::insert_timecode(), load_defaults(), load_video_config(), RenderEngine::open_output(), ManualGoto::open_window(), Tracks::paste_automation(), Track::paste_automation(), MWindow::paste_edls(), PluginVClient::PluginVClient(), VRender::process_buffer(), VirtualVConsole::process_buffer(), VPluginArray::process_realtime(), VirtualVNode::read_data(), VEdit::read_frame(), PluginServer::read_frame(), VModule::render(), VAttachmentPoint::render(), Render::render(), VirtualVNode::render_as_module(), VirtualVNode::render_fade(), VirtualVNode::render_mask(), VirtualVNode::render_projector(), ResourcePixmap::ResourcePixmap(), VRender::run(), RenderEngine::run(), MenuEffectThread::run(), ManualGoto::run(), save_defaults(), save_video_config(), RenderEngine::session_position(), TransportCommand::set_playback_range(), ZoomBar::set_selection(), BRender::set_video_map(), PluginServer::show_gui(), BRenderThread::start(), ZoomPanel::text_to_zoom(), VWindowEditing::to_clip(), MWindow::to_clip(), VTrack::to_doubleunits(), VTrack::to_units(), MenuVEffectThread::to_units(), VRender::tounits(), SetFormatThread::update(), NewWindow::update(), MainClock::update(), TrackCanvas::update_drag_auto(), TrackCanvas::update_drag_floatauto(), TrackCanvas::update_drag_pluginauto(), TrackCanvas::update_drag_toggleauto(), PluginServer::update_gui(), ZoomBar::update_playback(), ToTextBox::update_position(), LengthTextBox::update_position(), FromTextBox::update_position(), and ZoomPanel::value_to_text().

Definition at line 112 of file edlsession.h.

Referenced by copy(), EDLSession(), load_xml(), MWindow::paste_edls(), save_defaults(), and save_xml().

Definition at line 129 of file edlsession.h.

Referenced by copy(), and EDLSession().

Definition at line 148 of file edlsession.h.

Referenced by EDL::align_to_frame(), SetFormatThread::apply_changes(), boundaries(), TrackCanvas::button_press_event(), TimeBar::button_press_event(), ARender::calculate_history_size(), NudgePatch::calculate_increment(), TrackCanvas::calculate_viewport(), Render::check_asset(), copy(), Tracks::copy_automation(), PackageRenderer::create_engine(), FormatPresets::create_objects(), AssetPicon::create_objects(), PackageRenderer::create_output(), TrackCanvas::cursor_motion_event(), TrackCanvas::do_edits(), MainCursor::draw(), ResourcePixmap::draw_audio_resource(), ResourcePixmap::draw_audio_source(), TrackCanvas::draw_brender_start(), ResourcePixmap::draw_data(), TrackCanvas::draw_drag_handle(), TrackCanvas::draw_highlighting(), IndexFile::draw_index(), TrackCanvas::draw_loop_points(), TrackCanvas::draw_paste_destination(), MTimeBar::draw_range(), MTimeBar::draw_time(), TrackCanvas::draw_transitions(), dump(), EDL::dump(), TrackCanvas::edit_dimensions(), EDLSession(), EDL::equivalent(), MWindow::expand_sample(), MWindow::find_cursor(), FormatPresets::find_preset(), MWindow::fit_selection(), Edit::frame_w(), ATrack::from_units(), ARender::fromunits(), APluginArray::get_bufsize(), VTrack::get_dimensions(), ATrack::get_dimensions(), TrackCanvas::get_drop_position(), FloatAutos::get_extents(), Tracking::get_pixel(), PluginServer::get_project_samplerate(), PluginServer::get_samplerate(), AEdit::get_source_end(), MWindow::goto_end(), SetSampleRateTextBox::handle_event(), NewSampleRate::handle_event(), KeyframePopupCopy::handle_event(), Track::horizontal_span(), PluginAClient::init_realtime_parameters(), PackageRenderer::initialize(), VRender::insert_timecode(), load_audio_config(), load_defaults(), MWindow::next_edit_handle(), MWindow::next_label(), RenderEngine::open_output(), Tracks::paste_automation(), Track::paste_automation(), MWindow::paste_edls(), TrackCanvas::plugin_dimensions(), PluginAClient::PluginAClient(), MTimeBar::position_to_pixel(), MWindow::prev_edit_handle(), MWindow::prev_label(), VirtualAConsole::process_buffer(), APluginArray::process_realtime(), VirtualANode::read_data(), PluginServer::read_samples(), Render::render(), AModule::render(), AAttachmentPoint::render(), VirtualANode::render_as_module(), VirtualANode::render_fade(), VirtualANode::render_pan(), TrackCanvas::repeat_event(), ResourcePixmap::ResourcePixmap(), VRender::run(), RenderEngine::run(), MenuEffectThread::run(), ARender::run(), save_audio_config(), save_defaults(), RenderEngine::session_position(), SampleScroll::set_position(), ZoomBar::set_selection(), PluginServer::show_gui(), RenderEngine::sync_position(), TrackCanvas::test_toggleline(), ZoomPanel::text_to_zoom(), TrackCanvas::time_visible(), VWindowEditing::to_clip(), MWindow::to_clip(), ATrack::to_doubleunits(), MenuAEffectThread::to_units(), ATrack::to_units(), ARender::tounits(), SetFormatThread::update(), NewWindow::update(), MainClock::update(), TimeBar::update_cursor(), TrackCanvas::update_drag_auto(), TrackCanvas::update_drag_floatauto(), TrackCanvas::update_drag_handle(), TrackCanvas::update_drag_pluginauto(), TrackCanvas::update_drag_toggleauto(), PluginServer::update_gui(), ZoomBar::update_playback(), ToTextBox::update_position(), LengthTextBox::update_position(), FromTextBox::update_position(), CTracking::update_scroll(), VTracking::update_tracker(), CTracking::update_tracker(), ZoomPanel::value_to_text(), and MWindow::zoom_in_sample().

Definition at line 149 of file edlsession.h.

Referenced by copy(), ScrubSpeed::handle_event(), load_defaults(), and save_defaults().

Definition at line 158 of file edlsession.h.

Referenced by copy(), EDLSession(), need_rerender(), and save_xml().

int EDLSession::vchannel_x[MAXCHANNELS]

int EDLSession::vchannel_y[MAXCHANNELS]

char EDLSession::vwindow_folder[BCTEXTLEN]

Definition at line 186 of file edlsession.h.

Referenced by VWindow::change_source(), copy(), load_defaults(), load_xml(), and save_xml().

Definition at line 189 of file edlsession.h.

Referenced by copy(), load_defaults(), load_xml(), save_defaults(), and save_xml().

int EDLSession::current_id = 0 [static]

Definition at line 191 of file edlsession.h.

Referenced by EDL::next_id().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:24:10 2008 for Cinelerra by  doxygen 1.5.5