Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Record Class Reference

#include <record.h>

List of all members.

Public Member Functions

 Record (MWindow *mwindow, RecordMenuItem *menu_item)
 ~Record ()
void run ()
int load_defaults ()
int save_defaults ()
Batchnew_batch ()
void delete_batch ()
void activate_batch (int number, int stop_operation)
void change_editing_batch (int number)
void close_output_file ()
void delete_batch (int number)
void swap_batches (int number1, int number2)
void get_audio_write_length (int &buffer_size, int &fragment_size)
int open_input_devices (int duplex, int context)
int close_input_devices ()
void start_file_threads ()
int start_recording (int duplex, int context)
int record_frame ()
int start_monitor ()
int pause_monitor ()
int resume_monitor ()
int stop_operation (int resume_monitor)
int stop_duplex ()
void stop_file_threads ()
int stop_monitor ()
int get_in_length ()
int set_video_picture ()
void set_translation (int x, int y)
int set_channel (int channel)
void set_channel (Channel *channel)
int has_signal ()
void toggle_label ()
void configure_batches ()
void source_to_text (char *string, Batch *batch)
int open_output_file ()
int delete_output_file ()
int init_next_file ()
void rewind_file ()
ArrayList< Channel * > * get_video_inputs ()
char * get_channeldb_prefix ()
int get_next_batch ()
Batchget_current_batch ()
Batchget_editing_batch ()
char * current_mode ()
char * current_source ()
int get_current_channel ()
int get_editing_channel ()
void get_current_time (double &seconds, int &day)
Channelget_current_channel_struct ()
char * current_news ()
double * current_start ()
double * current_duration ()
Assetcurrent_asset ()
int * current_offset_type ()
int64_t sync_position ()
double current_display_position ()
int64_t current_audio_position ()
int64_t current_duration_samples ()
int64_t current_video_position ()
int64_t current_duration_frames ()
int64_t batch_video_offset ()
void start_over ()
int set_script (FileXML *script)
int run_script (Asset *asset, int &do_audio, int &do_video)
int save_engine_defaults ()
float get_min_db ()
int get_samplerate ()
float get_framerate ()
int get_everyframe ()
int get_time_format ()
int get_realtime ()
float get_frame_rate ()
char * get_in_path ()
char * get_video_inpath ()
int get_video_driver ()
int get_vu_format ()
int get_rec_mode ()
int set_rec_mode (int value)
int set_loop_duration (int64_t value)
int use_floatingpoint ()
int get_out_length ()
int64_t get_out_buffersize ()
int get_software_positioning ()
int64_t get_in_buffersize ()
int get_video_buffersize ()
int get_video_capturesize ()
int get_meter_over_hold (int divisions)
int get_meter_peak_hold (int divisions)
int get_meter_speed ()
int64_t get_playback_buffer ()
int enable_duplex ()

Public Attributes

Assetdefault_asset
ArrayList< Batch * > batches
int load_mode
int do_audio
int do_video
int monitor_audio
int monitor_video
int video_window_open
int prompt_cancel
int fixed_compression
int current_batch
int editing_batch
ChannelDBchanneldb
Channelmaster_channel
LoadModeloadmode
MWindowmwindow
RecordGUIrecord_gui
RecordMonitorrecord_monitor
RecordThreadmonitor_engine
RecordThreadrecord_engine
AudioDeviceadevice
VideoDevicevdevice
Filefile
PlaybackEngineduplex_engine
RecordWindowrecord_window
Timer monitor_timer
int capture_state
int video_x
int video_y
float video_zoom
int reverse_interlace
int color_model
PictureConfigpicture
int fill_frames
EDLedl
Mutex * window_lock
int current_channel
FileXMLscript
RecordMenuItemmenu_item
int realtime
int to_tracks
int64_t loop_duration
int64_t startsource_sample
int64_t endsource_sample
int64_t startsource_frame
int64_t endsource_frame
int64_t dc_offset [MAXCHANNELS]
int append_to_file
int record_mode
int frame_w
int frame_h
int video_window_w
int cpus


Detailed Description

Definition at line 49 of file record.h.


Constructor & Destructor Documentation

Record::Record MWindow mwindow,
RecordMenuItem menu_item
 

Definition at line 108 of file record.C.

References adevice, capture_state, channeldb, current_batch, editing_batch, file, master_channel, picture, script, vdevice, and window_lock.

Record::~Record  ) 
 

Definition at line 126 of file record.C.

References channeldb, master_channel, picture, and window_lock.


Member Function Documentation

void Record::activate_batch int  number,
int  stop_operation
 

Definition at line 573 of file record.C.

References Batch::calculate_news(), close_output_file(), current_batch, current_display_position(), get_current_batch(), record_gui, stop_operation(), RecordGUI::update_batch_tools(), RecordGUI::update_batches(), and RecordGUI::update_position().

Referenced by delete_batch(), RecordGUIActivateBatch::handle_event(), and RecordThread::run().

int64_t Record::batch_video_offset  ) 
 

Definition at line 847 of file record.C.

References default_asset, Batch::file_offset, Asset::frame_rate, and get_current_batch().

