GammaMain Class Reference

#include <gamma.h>

Inherits PluginVClient.

Collaboration diagram for GammaMain:

Collaboration graph
[legend]

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

GammaEngineengine
VFrameframe

Detailed Description

Definition at line 72 of file gamma.h.


Constructor & Destructor Documentation

GammaMain::GammaMain ( PluginServer server  ) 

Definition at line 364 of file gamma.C.

References engine, and PLUGIN_CONSTRUCTOR_MACRO.

GammaMain::~GammaMain (  ) 

Definition at line 371 of file gamma.C.

References engine, and PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

int GammaMain::process_buffer ( VFrame frame,
int64_t  start_position,
double  frame_rate 
) [virtual]

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().

Here is the call graph for this function:

int GammaMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 379 of file gamma.C.

void GammaMain::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 464 of file gamma.C.

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

int GammaMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 504 of file gamma.C.

References BCASTDIR.

int GammaMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 521 of file gamma.C.

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().

Here is the call graph for this function:

int GammaMain::handle_opengl (  )  [virtual]


Field Documentation

Definition at line 93 of file gamma.h.

Referenced by render_gui().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:27:04 2008 for Cinelerra by  doxygen 1.5.5