#include <brightness.h>
Inherits PluginVClient.

Public Member Functions | |
| BrightnessMain (PluginServer *server) | |
| ~BrightnessMain () | |
| int | process_buffer (VFrame *frame, int64_t start_position, double frame_rate) |
| int | is_realtime () |
| char * | plugin_title () |
| int | show_gui () |
| void | raise_window () |
| void | update_gui () |
| int | set_string () |
| int | load_configuration () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | load_defaults () |
| int | save_defaults () |
| VFrame * | new_picon () |
| int | handle_opengl () |
Data Fields | |
| BrightnessConfig | config |
| BrightnessThread * | thread |
| BrightnessEngine * | engine |
| BC_Hash * | defaults |
| int | redo_buffers |
| VFrame * | input |
| VFrame * | output |
Static Public Attributes | |
| static YUV | yuv |
Definition at line 30 of file brightness.h.
| BrightnessMain::BrightnessMain | ( | PluginServer * | server | ) |
Definition at line 63 of file brightness.C.
References engine, PLUGIN_CONSTRUCTOR_MACRO, and redo_buffers.
| BrightnessMain::~BrightnessMain | ( | ) |
| int BrightnessMain::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 86 of file brightness.C.
References BrightnessConfig::brightness, config, BrightnessConfig::contrast, engine, EQUIV, PluginClient::get_use_opengl(), input, load_configuration(), output, LoadServer::process_packages(), PluginVClient::read_frame(), PluginVClient::run_opengl(), and PluginClient::smp.

| int BrightnessMain::is_realtime | ( | ) | [virtual] |
| char * BrightnessMain::plugin_title | ( | ) | [virtual] |
| int BrightnessMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void BrightnessMain::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void BrightnessMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 245 of file brightness.C.
References BrightnessConfig::brightness, config, BrightnessConfig::contrast, load_configuration(), BrightnessConfig::luma, and thread.

| int BrightnessMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int BrightnessMain::load_configuration | ( | ) |
Referenced by process_buffer(), and update_gui().
| void BrightnessMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 286 of file brightness.C.
References FileXML::append_tag(), BrightnessConfig::brightness, config, BrightnessConfig::contrast, KeyFrame::data, BrightnessConfig::luma, output, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| void BrightnessMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 303 of file brightness.C.
References BrightnessConfig::brightness, config, BrightnessConfig::contrast, KeyFrame::data, XMLTag::get_property(), input, BrightnessConfig::luma, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

| int BrightnessMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 260 of file brightness.C.
References BCASTDIR, BCTEXTLEN, BrightnessConfig::brightness, config, BrightnessConfig::contrast, defaults, BC_Hash::get(), BC_Hash::load(), and BrightnessConfig::luma.

| int BrightnessMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 276 of file brightness.C.
References BrightnessConfig::brightness, config, BrightnessConfig::contrast, defaults, BrightnessConfig::luma, BC_Hash::save(), and BC_Hash::update().

| VFrame* BrightnessMain::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int BrightnessMain::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 122 of file brightness.C.
References BC_YUV888, BC_YUVA8888, VFrame::bind_texture(), BrightnessConfig::brightness, config, BrightnessConfig::contrast, VFrame::draw_texture(), VFrame::enable_opengl(), PluginVClient::get_output(), VFrame::init_screen(), BrightnessConfig::luma, VFrame::make_shader(), offset, VFrame::SCREEN, VFrame::set_opengl_state(), and VFrame::to_texture().

Definition at line 61 of file brightness.h.
Referenced by BrightnessWindow::create_objects(), BrightnessLuma::handle_event(), handle_opengl(), load_defaults(), process_buffer(), read_data(), save_data(), save_defaults(), and update_gui().
| BrightnessThread* BrightnessMain::thread |
Definition at line 64 of file brightness.h.
Referenced by BrightnessMain(), process_buffer(), and ~BrightnessMain().
YUV BrightnessMain::yuv [static] |
Definition at line 67 of file brightness.h.
Reimplemented from PluginVClient.
Definition at line 69 of file brightness.h.
Referenced by BrightnessEngine::init_packages(), process_buffer(), BrightnessUnit::process_package(), and read_data().
Reimplemented from PluginVClient.
Definition at line 69 of file brightness.h.
Referenced by process_buffer(), BrightnessUnit::process_package(), and save_data().
1.5.5