#include <filemov.h>
Inherits Thread.

Public Member Functions | |
| FileMOVThread (FileMOV *filemov, int fields) | |
| ~FileMOVThread () | |
| int | start_encoding () |
| int | stop_encoding () |
| int | encode_buffer () |
| void | run () |
Data Fields | |
| ThreadStruct * | threadframe |
| int | done |
| FileMOV * | filemov |
| Condition * | input_lock |
| mjpeg_t * | mjpeg |
| int | fields |
Definition at line 123 of file filemov.h.
| FileMOVThread::FileMOVThread | ( | FileMOV * | filemov, | |
| int | fields | |||
| ) |
| FileMOVThread::~FileMOVThread | ( | ) |
| int FileMOVThread::start_encoding | ( | ) |
Definition at line 1277 of file filemov.C.
References FileBase::asset, done, fields, filemov, Asset::height, input_lock, Asset::jpeg_quality, Condition::lock(), mjpeg, mjpeg_new(), mjpeg_set_float(), mjpeg_set_quality(), Thread::set_synchronous(), Thread::start(), and Asset::width.
Referenced by FileMOV::write_frames().

| int FileMOVThread::stop_encoding | ( | ) |
Definition at line 1290 of file filemov.C.
References done, input_lock, Thread::join(), mjpeg, mjpeg_delete(), and Condition::unlock().
Referenced by FileMOV::close_file().

| int FileMOVThread::encode_buffer | ( | ) |
Definition at line 1298 of file filemov.C.
References input_lock, and Condition::unlock().
Referenced by FileMOV::write_frames().

| void FileMOVThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 1303 of file filemov.C.
References FileBase::asset, ThreadStruct::completion_lock, FileMOV::current_threadframe, done, fields, filemov, Asset::format, VFrame::get_color_model(), VFrame::get_rows(), VFrame::get_u(), VFrame::get_v(), VFrame::get_y(), ThreadStruct::input, input_lock, ThreadStruct::load_output(), Mutex::lock(), Condition::lock(), mjpeg, mjpeg_compress(), mjpeg_insert_avi_markers(), mjpeg_insert_quicktime_markers(), mjpeg_output_allocated(), mjpeg_output_buffer(), mjpeg_output_size(), mjpeg_set_output_size(), threadframe, FileMOV::threadframe_lock, FileMOV::threadframes, FileMOV::total_threadframes, Mutex::unlock(), Condition::unlock(), and ArrayList< TYPE >::values.

Definition at line 135 of file filemov.h.
Referenced by run(), start_encoding(), and stop_encoding().
Definition at line 137 of file filemov.h.
Referenced by encode_buffer(), FileMOVThread(), run(), start_encoding(), stop_encoding(), and ~FileMOVThread().
Definition at line 138 of file filemov.h.
Referenced by FileMOVThread(), run(), start_encoding(), and stop_encoding().
1.5.5