void Record::change_editing_batch int  number  ) 
 

Definition at line 616 of file record.C.

References editing_batch, record_gui, and RecordGUI::update_batch_tools().

Referenced by RecordGUIBatches::selection_changed().

int Record::close_input_devices  ) 
 

Definition at line 1070 of file record.C.

References adevice, AudioDevice::close_all(), VideoDevice::close_all(), and vdevice.

Referenced by RecordThread::pause_recording(), and RecordThread::run().

void Record::close_output_file  ) 
 

Definition at line 777 of file record.C.

References File::close_file(), file, mwindow, SigHandler::pull_file(), and MWindow::sighandler.

Referenced by activate_batch(), and run().

void Record::configure_batches  ) 
 

Definition at line 292 of file record.C.

References batches, Batch::calculate_news(), Asset::copy_format(), default_asset, Batch::get_current_asset(), and Asset::path.

Referenced by run().

Asset * Record::current_asset  ) 
 

Definition at line 902 of file record.C.

References batches, and current_batch.

int64_t Record::current_audio_position  ) 
 

Definition at line 853 of file record.C.

References default_asset, file, Batch::file_offset, File::get_audio_position(), get_current_batch(), and Asset::sample_rate.

double Record::current_display_position  ) 
 

Definition at line 876 of file record.C.

References Batch::current_frame, Batch::current_sample, default_asset, Batch::file_offset, Asset::frame_rate, get_current_batch(), Asset::sample_rate, and Asset::video_data.

Referenced by activate_batch(), RecordThread::do_cron(), RecordVideo::run(), RecordAudio::run(), and toggle_label().

double * Record::current_duration  ) 
 

Definition at line 932 of file record.C.

References batches, and current_batch.

Referenced by RecordVideo::run(), and RecordAudio::run().

int64_t Record::current_duration_frames  ) 
 

Definition at line 942 of file record.C.

References batches, current_batch, default_asset, and Asset::frame_rate.

int64_t Record::current_duration_samples  ) 
 

Definition at line 937 of file record.C.

References batches, current_batch, default_asset, and Asset::sample_rate.

char * Record::current_mode  ) 
 

Definition at line 842 of file record.C.

References get_current_batch(), Batch::mode_to_text(), and record_mode.

char * Record::current_news  ) 
 

Definition at line 897 of file record.C.

References batches, and current_batch.

int * Record::current_offset_type  ) 
 

Definition at line 947 of file record.C.

References batches, and current_batch.

char * Record::current_source  ) 
 

Definition at line 892 of file record.C.

References get_current_batch(), and Batch::get_source_text().

double * Record::current_start  ) 
 

Definition at line 907 of file record.C.

References batches, and current_batch.

int64_t Record::current_video_position  ) 
 

Definition at line 863 of file record.C.

References default_asset, file, Batch::file_offset, Asset::frame_rate, get_current_batch(), File::get_video_position(), and Asset::sample_rate.

void Record::delete_batch int  number  ) 
 

void Record::delete_batch  ) 
 

Definition at line 588 of file record.C.

References activate_batch(), batches, current_batch, editing_batch, record_gui, and RecordGUI::update_batch_tools().

Referenced by RecordGUIDeleteBatch::handle_event().

int Record::delete_output_file  ) 
 

Definition at line 643 of file record.C.

References _, fclose(), file, fopen(), Batch::get_current_asset(), get_current_batch(), Batch::news, Asset::path, record_gui, remove(), and RecordGUI::update_batches().

Referenced by open_output_file(), RecordThread::run(), and start_recording().

int Record::enable_duplex  ) 
 

Definition at line 1303 of file record.C.

References MWindow::edl, EDLSession::enable_duplex, mwindow, and EDL::session.

Referenced by RecordEngine::get_duplex_enable(), and RecordEngine::start_saving().

void Record::get_audio_write_length int &  buffer_size,
int &  fragment_size
 

Definition at line 797 of file record.C.

References CLAMP, default_asset, MWindow::edl, mwindow, EDLSession::record_speed, EDLSession::record_write_length, Asset::sample_rate, and EDL::session.

Referenced by RecordAudio::arm_recording(), and RecordThread::run().

char * Record::get_channeldb_prefix  ) 
 

Definition at line 325 of file record.C.

References VideoInConfig::driver, MWindow::edl, mwindow, EDL::session, and EDLSession::vconfig_in.

Referenced by run(), and ChannelEditThread::run().

Batch * Record::get_current_batch  ) 
 

Definition at line 812 of file record.C.

References batches, and current_batch.

Referenced by activate_batch(), batch_video_offset(), Batch::calculate_news(), current_audio_position(), current_display_position(), current_mode(), current_source(), current_video_position(), delete_output_file(), RecordThread::do_cron(), get_current_channel(), init_next_file(), open_output_file(), RecordVideo::rewind_file(), rewind_file(), RecordVideo::run(), RecordThread::run(), RecordAudio::run(), start_over(), RecordAudio::sync_position(), toggle_label(), and RecordGUI::update_labels().

int Record::get_current_channel  ) 
 

