#include <brender.h>
Inherits Thread.

Public Member Functions | |
| BRenderThread (MWindow *mwindow, BRender *brender) | |
| ~BRenderThread () | |
| int | is_done (int do_lock) |
| void | send_command (BRenderCommand *command) |
| void | run () |
| void | stop () |
| void | start () |
| void | initialize () |
Data Fields | |
| MWindow * | mwindow |
| BRender * | brender |
| BRenderCommand * | command_queue |
| BRenderCommand * | command |
| Condition * | input_lock |
| Mutex * | thread_lock |
| RenderFarmServer * | farm_server |
| PackageDispatcher * | packages |
| Preferences * | preferences |
| int | farm_result |
| double | fps_result |
| int64_t | total_frames |
| Mutex * | total_frames_lock |
| int | done |
Definition at line 150 of file brender.h.
Definition at line 350 of file brender.C.
References command, command_queue, done, farm_result, farm_server, input_lock, preferences, thread_lock, and total_frames_lock.
| BRenderThread::~BRenderThread | ( | ) |
Definition at line 366 of file brender.C.
References command, command_queue, done, input_lock, Thread::join(), Mutex::lock(), preferences, thread_lock, total_frames_lock, Mutex::unlock(), and Condition::unlock().

| int BRenderThread::is_done | ( | int | do_lock | ) |
Definition at line 406 of file brender.C.
References done, Mutex::lock(), thread_lock, and Mutex::unlock().
Referenced by run().

| void BRenderThread::send_command | ( | BRenderCommand * | command | ) |
Definition at line 387 of file brender.C.
References command_queue, input_lock, Mutex::lock(), thread_lock, TRACE, Mutex::unlock(), and Condition::unlock().
Referenced by BRender::restart(), and BRender::stop().

| void BRenderThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 414 of file brender.C.
References brender, BRenderCommand::BRENDER_RESTART, BRenderCommand::BRENDER_STOP, command, BRenderCommand::command, command_queue, BRender::completion_lock, BRenderCommand::edl, EDL::equivalent_output(), input_lock, is_done(), Condition::lock(), Mutex::lock(), BRenderCommand::position, start(), stop(), thread_lock, Tracks::total_playable_vtracks(), EDL::tracks, and Mutex::unlock().

| void BRenderThread::stop | ( | ) |
Definition at line 495 of file brender.C.
References brender, BRender::completion_lock, farm_result, farm_server, packages, preferences, Condition::unlock(), and RenderFarmServer::wait_clients().
Referenced by run().

| void BRenderThread::start | ( | ) |
Reimplemented from Thread.
Definition at line 511 of file brender.C.
References Preferences::add_node(), BRender::allocate_map(), brender, Preferences::brender_asset, EDLSession::brender_start, command, Preferences::copy_from(), PackageDispatcher::create_packages(), Preferences::delete_nodes(), BRenderCommand::edl, end_frame, farm_result, farm_server, fps_result, EDLSession::frame_rate, Asset::frame_rate, Asset::height, EDLSession::interlace_mode, Asset::interlace_mode, BRender::last_contiguous, Preferences::local_rate, MAX, MIN, mwindow, EDLSession::output_h, EDLSession::output_w, packages, MWindow::plugindb, BRenderCommand::position, MWindow::preferences, preferences, Units::round(), EDL::session, BRender::socket_path, RenderFarmServer::start_clients(), start_frame, total_frames, total_frames_lock, Tracks::total_video_length(), EDL::tracks, Asset::use_header, Preferences::use_renderfarm, and Asset::width.
Referenced by run().

| void BRenderThread::initialize | ( | ) |
Definition at line 382 of file brender.C.
References Thread::start().
Referenced by BRender::initialize().

Definition at line 165 of file brender.h.
Referenced by BRenderThread(), run(), send_command(), and ~BRenderThread().
Definition at line 166 of file brender.h.
Referenced by BRenderThread(), run(), start(), and ~BRenderThread().
Definition at line 167 of file brender.h.
Referenced by BRenderThread(), run(), send_command(), and ~BRenderThread().
Definition at line 168 of file brender.h.
Referenced by BRenderThread(), is_done(), run(), send_command(), and ~BRenderThread().
Definition at line 173 of file brender.h.
Referenced by BRenderThread(), start(), stop(), and ~BRenderThread().
| double BRenderThread::fps_result |
| int64_t BRenderThread::total_frames |
Definition at line 179 of file brender.h.
Referenced by BRenderThread(), start(), and ~BRenderThread().
Definition at line 180 of file brender.h.
Referenced by BRenderThread(), is_done(), and ~BRenderThread().
1.5.5