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

RecordMonitorThread Class Reference

#include <recordmonitor.h>

List of all members.

Public Member Functions

 RecordMonitorThread (MWindow *mwindow, Record *record, RecordMonitor *record_monitor)
 ~RecordMonitorThread ()
void reset_parameters ()
void run ()
void init_output_format ()
int start_playback ()
int stop_playback ()
int write_frame (VFrame *new_frame)
int render_frame ()
void unlock_input ()
void new_output_frame ()

Public Attributes

VFrame * input_frame
VFrame * output_frame [MAX_CHANNELS]
int output_colormodel
Condition * output_lock
Condition * input_lock
Recordrecord
RecordMonitorrecord_monitor
MWindowmwindow
int shared_data

Private Member Functions

void show_output_frame ()
void render_uncompressed ()
int render_jpeg ()
int render_dv ()

Private Attributes

int ready
int done
RecVideoMJPGThreadjpeg_engine
RecVideoDVThreaddv_engine


Detailed Description

Definition at line 128 of file recordmonitor.h.


Constructor & Destructor Documentation

RecordMonitorThread::RecordMonitorThread MWindow mwindow,
Record record,
RecordMonitor record_monitor
 

Definition at line 737 of file recordmonitor.C.

References input_lock, output_lock, and reset_parameters().

RecordMonitorThread::~RecordMonitorThread  ) 
 

Definition at line 762 of file recordmonitor.C.

References input_frame, input_lock, output_lock, and shared_data.


Member Function Documentation

void RecordMonitorThread::init_output_format  ) 
 

Definition at line 769 of file recordmonitor.C.

References Record::default_asset, VideoInConfig::driver, dv_engine, MWindow::edl, VideoDevice::get_best_colormodel(), jpeg_engine, mwindow, output_colormodel, record, EDL::session, RecVideoDVThread::start_rendering(), RecVideoMJPGThread::start_rendering(), EDLSession::vconfig_in, and Record::vdevice.

Referenced by write_frame().

void RecordMonitorThread::new_output_frame  ) 
 

Definition at line 938 of file recordmonitor.C.

References RecordMonitor::device, VideoDevice::new_output_buffers(), output_colormodel, output_frame, and record_monitor.

Referenced by run().

int RecordMonitorThread::render_dv  )  [private]
 

Definition at line 884 of file recordmonitor.C.

References dv_engine, input_frame, and RecVideoDVThread::render_frame().

Referenced by render_frame().

int RecordMonitorThread::render_frame  ) 
 

Definition at line 916 of file recordmonitor.C.

References VideoInConfig::driver, MWindow::edl, mwindow, render_dv(), render_jpeg(), render_uncompressed(), EDL::session, and EDLSession::vconfig_in.

Referenced by run().

int RecordMonitorThread::render_jpeg  )  [private]
 

Definition at line 876 of file recordmonitor.C.

References input_frame, jpeg_engine, and RecVideoMJPGThread::render_frame().

Referenced by render_frame().

void RecordMonitorThread::render_uncompressed  )  [private]
 

Definition at line 890 of file recordmonitor.C.

References input_frame, and output_frame.

Referenced by render_frame().

void RecordMonitorThread::reset_parameters  ) 
 

Definition at line 751 of file recordmonitor.C.

References dv_engine, input_frame, jpeg_engine, output_frame, ready, and shared_data.

Referenced by RecordMonitorThread().

void RecordMonitorThread::run  ) 
 

Definition at line 946 of file recordmonitor.C.

References done, new_output_frame(), output_lock, ready, render_frame(), show_output_frame(), and unlock_input().

void RecordMonitorThread::show_output_frame  )  [private]
 

Definition at line 906 of file recordmonitor.C.

References RecordMonitor::device, Record::edl, output_frame, record, record_monitor, and VideoDevice::write_buffer().

Referenced by run().

int RecordMonitorThread::start_playback  ) 
 

Definition at line 803 of file recordmonitor.C.

References done, output_lock, and ready.

Referenced by RecordMonitor::create_objects().

int RecordMonitorThread::stop_playback  ) 
 

Definition at line 812 of file recordmonitor.C.

References done, VideoInConfig::driver, dv_engine, MWindow::edl, jpeg_engine, mwindow, output_lock, EDL::session, RecVideoDVThread::stop_rendering(), RecVideoMJPGThread::stop_rendering(), and EDLSession::vconfig_in.

Referenced by RecordMonitor::~RecordMonitor().

void RecordMonitorThread::unlock_input  ) 
 

Definition at line 911 of file recordmonitor.C.

References input_lock, and shared_data.

Referenced by run().

int RecordMonitorThread::write_frame VFrame *  new_frame  ) 
 

Definition at line 844 of file recordmonitor.C.

References init_output_format(), input_frame, input_lock, output_frame, output_lock, ready, and shared_data.

Referenced by RecordMonitor::update().


Member Data Documentation

int RecordMonitorThread::done [private]
 

Definition at line 168 of file recordmonitor.h.

Referenced by run(), start_playback(), and stop_playback().

RecVideoDVThread* RecordMonitorThread::dv_engine [private]
 

Definition at line 170 of file recordmonitor.h.

Referenced by init_output_format(), render_dv(), reset_parameters(), and stop_playback().

VFrame* RecordMonitorThread::input_frame
 

Definition at line 146 of file recordmonitor.h.

Referenced by render_dv(), render_jpeg(), render_uncompressed(), reset_parameters(), write_frame(), and ~RecordMonitorThread().

Condition* RecordMonitorThread::input_lock
 

Definition at line 153 of file recordmonitor.h.

Referenced by RecordMonitorThread(), unlock_input(), write_frame(), and ~RecordMonitorThread().

RecVideoMJPGThread* RecordMonitorThread::jpeg_engine [private]
 

Definition at line 169 of file recordmonitor.h.

Referenced by init_output_format(), render_jpeg(), reset_parameters(), and stop_playback().

MWindow* RecordMonitorThread::mwindow
 

Definition at line 156 of file recordmonitor.h.

Referenced by init_output_format(), render_frame(), and stop_playback().

int RecordMonitorThread::output_colormodel
 

Definition at line 150 of file recordmonitor.h.

Referenced by init_output_format(), and new_output_frame().

VFrame* RecordMonitorThread::output_frame[MAX_CHANNELS]
 

Definition at line 148 of file recordmonitor.h.

Referenced by new_output_frame(), RecVideoDVThread::render_frame(), RecVideoMJPGThread::render_frame(), render_uncompressed(), reset_parameters(), show_output_frame(), and write_frame().

Condition* RecordMonitorThread::output_lock
 

Definition at line 152 of file recordmonitor.h.

Referenced by RecordMonitorThread(), run(), start_playback(), stop_playback(), write_frame(), and ~RecordMonitorThread().

int RecordMonitorThread::ready [private]
 

Definition at line 167 of file recordmonitor.h.

Referenced by reset_parameters(), run(), start_playback(), and write_frame().

Record* RecordMonitorThread::record
 

Definition at line 154 of file recordmonitor.h.

Referenced by init_output_format(), and show_output_frame().

RecordMonitor* RecordMonitorThread::record_monitor
 

Definition at line 155 of file recordmonitor.h.

Referenced by new_output_frame(), and show_output_frame().

int RecordMonitorThread::shared_data
 

Definition at line 158 of file recordmonitor.h.

Referenced by reset_parameters(), unlock_input(), write_frame(), and ~RecordMonitorThread().


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