#include <gradient.h>
Inherits PluginVClient.

Public Member Functions | |
| GradientMain (PluginServer *server) | |
| ~GradientMain () | |
| int | process_buffer (VFrame *frame, int64_t start_position, double frame_rate) |
| int | is_realtime () |
| int | load_defaults () |
| int | save_defaults () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| void | update_gui () |
| int | is_synthesis () |
| int | handle_opengl () |
Data Fields | |
| int | need_reconfigure |
| OverlayFrame * | overlayer |
| VFrame * | gradient |
| VFrame * | input |
| VFrame * | output |
| GradientServer * | engine |
Definition at line 212 of file gradient.h.
| GradientMain::GradientMain | ( | PluginServer * | server | ) |
Definition at line 558 of file gradient.C.
References engine, gradient, need_reconfigure, overlayer, and PLUGIN_CONSTRUCTOR_MACRO.
| GradientMain::~GradientMain | ( | ) |
Definition at line 568 of file gradient.C.
References engine, gradient, overlayer, and PLUGIN_DESTRUCTOR_MACRO.
| int GradientMain::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 597 of file gradient.C.
References BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV888, BC_YUVA8888, cmodel_components(), engine, VFrame::get_color_model(), VFrame::get_h(), PluginClient::get_project_smp(), PluginClient::get_use_opengl(), VFrame::get_w(), gradient, input, need_reconfigure, output, OverlayFrame::overlay(), overlayer, LoadServer::process_packages(), PluginVClient::read_frame(), and PluginVClient::run_opengl().

| int GradientMain::is_realtime | ( | ) | [virtual] |
| int GradientMain::load_defaults | ( | ) | [virtual] |
| int GradientMain::save_defaults | ( | ) | [virtual] |
| void GradientMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 756 of file gradient.C.
References FileXML::append_tag(), KeyFrame::data, output, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| void GradientMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 785 of file gradient.C.
References KeyFrame::data, XMLTag::get_property(), input, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

| void GradientMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 671 of file gradient.C.
References GradientShape::to_text(), and GradientRate::to_text().

| int GradientMain::is_synthesis | ( | ) | [virtual] |
| int GradientMain::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 821 of file gradient.C.
References BC_YUV888, BC_YUVA8888, VFrame::bind_texture(), VFrame::draw_texture(), VFrame::enable_opengl(), VFrame::get_h(), PluginVClient::get_output(), VFrame::get_texture_h(), VFrame::get_texture_w(), VFrame::get_w(), VFrame::init_screen(), GradientConfig::LINEAR, GradientConfig::LOG, M_PI, VFrame::make_shader(), YUV::rgb_to_yuv_f(), VFrame::SCREEN, VFrame::set_opengl_state(), GradientConfig::SQUARE, VFrame::TEXTURE, and VFrame::to_texture().

Definition at line 234 of file gradient.h.
Referenced by GradientMain(), process_buffer(), and ~GradientMain().
Definition at line 235 of file gradient.h.
Referenced by GradientMain(), process_buffer(), GradientUnit::process_package(), and ~GradientMain().
Reimplemented from PluginVClient.
Definition at line 236 of file gradient.h.
Referenced by GradientServer::init_packages(), process_buffer(), GradientUnit::process_package(), and read_data().
Reimplemented from PluginVClient.
Definition at line 236 of file gradient.h.
Referenced by process_buffer(), and save_data().
Definition at line 237 of file gradient.h.
Referenced by GradientMain(), process_buffer(), and ~GradientMain().
1.5.5