#include <shapewipe.h>
Inherits PluginVClient.

Public Member Functions | |
| ShapeWipeMain (PluginServer *server) | |
| ~ShapeWipeMain () | |
| void | load_configuration () |
| int | process_realtime (VFrame *incoming, VFrame *outgoing) |
| int | load_defaults () |
| int | save_defaults () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | show_gui () |
| void | raise_window () |
| int | uses_gui () |
| int | is_transition () |
| int | is_video () |
| char * | plugin_title () |
| int | set_string () |
| VFrame * | new_picon () |
| int | read_pattern_image (int new_frame_width, int new_frame_height) |
| void | reset_pattern_image () |
Data Fields | |
| int | direction |
| char | filename [BCTEXTLEN] |
| char | last_read_filename [BCTEXTLEN] |
| unsigned char ** | pattern_image |
| unsigned char | min_value |
| unsigned char | max_value |
| int | frame_width |
| int | frame_height |
| int | antialias |
| int | preserve_aspect |
| int | last_preserve_aspect |
| ShapeWipeThread * | thread |
| BC_Hash * | defaults |
Definition at line 112 of file shapewipe.h.
| ShapeWipeMain::ShapeWipeMain | ( | PluginServer * | server | ) |
Definition at line 231 of file shapewipe.C.
References antialias(), NULL, and PLUGIN_CONSTRUCTOR_MACRO.

| ShapeWipeMain::~ShapeWipeMain | ( | ) |
Definition at line 246 of file shapewipe.C.
References PLUGIN_DESTRUCTOR_MACRO, and reset_pattern_image().

| void ShapeWipeMain::load_configuration | ( | ) |
Definition at line 327 of file shapewipe.C.
References PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().
Referenced by process_realtime().

Reimplemented from PluginVClient.
Definition at line 642 of file shapewipe.C.
References antialias, BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, BCTEXTLEN, BLEND, COMPARE1, COMPARE2, direction, filename, fprintf, VFrame::get_color_model(), VFrame::get_h(), PluginClient::get_source_position(), PluginClient::get_total_len(), VFrame::get_w(), last_preserve_aspect, last_read_filename, load_configuration(), max_value, min_value, pattern_image, preserve_aspect, read_pattern_image(), reset_pattern_image(), and SHAPEWIPE.

| int ShapeWipeMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 267 of file shapewipe.C.
References antialias, BCASTDIR, BCTEXTLEN, defaults, direction, filename, BC_Hash::get(), BC_Hash::load(), and preserve_aspect.

| int ShapeWipeMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 284 of file shapewipe.C.
References antialias, defaults, direction, filename, preserve_aspect, BC_Hash::save(), and BC_Hash::update().

| void ShapeWipeMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 294 of file shapewipe.C.
References antialias, FileXML::append_tag(), KeyFrame::data, direction, filename, PluginVClient::output, preserve_aspect, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| void ShapeWipeMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 309 of file shapewipe.C.
References antialias, KeyFrame::data, direction, filename, XMLTag::get_property(), PluginVClient::input, preserve_aspect, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().
Referenced by load_configuration().

| int ShapeWipeMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void ShapeWipeMain::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int ShapeWipeMain::uses_gui | ( | ) | [virtual] |
| int ShapeWipeMain::is_transition | ( | ) | [virtual] |
| int ShapeWipeMain::is_video | ( | ) | [virtual] |
| char * ShapeWipeMain::plugin_title | ( | ) | [virtual] |
| int ShapeWipeMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| VFrame * ShapeWipeMain::new_picon | ( | ) | [virtual] |
| int ShapeWipeMain::read_pattern_image | ( | int | new_frame_width, | |
| int | new_frame_height | |||
| ) |
Definition at line 332 of file shapewipe.C.
References PluginVClient::aspect_h, PluginVClient::aspect_w, fclose(), filename, fopen(), fp, frame_height, frame_width, fread(), header, height, max_value, min_value, pattern_image, preserve_aspect, and width.
Referenced by process_realtime().

| void ShapeWipeMain::reset_pattern_image | ( | ) |
Definition at line 485 of file shapewipe.C.
References frame_height, max_value, min_value, NULL, and pattern_image.
Referenced by process_realtime(), and ~ShapeWipeMain().
Reimplemented from PluginClient.
Definition at line 136 of file shapewipe.h.
Referenced by ShapeWipeB2W::handle_event(), ShapeWipeW2B::handle_event(), load_defaults(), process_realtime(), read_data(), save_data(), and save_defaults().
| char ShapeWipeMain::filename[BCTEXTLEN] |
Definition at line 137 of file shapewipe.h.
Referenced by ShapeWipeWindow::create_objects(), ShapeWipeBrowseButton::handle_event(), ShapeWipeFilename::handle_event(), load_defaults(), process_realtime(), read_data(), read_pattern_image(), save_data(), and save_defaults().
| char ShapeWipeMain::last_read_filename[BCTEXTLEN] |
| unsigned char** ShapeWipeMain::pattern_image |
Definition at line 139 of file shapewipe.h.
Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().
| unsigned char ShapeWipeMain::min_value |
Definition at line 140 of file shapewipe.h.
Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().
| unsigned char ShapeWipeMain::max_value |
Definition at line 141 of file shapewipe.h.
Referenced by process_realtime(), read_pattern_image(), and reset_pattern_image().
Definition at line 143 of file shapewipe.h.
Referenced by read_pattern_image(), and reset_pattern_image().
Definition at line 144 of file shapewipe.h.
Referenced by ShapeWipeAntiAlias::handle_event(), load_defaults(), process_realtime(), read_data(), save_data(), and save_defaults().
Definition at line 145 of file shapewipe.h.
Referenced by ShapeWipePreserveAspectRatio::handle_event(), load_defaults(), process_realtime(), read_data(), read_pattern_image(), save_data(), and save_defaults().
| ShapeWipeThread* ShapeWipeMain::thread |
Definition at line 147 of file shapewipe.h.
1.5.5