#include <sharpen.h>
Inherits PluginVClient.

Public Member Functions | |
| SharpenMain (PluginServer *server) | |
| ~SharpenMain () | |
| int | process_realtime (VFrame *input_ptr, VFrame *output_ptr) |
| int | is_realtime () |
| char * | plugin_title () |
| int | show_gui () |
| void | raise_window () |
| int | set_string () |
| void | update_gui () |
| int | load_configuration () |
| void | save_data (KeyFrame *keyframe) |
| void | read_data (KeyFrame *keyframe) |
| int | load_defaults () |
| int | save_defaults () |
| VFrame * | new_picon () |
Data Fields | |
| int | row_step |
| SharpenThread * | thread |
| int | pos_lut [0x10000] |
| int | neg_lut [0x10000] |
| SharpenConfig | config |
| VFrame * | output |
| VFrame * | input |
Private Member Functions | |
| int | get_luts (int *pos_lut, int *neg_lut, int color_model) |
Private Attributes | |
| BC_Hash * | defaults |
| SharpenEngine ** | engine |
| int | total_engines |
Definition at line 40 of file sharpen.h.
| SharpenMain::SharpenMain | ( | PluginServer * | server | ) |
Definition at line 20 of file quark.C.
References load_defaults(), and thread.

| SharpenMain::~SharpenMain | ( | ) |
Definition at line 28 of file quark.C.
References SharpenThread::completion, defaults, Mutex::lock(), save_defaults(), BC_WindowBase::set_done(), thread, and SharpenThread::window.

Reimplemented from PluginVClient.
Definition at line 76 of file quark.C.
References VFrame::copy_from(), engine, VFrame::get_color_model(), get_luts(), VFrame::get_rows(), load_configuration(), neg_lut, pos_lut, row_step, SharpenEngine::start_process_frame(), and SharpenEngine::wait_process_frame().

| int SharpenMain::is_realtime | ( | ) | [virtual] |
| char * SharpenMain::plugin_title | ( | ) | [virtual] |
| int SharpenMain::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 109 of file quark.C.
References load_configuration(), Thread::start(), and thread.

| void SharpenMain::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 123 of file quark.C.
References BC_WindowBase::flush(), BC_WindowBase::raise_window(), thread, and SharpenThread::window.

| int SharpenMain::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 117 of file quark.C.
References PluginClient::gui_string, BC_WindowBase::set_title(), thread, and SharpenThread::window.

| void SharpenMain::update_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 151 of file sharpen.C.
References config, SharpenConfig::horizontal, SharpenConfig::interlace, load_configuration(), BC_WindowBase::lock_window(), SharpenConfig::luminance, SharpenWindow::sharpen_horizontal, SharpenWindow::sharpen_interlace, SharpenWindow::sharpen_luminance, SharpenWindow::sharpen_slider, SharpenConfig::sharpness, thread, BC_WindowBase::unlock_window(), BC_Toggle::update(), BC_ISlider::update(), and SharpenThread::window.

| void SharpenMain::load_configuration | ( | ) |
Definition at line 159 of file quark.C.
References PluginClient::get_next_keyframe(), PluginClient::get_prev_keyframe(), and read_data().
Referenced by process_realtime(), show_gui(), and update_gui().

| void SharpenMain::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 191 of file quark.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 SharpenMain::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 223 of file quark.C.
References KeyFrame::data, XMLTag::get_property(), input, MAXSHARPNESS, FileXML::read_tag(), FileXML::set_shared_string(), SharpenWindow::sharpen_horizontal, SharpenWindow::sharpen_interlace, SharpenWindow::sharpen_luminance, SharpenWindow::sharpen_slider, FileXML::tag, thread, XMLTag::title_is(), BC_Toggle::update(), BC_ISlider::update(), and SharpenThread::window.
Referenced by load_configuration().

| int SharpenMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 132 of file quark.C.
References BCASTDIR, defaults, BC_Hash::get(), and BC_Hash::load().
Referenced by SharpenMain().

| int SharpenMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 149 of file quark.C.
References defaults, BC_Hash::save(), and BC_Hash::update().
Referenced by ~SharpenMain().

| VFrame * SharpenMain::new_picon | ( | ) | [virtual] |
| int SharpenMain::get_luts | ( | int * | pos_lut, | |
| int * | neg_lut, | |||
| int | color_model | |||
| ) | [private] |
Definition at line 172 of file quark.C.
References cmodel_calculate_max().
Referenced by process_realtime().

Definition at line 65 of file sharpen.h.
Referenced by raise_window(), read_data(), set_string(), SharpenMain(), show_gui(), update_gui(), and ~SharpenMain().
| int SharpenMain::pos_lut[0x10000] |
| int SharpenMain::neg_lut[0x10000] |
Reimplemented from PluginVClient.
Definition at line 68 of file sharpen.h.
Referenced by save_data().
Reimplemented from PluginVClient.
Definition at line 68 of file sharpen.h.
Referenced by read_data().
BC_Hash* SharpenMain::defaults [private] |
Definition at line 72 of file sharpen.h.
Referenced by load_defaults(), save_defaults(), and ~SharpenMain().
SharpenEngine** SharpenMain::engine [private] |
int SharpenMain::total_engines [private] |
1.5.5