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]