#include <threshold.h>
Inherits LoadClient.

Public Member Functions | |
| ThresholdUnit (ThresholdEngine *server) | |
| void | process_package (LoadPackage *package) |
Data Fields | |
| ThresholdEngine * | server |
Private Member Functions | |
| template<typename TYPE, int COMPONENTS, bool USE_YUV> | |
| void | render_data (LoadPackage *package) |
Definition at line 116 of file threshold.h.
| ThresholdUnit::ThresholdUnit | ( | ThresholdEngine * | server | ) |
Definition at line 434 of file threshold.C.
| void ThresholdUnit::process_package | ( | LoadPackage * | package | ) | [virtual] |
Reimplemented from LoadClient.
Definition at line 597 of file threshold.C.
References BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, ThresholdEngine::data, VFrame::get_color_model(), and server.

| void ThresholdUnit::render_data | ( | LoadPackage * | package | ) | [inline, private] |
Definition at line 497 of file threshold.C.
References RGBA::a, b, RGBA::b, ThresholdEngine::data, HistogramEngine::data, Thread::end(), RGBA::g, get_component(), VFrame::get_h(), VFrame::get_rows(), VFrame::get_w(), ThresholdConfig::high_color, ThresholdConfig::low_color, ThresholdConfig::max, ThresholdConfig::mid_color, ThresholdConfig::min, min, ThresholdEngine::plugin, r, RGBA::r, rgb_to_yuv(), server, ThresholdPackage::start, and ThresholdEngine::yuv.

Reimplemented from LoadClient.
Definition at line 122 of file threshold.h.
Referenced by process_package(), and render_data().
1.5.5