ScaleMain Class Reference

#include <scale.h>

Inherits PluginVClient.

Collaboration diagram for ScaleMain:

Collaboration graph
[legend]

Public Member Functions

 ScaleMain (PluginServer *server)
 ~ScaleMain ()
int process_buffer (VFrame *frame, int64_t start_position, double frame_rate)
void calculate_transfer (VFrame *frame, float &in_x1, float &in_x2, float &in_y1, float &in_y2, float &out_x1, float &out_x2, float &out_y1, float &out_y2)
int handle_opengl ()
int is_realtime ()
char * plugin_title ()
int show_gui ()
void raise_window ()
int set_string ()
void update_gui ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
VFramenew_picon ()
int load_defaults ()
int save_defaults ()
int load_configuration ()

Data Fields

ScaleThreadthread
OverlayFrameoverlayer
BC_Hashdefaults
ScaleConfig config

Detailed Description

Definition at line 87 of file scale.h.


Constructor & Destructor Documentation

ScaleMain::ScaleMain ( PluginServer server  ) 

Definition at line 56 of file scale.C.

References overlayer, and PLUGIN_CONSTRUCTOR_MACRO.

ScaleMain::~ScaleMain (  ) 

Definition at line 63 of file scale.C.

References overlayer, and PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

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

void ScaleMain::calculate_transfer ( VFrame frame,
float &  in_x1,
float &  in_x2,
float &  in_y1,
float &  in_y2,
float &  out_x1,
float &  out_x2,
float &  out_y1,
float &  out_y2 
)

Definition at line 244 of file scale.C.

References config, VFrame::get_h(), VFrame::get_w(), ScaleConfig::h, and ScaleConfig::w.

Referenced by handle_opengl(), and process_buffer().

Here is the call graph for this function:

int ScaleMain::handle_opengl (  )  [virtual]

int ScaleMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 72 of file scale.C.

char * ScaleMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 71 of file scale.C.

References N_.

int ScaleMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void ScaleMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

int ScaleMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

void ScaleMain::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 330 of file scale.C.

References config, ScaleConfig::constrain, ScaleConfig::h, load_configuration(), BC_WindowBase::lock_window(), thread, BC_WindowBase::unlock_window(), ScaleConfig::w, and ScaleThread::window.

Here is the call graph for this function:

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

void ScaleMain::read_data ( KeyFrame keyframe  )  [virtual]

VFrame* ScaleMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

int ScaleMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 76 of file scale.C.

References BCASTDIR, config, ScaleConfig::constrain, defaults, BC_Hash::get(), ScaleConfig::h, BC_Hash::load(), and ScaleConfig::w.

Here is the call graph for this function:

int ScaleMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 92 of file scale.C.

References config, ScaleConfig::constrain, defaults, ScaleConfig::h, BC_Hash::save(), BC_Hash::update(), and ScaleConfig::w.

Here is the call graph for this function:

int ScaleMain::load_configuration (  ) 

Referenced by process_buffer(), and update_gui().


Field Documentation

Definition at line 121 of file scale.h.

Referenced by update_gui().

Definition at line 123 of file scale.h.

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

Definition at line 124 of file scale.h.

Referenced by load_defaults(), and save_defaults().


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

Generated on Mon Apr 28 14:42:25 2008 for Cinelerra by  doxygen 1.5.5