Definition at line 912 of file record.C.

References Batch::channel, and get_current_batch().

Referenced by get_current_channel_struct(), and open_input_devices().

Channel * Record::get_current_channel_struct  ) 
 

Definition at line 922 of file record.C.

References channeldb, ChannelDB::get(), get_current_channel(), and ChannelDB::size().

Referenced by ChannelPicker::get_current_channel_struct().

void Record::get_current_time double &  seconds,
int &  day
 

Definition at line 1251 of file record.C.

Referenced by RecordThread::do_cron(), and RecordThread::run().

Batch * Record::get_editing_batch  ) 
 

Definition at line 832 of file record.C.

References batches, and editing_batch.

Referenced by get_editing_channel(), RecordMode::handle_event(), RecordPath::handle_event(), new_batch(), ChannelEditThread::run(), set_channel(), and RecordGUI::update_batch_tools().

int Record::get_editing_channel  ) 
 

Definition at line 917 of file record.C.

References Batch::channel, and get_editing_batch().

Referenced by ChannelPicker::get_current_channel_number().

int Record::get_everyframe  ) 
 

Definition at line 1294 of file record.C.

References MWindow::edl, mwindow, EDL::session, and EDLSession::video_every_frame.

float Record::get_frame_rate  ) 
 

Definition at line 1275 of file record.C.

Referenced by RecordEngine::get_frame_rate().

float Record::get_framerate  ) 
 

Referenced by RecordEngine::goto_next_label(), RecordEngine::goto_prev_label(), RecordEngine::initialize(), and RecordEngine::start_over().

int64_t Record::get_in_buffersize  ) 
 

Definition at line 1299 of file record.C.

References MWindow::edl, mwindow, EDLSession::record_write_length, and EDL::session.

int Record::get_in_length  ) 
 

Definition at line 1190 of file record.C.

References default_asset, MWindow::edl, mwindow, EDLSession::record_speed, Asset::sample_rate, and EDL::session.

Referenced by open_input_devices().

char* Record::get_in_path  ) 
 

int Record::get_meter_over_hold int  divisions  ) 
 

int Record::get_meter_peak_hold int  divisions  ) 
 

int Record::get_meter_speed  ) 
 

Definition at line 1301 of file record.C.

References MWindow::edl, mwindow, EDLSession::record_speed, and EDL::session.

Referenced by RecordEngine::get_in_length(), and RecordEngine::get_meter_speed().

float Record::get_min_db  ) 
 

Definition at line 1288 of file record.C.

References MWindow::edl, EDLSession::min_meter_db, mwindow, and EDL::session.

Referenced by RecordEngine::get_min_db().

int Record::get_next_batch  ) 
 

Definition at line 820 of file record.C.

References batches, and current_batch.

Referenced by RecordThread::run().

int64_t Record::get_out_buffersize  ) 
 

Definition at line 1298 of file record.C.

References MWindow::edl, mwindow, EDLSession::playback_buffer, and EDL::session.

int Record::get_out_length  ) 
 

Definition at line 1296 of file record.C.

References MWindow::edl, mwindow, EDLSession::playback_buffer, and EDL::session.

int64_t Record::get_playback_buffer  ) 
 

Definition at line 1304 of file record.C.

References MWindow::edl, mwindow, EDLSession::playback_buffer, and EDL::session.

int Record::get_realtime  ) 
 

Definition at line 1300 of file record.C.

References realtime.

int Record::get_rec_mode  ) 
 

Definition at line 1290 of file record.C.

References record_mode.

int Record::get_samplerate  ) 
 

Referenced by RecordEngine::absolute_monitor_position(), RecordEngine::absolute_preview_position(), RecordEngine::absolute_record_position(), RecordEngine::goto_next_label(), RecordEngine::goto_prev_label(), RecordEngine::initialize(), RecordEngine::run_script(), and RecordEngine::set_loop_duration().

int Record::get_software_positioning  ) 
 

Definition at line 1297 of file record.C.

References MWindow::edl, mwindow, EDLSession::record_software_position, and EDL::session.

Referenced by RecordEngine::open_input_devices(), and RecordEngine::open_output_devices().

int Record::get_time_format  ) 
 

Definition at line 1270 of file record.C.

References MWindow::edl, mwindow, EDL::session, and EDLSession::time_format.

Referenced by RecordEngine::get_time_format().

int Record::get_video_buffersize  ) 
 

Definition at line 1293 of file record.C.

References MWindow::edl, mwindow, EDL::session, and EDLSession::video_write_length.

int Record::get_video_capturesize  ) 
 

int Record::get_video_driver  ) 
 

char* Record::get_video_inpath  ) 
 

ArrayList< Channel * > * Record::get_video_inputs  ) 
 

Definition at line 952 of file record.C.

References default_asset, VideoDevice::get_inputs(), vdevice, and Asset::video_data.

Referenced by ChannelPicker::get_video_inputs().

int Record::get_vu_format  ) 
 

Definition at line 1287 of file record.C.

References MWindow::edl, EDLSession::meter_format, mwindow, and EDL::session.

Referenced by RecordEngine::get_vu_format().

