#include <colorbalance.h>
Inherits PluginVClient.

Definition at line 57 of file colorbalance.h.
| ColorBalanceMain::ColorBalanceMain | ( | PluginServer * | server | ) |
Definition at line 331 of file colorbalance.C.
References engine, need_reconfigure, and PLUGIN_CONSTRUCTOR_MACRO.
| ColorBalanceMain::~ColorBalanceMain | ( | ) |
Definition at line 339 of file colorbalance.C.
References engine, PLUGIN_DESTRUCTOR_MACRO, and total_engines.
| int ColorBalanceMain::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 463 of file colorbalance.C.
References calculate_transfer(), config, ColorBalanceConfig::cyan, VFrame::dump_stacks(), engine, EQUIV, get_aggregation(), PluginVClient::get_framerate(), PluginVClient::get_output(), PluginClient::get_source_position(), PluginClient::get_use_opengl(), load_configuration(), ColorBalanceConfig::magenta, need_reconfigure, PluginVClient::next_effect_is(), ColorBalanceConfig::preserve, PluginVClient::read_frame(), reconfigure(), PluginVClient::run_opengl(), PluginClient::smp, Thread::start(), ColorBalanceEngine::start_process_frame(), total_engines, ColorBalanceEngine::wait_process_frame(), and ColorBalanceConfig::yellow.

| int ColorBalanceMain::is_realtime | ( | ) | [virtual] |
| char * ColorBalanceMain::plugin_title | ( | ) | [virtual] |
| int ColorBalanceMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void ColorBalanceMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 540 of file colorbalance.C.
References config, ColorBalanceConfig::cyan, load_configuration(), ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, ColorBalanceConfig::preserve, thread, and ColorBalanceConfig::yellow.

| void ColorBalanceMain::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ColorBalanceMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ColorBalanceMain::load_configuration | ( | ) |
Referenced by process_buffer(), and update_gui().
| void ColorBalanceMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 586 of file colorbalance.C.
References FileXML::append_tag(), config, ColorBalanceConfig::cyan, KeyFrame::data, ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, PluginVClient::output, ColorBalanceConfig::preserve, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, FileXML::terminate_string(), and ColorBalanceConfig::yellow.

| void ColorBalanceMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 604 of file colorbalance.C.
References config, ColorBalanceConfig::cyan, KeyFrame::data, XMLTag::get_property(), PluginVClient::input, ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, ColorBalanceConfig::preserve, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, XMLTag::title_is(), and ColorBalanceConfig::yellow.

| int ColorBalanceMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 557 of file colorbalance.C.
References BCASTDIR, config, ColorBalanceConfig::cyan, defaults, BC_Hash::get(), BC_Hash::load(), ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, ColorBalanceConfig::preserve, and ColorBalanceConfig::yellow.

| int ColorBalanceMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 575 of file colorbalance.C.
References config, ColorBalanceConfig::cyan, defaults, ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, ColorBalanceConfig::preserve, BC_Hash::save(), BC_Hash::update(), and ColorBalanceConfig::yellow.

| VFrame* ColorBalanceMain::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ColorBalanceMain::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 651 of file colorbalance.C.
References VFrame::bind_texture(), COLORBALANCE_COMPILE, COLORBALANCE_UNIFORMS, VFrame::draw_texture(), VFrame::enable_opengl(), GAMMA_COMPILE, GAMMA_UNIFORMS, get_aggregation(), PluginVClient::get_output(), VFrame::init_screen(), INTERPOLATE_COMPILE, INTERPOLATE_UNIFORMS, VFrame::make_shader(), VFrame::SCREEN, VFrame::set_opengl_state(), and VFrame::to_texture().

| void ColorBalanceMain::get_aggregation | ( | int * | aggregate_interpolate, | |
| int * | aggregate_gamma | |||
| ) |
Definition at line 630 of file colorbalance.C.
References PluginVClient::get_output().
Referenced by handle_opengl(), and process_buffer().

| int64_t ColorBalanceMain::calculate_slider | ( | float | in | ) |
Definition at line 381 of file colorbalance.C.
References MAX_COLOR.
Referenced by ColorBalanceWhite::handle_event().
| float ColorBalanceMain::calculate_transfer | ( | float | in | ) |
Definition at line 396 of file colorbalance.C.
References MAX_COLOR.
Referenced by ColorBalanceSlider::get_caption(), process_buffer(), and reconfigure().
| int ColorBalanceMain::reconfigure | ( | ) |
Definition at line 358 of file colorbalance.C.
References b_lookup_16, b_lookup_8, calculate_transfer(), config, ColorBalanceConfig::cyan, g_lookup_16, g_lookup_8, ColorBalanceConfig::magenta, r_lookup_16, r_lookup_8, RECONFIGURE, and ColorBalanceConfig::yellow.
Referenced by process_buffer().

| int ColorBalanceMain::synchronize_params | ( | ColorBalanceSlider * | slider, | |
| float | difference | |||
| ) |
Definition at line 422 of file colorbalance.C.
References config, ColorBalanceConfig::cyan, ColorBalanceConfig::lock_params, ColorBalanceConfig::magenta, test_boundary(), thread, and ColorBalanceConfig::yellow.
Referenced by ColorBalanceSlider::handle_event().

| int ColorBalanceMain::test_boundary | ( | float & | value | ) |
Definition at line 93 of file colorbalance.h.
Referenced by ColorBalanceWindow::create_objects(), ColorBalanceReset::handle_event(), ColorBalanceWhite::handle_event(), ColorBalanceLock::handle_event(), ColorBalancePreserve::handle_event(), load_defaults(), process_buffer(), read_data(), reconfigure(), save_data(), save_defaults(), synchronize_params(), ColorBalanceWindow::update(), and update_gui().
| ColorBalanceThread* ColorBalanceMain::thread |
Definition at line 96 of file colorbalance.h.
Referenced by ColorBalanceMain(), process_buffer(), and ~ColorBalanceMain().
Definition at line 97 of file colorbalance.h.
Referenced by process_buffer(), and ~ColorBalanceMain().
| int ColorBalanceMain::r_lookup_8[0x100] |
| int ColorBalanceMain::g_lookup_8[0x100] |
| int ColorBalanceMain::b_lookup_8[0x100] |
| int ColorBalanceMain::r_lookup_16[0x10000] |
| int ColorBalanceMain::g_lookup_16[0x10000] |
| int ColorBalanceMain::b_lookup_16[0x10000] |
Definition at line 107 of file colorbalance.h.
Definition at line 108 of file colorbalance.h.
Referenced by ColorBalanceMain(), and process_buffer().
1.5.5