#include <rgb601.h>
Inherits PluginVClient.

Public Member Functions | |
| RGB601Main (PluginServer *server) | |
| ~RGB601Main () | |
| int | process_buffer (VFrame *frame, int64_t start_position, double frame_rate) |
| int | is_realtime () |
| char * | plugin_title () |
| int | show_gui () |
| void | update_gui () |
| void | raise_window () |
| int | set_string () |
| void | load_configuration () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | load_defaults () |
| int | save_defaults () |
| VFrame * | new_picon () |
| int | handle_opengl () |
| void | create_table (VFrame *input_ptr) |
| void | process (int *table, VFrame *input_ptr, VFrame *output_ptr) |
Data Fields | |
| RGB601Thread * | thread |
| RGB601Config | config |
| BC_Hash * | defaults |
| int | forward_table [0x10000] |
| int | reverse_table [0x10000] |
Definition at line 24 of file rgb601.h.
| RGB601Main::RGB601Main | ( | PluginServer * | server | ) |
| RGB601Main::~RGB601Main | ( | ) |
| int RGB601Main::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 288 of file rgb601.C.
References config, create_table(), RGB601Config::direction, forward_table, VFrame::get_params(), PluginClient::get_use_opengl(), load_configuration(), PluginVClient::next_effect_is(), PluginVClient::prev_effect_is(), process(), PluginVClient::read_frame(), reverse_table, PluginVClient::run_opengl(), and BC_Hash::update().

| int RGB601Main::is_realtime | ( | ) | [virtual] |
| char * RGB601Main::plugin_title | ( | ) | [virtual] |
| int RGB601Main::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void RGB601Main::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 46 of file rgb601.C.
References config, RGB601Config::direction, load_configuration(), and thread.

| void RGB601Main::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int RGB601Main::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void RGB601Main::load_configuration | ( | ) |
Definition at line 79 of file rgb601.C.
References PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().
Referenced by process_buffer(), and update_gui().

| void RGB601Main::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 89 of file rgb601.C.
References FileXML::append_tag(), config, KeyFrame::data, RGB601Config::direction, PluginVClient::output, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| void RGB601Main::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 103 of file rgb601.C.
References config, KeyFrame::data, RGB601Config::direction, XMLTag::get_property(), PluginVClient::input, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, thread, and XMLTag::title_is().
Referenced by load_configuration().

| int RGB601Main::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 58 of file rgb601.C.
References BCASTDIR, config, defaults, RGB601Config::direction, BC_Hash::get(), and BC_Hash::load().

| int RGB601Main::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 72 of file rgb601.C.
References config, defaults, RGB601Config::direction, BC_Hash::save(), and BC_Hash::update().

| VFrame* RGB601Main::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int RGB601Main::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 329 of file rgb601.C.
References BC_YUV888, BC_YUVA8888, VFrame::bind_texture(), config, RGB601Config::direction, VFrame::draw_texture(), VFrame::enable_opengl(), PluginVClient::get_output(), VFrame::init_screen(), VFrame::make_shader(), VFrame::SCREEN, VFrame::set_opengl_state(), and VFrame::to_texture().

| void RGB601Main::create_table | ( | VFrame * | input_ptr | ) |
Definition at line 143 of file rgb601.C.
References BC_RGB161616, BC_RGB888, BC_RGBA16161616, BC_RGBA8888, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, CREATE_TABLE, and VFrame::get_color_model().
Referenced by process_buffer().

Definition at line 212 of file rgb601.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, config, RGB601Config::direction, forward_table, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), PROCESS, and reverse_table.
Referenced by process_buffer().

| RGB601Thread* RGB601Main::thread |
Definition at line 52 of file rgb601.h.
Referenced by RGB601Window::create_objects(), handle_opengl(), load_defaults(), process(), process_buffer(), read_data(), save_data(), save_defaults(), RGB601Window::update(), and update_gui().
| int RGB601Main::forward_table[0x10000] |
| int RGB601Main::reverse_table[0x10000] |
1.5.5