int Record::has_signal  ) 
 

Definition at line 1245 of file record.C.

References VideoDevice::has_signal(), and vdevice.

Referenced by ChannelPicker::has_signal().

int Record::init_next_file  ) 
 

Definition at line 716 of file record.C.

References Batch::assets, File::close_file(), Batch::current_asset, default_asset, file, get_current_batch(), mwindow, open_output_file(), Asset::path, SigHandler::pull_file(), and MWindow::sighandler.

int Record::load_defaults  ) 
 

Definition at line 135 of file record.C.

References EDLSession::aconfig_in, Batch::assets, Batch::channel, Asset::channels, dc_offset, default_asset, MWindow::defaults, VideoInConfig::driver, Batch::duration, MWindow::edl, Batch::enabled, fill_frames, Asset::frame_rate, VideoInConfig::h, Asset::height, VideoInConfig::in_framerate, AudioInConfig::in_samplerate, Asset::layers, PictureConfig::load_defaults(), Asset::load_defaults(), load_mode, MAXCHANNELS, monitor_audio, monitor_video, mwindow, new_batch(), Asset::path, picture, Batch::record_mode, reverse_interlace, Asset::sample_rate, EDL::session, Batch::start_day, Batch::start_time, Batch::start_type, Asset::vcodec, EDLSession::vconfig_in, video_window_open, video_x, video_y, video_zoom, VideoInConfig::w, and Asset::width.

Referenced by run().

Batch * Record::new_batch  ) 
 

Definition at line 622 of file record.C.

References batches, Batch::calculate_news(), Asset::copy_format(), Batch::copy_from(), Batch::create_default_path(), Batch::create_objects(), default_asset, editing_batch, Batch::get_current_asset(), get_editing_batch(), mwindow, record_gui, and RecordGUI::update_batch_tools().

Referenced by RecordGUINewBatch::handle_event(), and load_defaults().

int Record::open_input_devices int  duplex,
int  context
 

Definition at line 979 of file record.C.

References EDLSession::aconfig_duplex, EDLSession::aconfig_in, adevice, Asset::audio_data, VideoDevice::channel, Asset::channels, color_model, PictureConfig::copy_usage(), Channel::copy_usage(), dc_offset, default_asset, Asset::dither, MWindow::edl, Asset::frame_rate, VideoDevice::get_best_colormodel(), get_current_channel(), get_in_length(), AudioInConfig::is_duplex(), Asset::jpeg_quality, master_channel, mwindow, AudioDevice::open_duplex(), VideoDevice::open_input(), AudioDevice::open_input(), AudioDevice::open_output(), VideoDevice::picture, picture, Tracks::playable_audio_tracks(), EDLSession::playback_buffer, EDLSession::real_time_playback, EDLSession::record_software_position, reverse_interlace, Asset::sample_rate, EDL::session, VideoDevice::set_adevice(), set_channel(), AudioDevice::set_dc_offset(), VideoDevice::set_field_order(), VideoDevice::set_quality(), AudioDevice::set_record_dither(), AudioDevice::set_software_positioning(), AudioDevice::set_vdevice(), EDL::tracks, EDLSession::vconfig_in, vdevice, Asset::video_data, video_x, video_y, and video_zoom.

Referenced by resume_monitor(), RecordThread::run(), start_monitor(), and start_recording().

int Record::open_output_file  ) 
 

Definition at line 676 of file record.C.

References Batch::calculate_news(), default_asset, IndexFile::delete_index(), delete_output_file(), file, Asset::frame_rate, Batch::get_current_asset(), get_current_batch(), mwindow, File::open_file(), MWindow::preferences, Preferences::processors, SigHandler::push_file(), record_gui, Asset::sample_rate, File::set_processors(), MWindow::sighandler, and RecordGUI::update_batches().

Referenced by init_next_file(), and RecordThread::run().

int Record::pause_monitor  ) 
 

Definition at line 1143 of file record.C.

References capture_state, monitor_engine, and RecordThread::pause_recording().

Referenced by start_recording().

int Record::record_frame  ) 
 

int Record::resume_monitor  ) 
 

Definition at line 1152 of file record.C.

References capture_state, monitor_engine, monitor_timer, open_input_devices(), and RecordThread::resume_recording().

Referenced by RecordThread::run().

void Record::rewind_file  ) 
 

Definition at line 739 of file record.C.

References Asset::audio_data, Batch::current_frame, Batch::current_sample, default_asset, file, Asset::frame_rate, get_current_batch(), record_gui, File::set_audio_position(), File::set_video_position(), RecordGUI::update_position(), and Asset::video_data.

Referenced by RecordThread::run().

void Record::run  ) 
 

Definition at line 347 of file record.C.

