ThresholdMain Class Reference

#include <threshold.h>

Inherits PluginVClient.

Collaboration diagram for ThresholdMain:

Collaboration graph
[legend]

Public Member Functions

 ThresholdMain (PluginServer *server)
 ~ThresholdMain ()
int process_buffer (VFrame *frame, int64_t start_position, double frame_rate)
int is_realtime ()
int load_defaults ()
int save_defaults ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
void update_gui ()
void render_gui (void *data)
void calculate_histogram (VFrame *frame)
int handle_opengl ()
 PLUGIN_CLASS_MEMBERS (ThresholdConfig, ThresholdThread)

Data Fields

HistogramEngineengine
ThresholdEnginethreshold_engine

Detailed Description

Definition at line 78 of file threshold.h.


Constructor & Destructor Documentation

ThresholdMain::ThresholdMain ( PluginServer server  ) 

Definition at line 95 of file threshold.C.

References PLUGIN_CONSTRUCTOR_MACRO.

ThresholdMain::~ThresholdMain (  ) 

Definition at line 103 of file threshold.C.

References engine, PLUGIN_DESTRUCTOR_MACRO, and threshold_engine.


Member Function Documentation

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

int ThresholdMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 110 of file threshold.C.

int ThresholdMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 164 of file threshold.C.

References BCASTDIR, and BCTEXTLEN.

int ThresholdMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 180 of file threshold.C.

void ThresholdMain::save_data ( KeyFrame keyframe  )  [virtual]

Reimplemented from PluginClient.

Definition at line 191 of file threshold.C.

References FileXML::append_tag(), KeyFrame::data, 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 ThresholdMain::read_data ( KeyFrame keyframe  )  [virtual]

Reimplemented from PluginClient.

Definition at line 208 of file threshold.C.

References KeyFrame::data, XMLTag::get_property(), FileXML::read_tag(), FileXML::set_shared_string(), and FileXML::tag.

Here is the call graph for this function:

void ThresholdMain::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 229 of file threshold.C.

void ThresholdMain::render_gui ( void *  data  )  [virtual]

Reimplemented from PluginVClient.

Definition at line 250 of file threshold.C.

References calculate_histogram().

Here is the call graph for this function:

void ThresholdMain::calculate_histogram ( VFrame frame  ) 

Definition at line 261 of file threshold.C.

References engine, PluginClient::get_project_smp(), HistogramEngine::HistogramEngine(), and HistogramEngine::process_packages().

Referenced by render_gui().

Here is the call graph for this function:

int ThresholdMain::handle_opengl (  )  [virtual]

ThresholdMain::PLUGIN_CLASS_MEMBERS ( ThresholdConfig  ,
ThresholdThread   
)


Field Documentation

Definition at line 98 of file threshold.h.

Referenced by calculate_histogram(), ThresholdCanvas::draw(), and ~ThresholdMain().

Definition at line 99 of file threshold.h.

Referenced by process_buffer(), and ~ThresholdMain().


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

Generated on Mon Apr 28 14:45:15 2008 for Cinelerra by  doxygen 1.5.5