#include <chromakey.h>
Inherits PluginVClient.

Public Member Functions | |
| ChromaKeyHSV (PluginServer *server) | |
| ~ChromaKeyHSV () | |
| int | process_buffer (VFrame *frame, int64_t start_position, double frame_rate) |
| int | handle_opengl () |
| int | is_realtime () |
| char * | plugin_title () |
| VFrame * | new_picon () |
| int | load_configuration () |
| int | load_defaults () |
| int | save_defaults () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | show_gui () |
| int | set_string () |
| void | raise_window () |
| void | update_gui () |
Data Fields | |
| ChromaKeyConfig | config |
| VFrame * | input |
| VFrame * | output |
| ChromaKeyServer * | engine |
| ChromaKeyThread * | thread |
| BC_Hash * | defaults |
Definition at line 250 of file chromakey.h.
| ChromaKeyHSV::ChromaKeyHSV | ( | PluginServer * | server | ) |
| ChromaKeyHSV::~ChromaKeyHSV | ( | ) |
| int ChromaKeyHSV::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 865 of file chromakey.C.
References engine, PluginClient::get_use_opengl(), input, load_configuration(), LoadServer::process_packages(), PluginVClient::read_frame(), and PluginVClient::run_opengl().

| int ChromaKeyHSV::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 1046 of file chromakey.C.
References BC_YUV888, BC_YUVA8888, VFrame::bind_texture(), VFrame::clear_pbuffer(), cmodel_components(), config, VFrame::draw_texture(), VFrame::enable_opengl(), PluginVClient::get_output(), HSV_TO_RGB_FRAG, VFrame::init_screen(), VFrame::make_shader(), OUTER_VARIABLES, RGB_TO_HSV_FRAG, RGB_TO_YUV_FRAG, VFrame::SCREEN, VFrame::set_opengl_state(), SET_TRACE, ChromaKeyConfig::show_mask, VFrame::to_texture(), and YUV_TO_RGB_FRAG.

| int ChromaKeyHSV::is_realtime | ( | ) | [virtual] |
| char * ChromaKeyHSV::plugin_title | ( | ) | [virtual] |
| VFrame* ChromaKeyHSV::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ChromaKeyHSV::load_configuration | ( | ) |
Referenced by process_buffer(), and update_gui().
| int ChromaKeyHSV::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 895 of file chromakey.C.
References ChromaKeyConfig::alpha_offset, BCASTDIR, BCTEXTLEN, ChromaKeyConfig::blue, config, defaults, BC_Hash::get(), ChromaKeyConfig::green, ChromaKeyConfig::in_slope, BC_Hash::load(), ChromaKeyConfig::max_brightness, ChromaKeyConfig::min_brightness, ChromaKeyConfig::min_saturation, ChromaKeyConfig::out_slope, ChromaKeyConfig::red, ChromaKeyConfig::saturation, ChromaKeyConfig::show_mask, ChromaKeyConfig::spill_amount, ChromaKeyConfig::spill_threshold, and ChromaKeyConfig::tolerance.

| int ChromaKeyHSV::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 927 of file chromakey.C.
References ChromaKeyConfig::alpha_offset, ChromaKeyConfig::blue, config, defaults, ChromaKeyConfig::green, ChromaKeyConfig::in_slope, ChromaKeyConfig::max_brightness, ChromaKeyConfig::min_brightness, ChromaKeyConfig::min_saturation, ChromaKeyConfig::out_slope, ChromaKeyConfig::red, ChromaKeyConfig::saturation, BC_Hash::save(), ChromaKeyConfig::show_mask, ChromaKeyConfig::spill_amount, ChromaKeyConfig::spill_threshold, ChromaKeyConfig::tolerance, and BC_Hash::update().

| void ChromaKeyHSV::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 948 of file chromakey.C.
References ChromaKeyConfig::alpha_offset, FileXML::append_tag(), ChromaKeyConfig::blue, config, KeyFrame::data, ChromaKeyConfig::green, ChromaKeyConfig::in_slope, ChromaKeyConfig::max_brightness, ChromaKeyConfig::min_brightness, ChromaKeyConfig::min_saturation, ChromaKeyConfig::out_slope, ChromaKeyConfig::red, ChromaKeyConfig::saturation, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), ChromaKeyConfig::show_mask, ChromaKeyConfig::spill_amount, ChromaKeyConfig::spill_threshold, FileXML::tag, FileXML::terminate_string(), and ChromaKeyConfig::tolerance.

| void ChromaKeyHSV::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 974 of file chromakey.C.
References ChromaKeyConfig::alpha_offset, ChromaKeyConfig::blue, config, KeyFrame::data, XMLTag::get_property(), ChromaKeyConfig::green, ChromaKeyConfig::in_slope, input, ChromaKeyConfig::max_brightness, ChromaKeyConfig::min_brightness, ChromaKeyConfig::min_saturation, ChromaKeyConfig::out_slope, FileXML::read_tag(), ChromaKeyConfig::red, ChromaKeyConfig::saturation, FileXML::set_shared_string(), ChromaKeyConfig::show_mask, ChromaKeyConfig::spill_amount, ChromaKeyConfig::spill_threshold, FileXML::tag, XMLTag::title_is(), and ChromaKeyConfig::tolerance.

| int ChromaKeyHSV::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ChromaKeyHSV::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void ChromaKeyHSV::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void ChromaKeyHSV::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 1021 of file chromakey.C.
References ChromaKeyConfig::alpha_offset, config, ChromaKeyConfig::in_slope, load_configuration(), ChromaKeyConfig::max_brightness, ChromaKeyConfig::min_brightness, ChromaKeyConfig::min_saturation, ChromaKeyConfig::out_slope, ChromaKeyConfig::saturation, ChromaKeyConfig::show_mask, ChromaKeyConfig::spill_amount, ChromaKeyConfig::spill_threshold, thread, and ChromaKeyConfig::tolerance.

Definition at line 273 of file chromakey.h.
Referenced by ChromaKeySpillAmount::handle_event(), ChromaKeySpillThreshold::handle_event(), ChromaKeyShowMask::handle_event(), ChromaKeyAlphaOffset::handle_event(), ChromaKeyOutSlope::handle_event(), ChromaKeyInSlope::handle_event(), ChromaKeyTolerance::handle_event(), ChromaKeyMinSaturation::handle_event(), ChromaKeySaturation::handle_event(), ChromaKeyMaxBrightness::handle_event(), ChromaKeyMinBrightness::handle_event(), handle_opengl(), load_defaults(), read_data(), save_data(), save_defaults(), and update_gui().
Reimplemented from PluginVClient.
Definition at line 274 of file chromakey.h.
Referenced by process_buffer(), and read_data().
| ChromaKeyThread* ChromaKeyHSV::thread |
1.5.5