References _, EDLSession::aspect_h, EDLSession::aspect_w, MWindow::asset_to_edl(), Batch::assets, batches, channeldb, FormatCheck::check_format(), MWindow::clear(), close_output_file(), configure_batches(), EDL::copy_session(), EDL::create_objects(), RecordWindow::create_objects(), current_batch, RecordMenuItem::current_state, default_asset, VideoInConfig::driver, editing_batch, edl, MWindow::edl, fixed_compression, get_channeldb_prefix(), Batch::get_current_asset(), VideoDevice::get_vcodec(), MWindow::gui, Asset::height, VideoDevice::is_compressed(), Batch::labels, EDLSession::labels_follow_edits, ChannelDB::load(), load_defaults(), load_mode, menu_item, monitor_engine, mwindow, EDLSession::output_h, EDLSession::output_w, MWindow::paste_edls(), EDLSession::plugins_follow_edits, prompt_cancel, record_engine, record_gui, record_monitor, record_window, RECORD_WINDOW_HEIGHT, RECORD_WINDOW_WIDTH, Batch::recorded, MWindow::restart_brender(), ChannelDB::save(), MWindow::save_backup(), MWindow::save_defaults(), save_defaults(), script, EDL::session, start_monitor(), stop_operation(), MWindow::sync_parameters(), MWindow::undo, MWindowGUI::update(), MWindow::update_plugin_guis(), MainUndo::update_undo(), Asset::vcodec, EDLSession::vconfig_in, video_window_open, Asset::width, and window_lock.

int Record::run_script Asset asset,
int &  do_audio,
int &  do_video
 

int Record::save_defaults  ) 
 

Definition at line 225 of file record.C.

References Batch::assets, batches, Batch::channel, Asset::channels, dc_offset, default_asset, MWindow::defaults, Batch::duration, editing_batch, Batch::enabled, fill_frames, fixed_compression, load_mode, MAXCHANNELS, monitor_audio, monitor_video, mwindow, Asset::path, picture, Batch::record_mode, reverse_interlace, PictureConfig::save_defaults(), Asset::save_defaults(), Batch::start_day, Batch::start_time, Batch::start_type, video_window_open, video_x, video_y, and video_zoom.

Referenced by run(), and ChannelEditThread::run().

int Record::save_engine_defaults  ) 
 

void Record::set_channel Channel channel  ) 
 

Definition at line 1240 of file record.C.

References VideoDevice::set_channel(), and vdevice.

int Record::set_channel int  channel  ) 
 

Definition at line 1214 of file record.C.

References RecordGUI::batch_source, Batch::channel, RecordMonitorGUI::channel_picker, ChannelPicker::channel_text, channeldb, ChannelDB::get(), get_editing_batch(), record_gui, record_monitor, VideoDevice::set_channel(), set_video_picture(), ChannelDB::size(), source_to_text(), RecordGUI::update_batches(), vdevice, and RecordMonitor::window.

Referenced by RecordSource::handle_event(), open_input_devices(), ChannelEditThread::run(), ChannelPicker::set_channel(), and ChannelPicker::set_channel_number().

int Record::set_loop_duration int64_t  value  ) 
 

Definition at line 1281 of file record.C.

References loop_duration.

Referenced by RecordEngine::run_script(), and RecordEngine::set_loop_duration().

int Record::set_rec_mode int  value  ) 
 

Definition at line 1291 of file record.C.

References record_mode.

int Record::set_script FileXML script  ) 
 

void Record::set_translation int  x,
int  y
 

Definition at line 1205 of file record.C.

References default_asset, VideoDevice::set_translation(), vdevice, Asset::video_data, video_x, and video_y.

Referenced by RecordMonitorCanvas::cursor_motion_event(), RecordMonitorCanvas::keypress_event(), and RecordMonitorCanvas::reset_translation().

int Record::set_video_picture  ) 
 

Definition at line 1198 of file record.C.

References default_asset, picture, VideoDevice::set_picture(), vdevice, and Asset::video_data.

Referenced by ChannelPicker::set_brightness(), set_channel(), ChannelPicker::set_color(), ChannelPicker::set_contrast(), ChannelPicker::set_hue(), ChannelPicker::set_picture(), and ChannelPicker::set_whiteness().

void Record::source_to_text char *  string,
Batch batch
 

Definition at line 306 of file record.C.

References _, Batch::channel, channeldb, VideoInConfig::driver, MWindow::edl, ChannelDB::get(), mwindow, EDL::session, ChannelDB::size(), Channel::title, and EDLSession::vconfig_in.

Referenced by set_channel(), and RecordGUI::update_batches().

void Record::start_file_threads  ) 
 

int Record::start_monitor  ) 
 

Definition at line 1128 of file record.C.

References capture_state, monitor_engine, monitor_timer, open_input_devices(), and RecordThread::start_recording().

Referenced by run().

void Record::start_over  ) 
 

Definition at line 756 of file record.C.

References File::close_file(), file, get_current_batch(), mwindow, SigHandler::pull_file(), record_gui, MWindow::sighandler, Batch::start_over(), stop_operation(), RecordGUI::update_batches(), and RecordGUI::update_position().

Referenced by RecordStartoverThread::run().

int Record::start_recording int  duplex,
int  context
 

Definition at line 1089 of file record.C.

References capture_state, delete_output_file(), RecordGUI::flash_batch(), open_input_devices(), pause_monitor(), prompt_cancel, record_engine, record_gui, and RecordThread::start_recording().

