#include <gamma.h>
Inherits PluginVClient.

Public Member Functions | |
| GammaMain (PluginServer *server) | |
| ~GammaMain () | |
| int | process_buffer (VFrame *frame, int64_t start_position, double frame_rate) |
| void | calculate_max (VFrame *frame) |
| int | is_realtime () |
| void | update_gui () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | load_defaults () |
| int | save_defaults () |
| void | render_gui (void *data) |
| int | handle_opengl () |
Data Fields | |
| GammaEngine * | engine |
| VFrame * | frame |
Definition at line 72 of file gamma.h.
| GammaMain::GammaMain | ( | PluginServer * | server | ) |
| GammaMain::~GammaMain | ( | ) |
| int GammaMain::process_buffer | ( | VFrame * | frame, | |
| int64_t | start_position, | |||
| double | frame_rate | |||
| ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 395 of file gamma.C.
References GammaEngine::APPLY, calculate_max(), engine, PluginClient::get_use_opengl(), PluginClient::gui_open(), PluginVClient::next_effect_is(), GammaEngine::process_packages(), PluginVClient::read_frame(), PluginVClient::run_opengl(), and PluginVClient::send_render_gui().

| void GammaMain::calculate_max | ( | VFrame * | frame | ) |
Definition at line 444 of file gamma.C.
References GammaEngine::accum, engine, VFrame::get_h(), VFrame::get_w(), GammaEngine::HISTOGRAM, HISTOGRAM_SIZE, and GammaEngine::process_packages().
Referenced by process_buffer().

| int GammaMain::is_realtime | ( | ) | [virtual] |
| void GammaMain::update_gui | ( | ) | [virtual] |
| void GammaMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 531 of file gamma.C.
References FileXML::append_tag(), KeyFrame::data, PluginVClient::output, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

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

| int GammaMain::load_defaults | ( | ) | [virtual] |
| int GammaMain::save_defaults | ( | ) | [virtual] |
| void GammaMain::render_gui | ( | void * | data | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 477 of file gamma.C.
References GammaEngine::accum, engine, frame, GammaEngine::HISTOGRAM, HISTOGRAM_SIZE, memcpy, and GammaEngine::process_packages().

| int GammaMain::handle_opengl | ( | ) | [virtual] |
Reimplemented from PluginVClient.
Definition at line 574 of file gamma.C.
References VFrame::bind_texture(), VFrame::draw_texture(), VFrame::enable_opengl(), GAMMA_COMPILE, GAMMA_UNIFORMS, PluginVClient::get_output(), VFrame::init_screen(), INTERPOLATE_COMPILE, INTERPOLATE_UNIFORMS, VFrame::make_shader(), PluginVClient::prev_effect_is(), VFrame::SCREEN, VFrame::set_opengl_state(), and VFrame::to_texture().

Definition at line 92 of file gamma.h.
Referenced by calculate_max(), GammaMain(), process_buffer(), render_gui(), GammaWindow::update_histogram(), and ~GammaMain().
1.5.5