#include <colorbalance.h>
Inherits Thread.

Public Member Functions | |
| ColorBalanceEngine (ColorBalanceMain *plugin) | |
| ~ColorBalanceEngine () | |
| int | start_process_frame (VFrame *output, VFrame *input, int row_start, int row_end) |
| int | wait_process_frame () |
| void | run () |
Data Fields | |
| ColorBalanceMain * | plugin |
| int | row_start |
| int | row_end |
| int | last_frame |
| Condition | input_lock |
| Condition | output_lock |
| VFrame * | input |
| VFrame * | output |
| YUV | yuv |
| float | cyan_f |
| float | magenta_f |
| float | yellow_f |
Definition at line 38 of file colorbalance.h.
| ColorBalanceEngine::ColorBalanceEngine | ( | ColorBalanceMain * | plugin | ) |
Definition at line 75 of file colorbalance.C.
References last_frame, and Thread::set_synchronous().

| ColorBalanceEngine::~ColorBalanceEngine | ( | ) |
Definition at line 83 of file colorbalance.C.
References input_lock, Thread::join(), last_frame, and Condition::unlock().

| int ColorBalanceEngine::start_process_frame | ( | VFrame * | output, | |
| VFrame * | input, | |||
| int | row_start, | |||
| int | row_end | |||
| ) |
Definition at line 91 of file colorbalance.C.
References input_lock, and Condition::unlock().
Referenced by ColorBalanceMain::process_buffer().

| int ColorBalanceEngine::wait_process_frame | ( | ) |
Definition at line 102 of file colorbalance.C.
References Condition::lock(), and output_lock.
Referenced by ColorBalanceMain::process_buffer().

| void ColorBalanceEngine::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 108 of file colorbalance.C.
References BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::get_color_model(), input, input_lock, last_frame, Condition::lock(), output_lock, PROCESS, PROCESS_F, YUV::rgb_to_yuv_16(), YUV::rgb_to_yuv_8(), Condition::unlock(), yuv, YUV::yuv_to_rgb_16(), and YUV::yuv_to_rgb_8().

Definition at line 48 of file colorbalance.h.
Definition at line 49 of file colorbalance.h.
Definition at line 49 of file colorbalance.h.
Definition at line 50 of file colorbalance.h.
Referenced by ColorBalanceEngine(), run(), and ~ColorBalanceEngine().
Definition at line 51 of file colorbalance.h.
Referenced by run(), start_process_frame(), and ~ColorBalanceEngine().
Definition at line 52 of file colorbalance.h.
Definition at line 54 of file colorbalance.h.
Definition at line 54 of file colorbalance.h.
Definition at line 54 of file colorbalance.h.
1.5.5