Referenced by RecordGUIRecFrame::handle_event(), RecordGUIRec::handle_event(), RecordGUIStartBatches::handle_event(), and RecordTransport::keypress_event().

int Record::stop_duplex  ) 
 

Definition at line 1164 of file record.C.

Referenced by RecordThread::run().

void Record::stop_file_threads  ) 
 

int Record::stop_monitor  ) 
 

Definition at line 1137 of file record.C.

References monitor_engine, and RecordThread::stop_recording().

int Record::stop_operation int  resume_monitor  ) 
 

Definition at line 1169 of file record.C.

References capture_state, monitor_engine, record_engine, and RecordThread::stop_recording().

Referenced by activate_batch(), RecordGUIStop::handle_event(), RecordTransport::keypress_event(), run(), and start_over().

void Record::swap_batches int  number1,
int  number2
 

int64_t Record::sync_position  ) 
 

Definition at line 960 of file record.C.

References capture_state, monitor_engine, record_engine, and RecordThread::sync_position().

Referenced by RecordVideo::run().

void Record::toggle_label  ) 
 

Definition at line 791 of file record.C.

References current_display_position(), get_current_batch(), record_gui, Batch::toggle_label(), and RecordGUI::update_labels().

Referenced by RecordGUILabel::handle_event().

int Record::use_floatingpoint  ) 
 


Member Data Documentation

AudioDevice* Record::adevice
 

Definition at line 168 of file record.h.

Referenced by close_input_devices(), open_input_devices(), Record(), RecordAudio::run(), RecordAudio::stop_recording(), and RecordAudio::sync_position().

int Record::append_to_file
 

Definition at line 259 of file record.h.

ArrayList<Batch*> Record::batches
 

Definition at line 109 of file record.h.

Referenced by configure_batches(), Batch::create_default_path(), current_asset(), current_duration(), current_duration_frames(), current_duration_samples(), current_news(), current_offset_type(), current_start(), delete_batch(), RecordGUIBatches::drag_stop_event(), get_current_batch(), get_editing_batch(), get_next_batch(), new_batch(), run(), save_defaults(), RecordGUIBatches::selection_changed(), and RecordGUI::update_batches().

int Record::capture_state
 

Definition at line 180 of file record.h.

Referenced by RecordTransport::keypress_event(), pause_monitor(), RecordThread::pause_recording(), Record(), resume_monitor(), RecordThread::run(), start_monitor(), start_recording(), stop_operation(), and sync_position().

ChannelDB* Record::channeldb
 

Definition at line 157 of file record.h.

Referenced by RecordMonitorGUI::create_objects(), get_current_channel_struct(), Batch::get_current_channel_struct(), Record(), run(), ChannelEditThread::run(), set_channel(), source_to_text(), and ~Record().

int Record::color_model
 

Definition at line 187 of file record.h.

Referenced by open_input_devices().

int Record::cpus
 

Definition at line 264 of file record.h.

int Record::current_batch
 

Definition at line 122 of file record.h.

Referenced by activate_batch(), current_asset(), current_duration(), current_duration_frames(), current_duration_samples(), current_news(), current_offset_type(), current_start(), delete_batch(), RecordGUI::flash_batch(), get_current_batch(), get_next_batch(), Record(), run(), and RecordGUI::update_batches().

int Record::current_channel
 

Definition at line 213 of file record.h.

int64_t Record::dc_offset[MAXCHANNELS]
 

Definition at line 258 of file record.h.

Referenced by RecordEngine::calibrate_dc_offset(), RecordEngine::get_dc_offset(), load_defaults(), RecordEngine::open_input_devices(), open_input_devices(), and save_defaults().

Asset* Record::default_asset
 

Definition at line 108 of file record.h.

Referenced by RecordAudio::arm_recording(), batch_video_offset(), configure_batches(), Batch::create_default_path(), RecordWindow::create_objects(), RecordTransport::create_objects(), RecordThread::create_objects(), RecordMonitorGUI::create_objects(), RecordMonitor::create_objects(), RecordGUI::create_objects(), current_audio_position(), current_display_position(), current_duration_frames(), current_duration_samples(), current_video_position(), get_audio_write_length(), RecordVideo::get_capture_frame(), RecordEngine::get_dither(), get_in_length(), RecordMonitorCanvas::get_output_h(), RecordMonitorCanvas::get_output_w(), get_video_inputs(), init_next_file(), RecordMonitorThread::init_output_format(), load_defaults(), new_batch(), open_input_devices(), open_output_file(), RecordThread::pause_recording(), RecordVideo::read_buffer(), RecordTransport::reposition_window(), RecordMonitorGUI::resize_event(), RecordVideo::rewind_file(), rewind_file(), RecordVideo::run(), RecordThread::run(), RecordAudio::run(), run(), save_defaults(), set_translation(), set_video_picture(), RecVideoMJPGThread::start_rendering(), RecordThread::sync_position(), RecordAudio::sync_position(), RecordGUI::update_batches(), RecordGUI::update_title(), RecordAudio::write_buffer(), and RecordMonitorCanvas::zoom_resize_window().

int Record::do_audio
 

