RecordMonitorThread Class Reference

#include <recordmonitor.h>

Inherits Thread.

Collaboration diagram for RecordMonitorThread:

Collaboration graph
[legend]

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 ()

Data Fields

VFrameinput_frame
VFrameoutput_frame
int output_colormodel
Conditionoutput_lock
Conditioninput_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 136 of file recordmonitor.h.


Constructor & Destructor Documentation

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

Definition at line 796 of file recordmonitor.C.

References input_lock, output_lock, and reset_parameters().

Here is the call graph for this function:

RecordMonitorThread::~RecordMonitorThread (  ) 

Definition at line 821 of file recordmonitor.C.

References input_frame, input_lock, output_lock, and shared_data.


Member Function Documentation

void RecordMonitorThread::reset_parameters (  ) 

Definition at line 810 of file recordmonitor.C.

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

Referenced by RecordMonitorThread().

void RecordMonitorThread::run (  )  [virtual]

Implements Thread.

Definition at line 992 of file recordmonitor.C.

References done, Condition::lock(), new_output_frame(), output_lock, ready, render_frame(), SET_TRACE, show_output_frame(), and unlock_input().

Here is the call graph for this function:

void RecordMonitorThread::init_output_format (  ) 

int RecordMonitorThread::start_playback (  ) 

Definition at line 862 of file recordmonitor.C.

References done, Condition::lock(), output_lock, ready, and Thread::start().

Here is the call graph for this function:

int RecordMonitorThread::stop_playback (  ) 

int RecordMonitorThread::write_frame ( VFrame new_frame  ) 

int RecordMonitorThread::render_frame (  ) 

Definition at line 964 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().

Here is the call graph for this function:

void RecordMonitorThread::unlock_input (  ) 

Definition at line 959 of file recordmonitor.C.

References input_lock, shared_data, and Condition::unlock().

Referenced by run().

Here is the call graph for this function:

void RecordMonitorThread::new_output_frame (  ) 

Definition at line 986 of file recordmonitor.C.

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

Referenced by run().

Here is the call graph for this function:

void RecordMonitorThread::show_output_frame (  )  [private]

Definition at line 954 of file recordmonitor.C.

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

Referenced by run().

Here is the call graph for this function:

void RecordMonitorThread::render_uncompressed (  )  [private]

Definition at line 949 of file recordmonitor.C.

References VFrame::copy_from(), input_frame, and output_frame.

Referenced by render_frame().

Here is the call graph for this function:

int RecordMonitorThread::render_jpeg (  )  [private]

Definition at line 935 of file recordmonitor.C.

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

Referenced by render_frame().

Here is the call graph for this function:

int RecordMonitorThread::render_dv (  )  [private]

Definition at line 943 of file recordmonitor.C.

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

Referenced by render_frame().

Here is the call graph for this function:


Field Documentation

Definition at line 158 of file recordmonitor.h.

Referenced by init_output_format(), and new_output_frame().

Definition at line 162 of file recordmonitor.h.

Referenced by init_output_format(), and show_output_frame().

Definition at line 163 of file recordmonitor.h.

Referenced by new_output_frame(), and show_output_frame().

Definition at line 164 of file recordmonitor.h.

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

Definition at line 166 of file recordmonitor.h.

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

Definition at line 175 of file recordmonitor.h.

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

Definition at line 176 of file recordmonitor.h.

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

Definition at line 177 of file recordmonitor.h.

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

Definition at line 178 of file recordmonitor.h.

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


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

Generated on Mon Apr 28 14:39:25 2008 for Cinelerra by  doxygen 1.5.5