#include <swapchannels.h>
Inherits PluginVClient.

Public Member Functions | |
| SwapMain (PluginServer *server) | |
| ~SwapMain () | |
| int | process_realtime (VFrame *input_ptr, VFrame *output_ptr) |
| int | is_realtime () |
| int | is_synthesis () |
| char * | plugin_title () |
| VFrame * | new_picon () |
| int | show_gui () |
| void | raise_window () |
| void | update_gui () |
| int | set_string () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| void | reset () |
| void | load_configuration () |
| int | load_defaults () |
| int | save_defaults () |
| char * | output_to_text (int value) |
| int | text_to_output (char *text) |
Data Fields | |
| VFrame * | temp |
| SwapConfig | config |
| SwapThread * | thread |
| BC_Hash * | defaults |
Definition at line 90 of file swapchannels.h.
| SwapMain::SwapMain | ( | PluginServer * | server | ) |
Definition at line 176 of file swapchannels.C.
References PLUGIN_CONSTRUCTOR_MACRO, and BC_MenuItem::reset().

| SwapMain::~SwapMain | ( | ) |
Reimplemented from PluginVClient.
Definition at line 382 of file swapchannels.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), load_configuration(), SWAP_CHANNELS, and temp.

| int SwapMain::is_realtime | ( | ) | [virtual] |
| int SwapMain::is_synthesis | ( | ) | [virtual] |
| char * SwapMain::plugin_title | ( | ) | [virtual] |
| VFrame* SwapMain::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int SwapMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void SwapMain::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void SwapMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 277 of file swapchannels.C.
References SwapConfig::alpha, SwapConfig::blue, config, SwapConfig::green, load_configuration(), output_to_text(), SwapConfig::red, and thread.

| int SwapMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void SwapMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 233 of file swapchannels.C.
References SwapConfig::alpha, FileXML::append_newline(), FileXML::append_tag(), SwapConfig::blue, config, KeyFrame::data, SwapConfig::green, PluginVClient::output, SwapConfig::red, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| void SwapMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 252 of file swapchannels.C.
References SwapConfig::alpha, SwapConfig::blue, config, KeyFrame::data, XMLTag::get_property(), SwapConfig::green, PluginVClient::input, FileXML::read_tag(), SwapConfig::red, FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().
Referenced by load_configuration().

| void SwapMain::reset | ( | ) |
| void SwapMain::load_configuration | ( | ) |
Definition at line 292 of file swapchannels.C.
References PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().
Referenced by process_realtime(), and update_gui().

| int SwapMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 206 of file swapchannels.C.
References SwapConfig::alpha, BCASTDIR, SwapConfig::blue, config, defaults, BC_Hash::get(), SwapConfig::green, BC_Hash::load(), and SwapConfig::red.

| int SwapMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 223 of file swapchannels.C.
References SwapConfig::alpha, SwapConfig::blue, config, defaults, SwapConfig::green, SwapConfig::red, BC_Hash::save(), and BC_Hash::update().

| char * SwapMain::output_to_text | ( | int | value | ) |
Definition at line 424 of file swapchannels.C.
References _, ALPHA_SRC, BLUE_SRC, GREEN_SRC, MAX_SRC, NO_SRC, and RED_SRC.
Referenced by SwapMenu::create_objects(), and update_gui().
| int SwapMain::text_to_output | ( | char * | text | ) |
Definition at line 452 of file swapchannels.C.
References _, ALPHA_SRC, BLUE_SRC, GREEN_SRC, MAX_SRC, NO_SRC, and RED_SRC.
Referenced by SwapItem::handle_event().
Reimplemented from PluginVClient.
Definition at line 127 of file swapchannels.h.
Referenced by process_realtime(), reset(), and ~SwapMain().
Definition at line 128 of file swapchannels.h.
Referenced by SwapWindow::create_objects(), load_defaults(), read_data(), save_data(), save_defaults(), and update_gui().
| SwapThread* SwapMain::thread |
1.5.5