Definition at line 112 of file record.h.

Referenced by RecordEngine::absolute_monitor_position(), RecordEngine::absolute_preview_position(), RecordEngine::absolute_record_position(), RecordEngine::calibrate_dc_offset(), RecordEngine::close_input_devices(), RecordEngine::close_output_devices(), RecordEngine::initialize(), RecordEngine::open_input_devices(), RecordEngine::open_output_devices(), RecordEngine::RecordEngine(), RecordEngine::save_frame(), and RecordEngine::start_over().

int Record::do_video
 

Definition at line 113 of file record.h.

Referenced by RecordEngine::change_channel(), RecordEngine::close_input_devices(), RecordEngine::get_video_inputs(), RecordEngine::goto_next_label(), RecordEngine::goto_prev_label(), RecordEngine::initialize(), RecordEngine::open_input_devices(), RecordEngine::RecordEngine(), RecordEngine::set_video_picture(), and RecordEngine::start_over().

PlaybackEngine* Record::duplex_engine
 

Definition at line 173 of file record.h.

int Record::editing_batch
 

Definition at line 124 of file record.h.

Referenced by change_editing_batch(), delete_batch(), RecordGUIBatches::drag_stop_event(), get_editing_batch(), RecordGUIActivateBatch::handle_event(), new_batch(), Record(), run(), save_defaults(), and RecordGUI::update_batches().

EDL* Record::edl
 

Definition at line 193 of file record.h.

Referenced by run(), and RecordMonitorThread::show_output_frame().

int64_t Record::endsource_frame
 

Definition at line 257 of file record.h.

int64_t Record::endsource_sample
 

Definition at line 255 of file record.h.

File* Record::file
 

Definition at line 171 of file record.h.

Referenced by Batch::calculate_news(), close_output_file(), current_audio_position(), current_video_position(), delete_output_file(), init_next_file(), open_output_file(), Record(), RecordVideo::rewind_file(), rewind_file(), RecordVideo::run(), RecordThread::run(), RecordAudio::run(), start_over(), RecordVideo::write_buffer(), and RecordAudio::write_buffer().

int Record::fill_frames
 

Definition at line 191 of file record.h.

Referenced by RecordGUIFillFrames::handle_event(), load_defaults(), RecordVideo::run(), and save_defaults().

int Record::fixed_compression
 

Definition at line 120 of file record.h.

Referenced by RecordWindow::create_objects(), RecordVideo::get_capture_frame(), run(), and save_defaults().

int Record::frame_h
 

Definition at line 262 of file record.h.

Referenced by RecordMonitor::get_scale().

int Record::frame_w
 

Definition at line 261 of file record.h.

Referenced by RecordMonitor::get_scale().

int Record::load_mode
 

Definition at line 111 of file record.h.

Referenced by load_defaults(), run(), and save_defaults().

LoadMode* Record::loadmode
 

Definition at line 162 of file record.h.

int64_t Record::loop_duration
 

Definition at line 253 of file record.h.

Referenced by RecordEngine::get_loop_duration(), RecordEngine::get_loop_hr(), RecordEngine::get_loop_min(), RecordEngine::get_loop_sec(), and set_loop_duration().

Channel* Record::master_channel
 

Definition at line 159 of file record.h.

Referenced by ChannelEditWindow::add_channel(), ChannelPicker::get_channel_usage(), open_input_devices(), Record(), and ~Record().

RecordMenuItem* Record::menu_item
 

Definition at line 216 of file record.h.

Referenced by run().

int Record::monitor_audio
 

Definition at line 114 of file record.h.

Referenced by RecordMonitorGUI::close_event(), RecordGUIMonitorAudio::handle_event(), load_defaults(), RecordAudio::run(), and save_defaults().

RecordThread* Record::monitor_engine
 

Definition at line 166 of file record.h.

Referenced by pause_monitor(), resume_monitor(), run(), start_monitor(), stop_monitor(), stop_operation(), and sync_position().

Timer Record::monitor_timer
 

Definition at line 178 of file record.h.

Referenced by resume_monitor(), and start_monitor().

int Record::monitor_video
 

Definition at line 115 of file record.h.

Referenced by RecordMonitorGUI::close_event(), RecordGUIMonitorVideo::handle_event(), load_defaults(), RecordVideo::run(), and save_defaults().

MWindow* Record::mwindow
 

Definition at line 163 of file record.h.

Referenced by close_output_file(), enable_duplex(), get_audio_write_length(), get_channeldb_prefix(), get_everyframe(), get_in_buffersize(), get_in_length(), get_meter_speed(), get_min_db(), get_out_buffersize(), get_out_length(), get_playback_buffer(), get_software_positioning(), get_time_format(), get_video_buffersize(), get_vu_format(), init_next_file(), load_defaults(), new_batch(), open_input_devices(), open_output_file(), RecVideoMJPGThread::render_frame(), RecordStartoverThread::run(), RecordCancelThread::run(), run(), save_defaults(), source_to_text(), and start_over().

PictureConfig* Record::picture
 

Definition at line 189 of file record.h.

Referenced by ChannelPicker::get_brightness(), ChannelPicker::get_color(), ChannelPicker::get_contrast(), ChannelPicker::get_control(), ChannelPicker::get_controls(), ChannelPicker::get_hue(), ChannelPicker::get_picture_usage(), ChannelPicker::get_whiteness(), load_defaults(), open_input_devices(), Record(), save_defaults(), ChannelPicker::set_brightness(), ChannelPicker::set_color(), ChannelPicker::set_contrast(), ChannelPicker::set_hue(), ChannelPicker::set_picture(), set_video_picture(), ChannelPicker::set_whiteness(), and ~Record().

int Record::prompt_cancel
 

Definition at line 118 of file record.h.

Referenced by RecordCancelThread::run(), run(), and start_recording().

int Record::realtime
 

Definition at line 251 of file record.h.

Referenced by get_realtime().

RecordThread* Record::record_engine
 

Definition at line 167 of file record.h.

Referenced by run(), start_recording(), stop_operation(), and sync_position().

RecordGUI* Record::record_gui
 

Definition at line 164 of file record.h.

Referenced by activate_batch(), change_editing_batch(), RecordMonitorGUI::close_event(), delete_batch(), delete_output_file(), RecordThread::do_cron(), RecordGUIRewind::handle_event(), RecordGUIDeleteBatch::handle_event(), RecordGUINewBatch::handle_event(), RecordMode::handle_event(), RecordDuration::handle_event(), RecordStart::handle_event(), RecordPath::handle_event(), RecordMenuItem::handle_event(), RecordMonitorGUI::keypress_event(), new_batch(), open_output_file(), RecordAudio::RecordAudio(), RecordVideo::RecordVideo(), rewind_file(), run(), ChannelEditThread::run(), set_channel(), start_over(), start_recording(), and toggle_label().

int Record::record_mode
 

Definition at line 260 of file record.h.

Referenced by current_mode(), get_rec_mode(), RecordEngine::get_record_mode(), set_rec_mode(), and RecordEngine::set_record_mode().

RecordMonitor* Record::record_monitor
 

Definition at line 165 of file record.h.

Referenced by RecordGUIMonitorAudio::handle_event(), RecordGUIMonitorVideo::handle_event(), RecordVideo::run(), RecordAudio::run(), run(), set_channel(), and RecordGUI::update_batch_sources().

RecordWindow* Record::record_window
 

Definition at line 174 of file record.h.

Referenced by RecordMenuItem::handle_event(), and run().

int Record::reverse_interlace
 

Definition at line 185 of file record.h.

Referenced by ReverseInterlace::handle_event(), load_defaults(), open_input_devices(), RecordVideo::run(), and save_defaults().

FileXML* Record::script
 

Definition at line 215 of file record.h.

Referenced by Record(), and run().

int64_t Record::startsource_frame
 

Definition at line 256 of file record.h.

Referenced by RecordEngine::start_over().

int64_t Record::startsource_sample
 

Definition at line 254 of file record.h.

Referenced by RecordEngine::start_over().

int Record::to_tracks
 

Definition at line 252 of file record.h.

Referenced by RecordToTracks::handle_event().

VideoDevice* Record::vdevice
 

Definition at line 169 of file record.h.

Referenced by close_input_devices(), RecordVideo::get_capture_frame(), get_video_inputs(), has_signal(), RecordMonitorThread::init_output_format(), open_input_devices(), RecordVideo::read_buffer(), Record(), RecordVideo::rewind_file(), RecordVideo::run(), RecordThread::run(), set_channel(), set_translation(), set_video_picture(), and RecordVideo::stop_recording().

int Record::video_window_open
 

Definition at line 116 of file record.h.

Referenced by RecordMonitorGUI::close_event(), RecordGUIMonitorAudio::handle_event(), RecordGUIMonitorVideo::handle_event(), load_defaults(), run(), RecordEngine::run_script(), and save_defaults().

int Record::video_window_w
 

Definition at line 263 of file record.h.

Referenced by RecordMonitorGUI::set_title().

int Record::video_x
 

Definition at line 182 of file record.h.

Referenced by RecordMonitorCanvas::button_press_event(), RecordMonitorCanvas::keypress_event(), RecordMonitorGUI::keypress_event(), load_defaults(), open_input_devices(), save_defaults(), RecordGUI::set_translation(), and set_translation().

int Record::video_y
 

Definition at line 183 of file record.h.

Referenced by RecordMonitorCanvas::button_press_event(), RecordMonitorCanvas::keypress_event(), RecordMonitorGUI::keypress_event(), load_defaults(), open_input_devices(), save_defaults(), RecordGUI::set_translation(), and set_translation().

float Record::video_zoom
 

Definition at line 184 of file record.h.

Referenced by RecordMonitorGUI::keypress_event(), load_defaults(), open_input_devices(), save_defaults(), and RecordGUI::set_translation().

Mutex* Record::window_lock
 

Definition at line 194 of file record.h.

Referenced by RecordMenuItem::handle_event(), Record(), run(), and ~Record().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:23 2006 for Cinelerra-svn by  doxygen 1.4.4