HoloMain Class Reference

#include <holo.h>

Inherits PluginVClient.

Collaboration diagram for HoloMain:

Collaboration graph
[legend]

Public Member Functions

 HoloMain (PluginServer *server)
 ~HoloMain ()
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 load_configuration ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
int load_defaults ()
int save_defaults ()
VFramenew_picon ()
void reconfigure ()
void add_frames (VFrame *output, VFrame *input)
void set_background ()

Data Fields

HoloThread * thread
HoloServerholo_server
HoloConfig config
BC_Hashdefaults
VFrameinput_ptr
VFrameoutput_ptr
int do_reconfigure
EffectTVeffecttv
unsigned int noisepattern [256]
VFramebgimage
VFrametmp
YUVyuv
int total

Detailed Description

Definition at line 59 of file holo.h.


Constructor & Destructor Documentation

HoloMain::HoloMain ( PluginServer server  ) 

Definition at line 37 of file holo.C.

References bgimage, do_reconfigure, effecttv, PLUGIN_CONSTRUCTOR_MACRO, and yuv.

HoloMain::~HoloMain (  ) 

Definition at line 47 of file holo.C.

References bgimage, effecttv, holo_server, PLUGIN_DESTRUCTOR_MACRO, and yuv.


Member Function Documentation

int HoloMain::process_realtime ( VFrame input_ptr,
VFrame output_ptr 
) [virtual]

int HoloMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 64 of file holo.C.

char * HoloMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 63 of file holo.C.

References N_.

int HoloMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 269 of file holo.C.

References load_configuration(), and thread.

Here is the call graph for this function:

void HoloMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 283 of file holo.C.

References thread.

int HoloMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 277 of file holo.C.

References PluginClient::gui_string, and thread.

void HoloMain::load_configuration (  ) 

Definition at line 81 of file holo.C.

Referenced by process_realtime(), and show_gui().

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

Reimplemented from PluginClient.

Definition at line 86 of file holo.C.

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

Reimplemented from PluginClient.

Definition at line 90 of file holo.C.

int HoloMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 71 of file holo.C.

int HoloMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 76 of file holo.C.

VFrame * HoloMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 66 of file holo.C.

References picon_png.

void HoloMain::reconfigure (  ) 

Definition at line 94 of file holo.C.

References config, do_reconfigure, effecttv, EffectTV::image_set_threshold_y(), and HoloConfig::threshold.

Referenced by process_realtime().

Here is the call graph for this function:

void HoloMain::add_frames ( VFrame output,
VFrame input 
)

Definition at line 146 of file holo.C.

References ADD_FRAMES, BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, and VFrame::get_color_model().

Referenced by set_background().

Here is the call graph for this function:

void HoloMain::set_background (  ) 

For Cinelerra, we make every frame a holograph and expect the user to provide a matte.

Definition at line 175 of file holo.C.

References add_frames(), bgimage, VFrame::copy_from(), effecttv, EffectTV::image_bgset_y(), input_ptr, tmp, and total.

Referenced by process_realtime().

Here is the call graph for this function:


Field Documentation

HoloThread* HoloMain::thread

Definition at line 86 of file holo.h.

Referenced by raise_window(), set_string(), and show_gui().

Definition at line 87 of file holo.h.

Referenced by process_realtime(), and ~HoloMain().

Definition at line 88 of file holo.h.

Referenced by process_realtime(), and reconfigure().

Definition at line 90 of file holo.h.

Definition at line 91 of file holo.h.

Referenced by HoloServer::init_packages(), HoloClient::process_package(), and set_background().

Definition at line 91 of file holo.h.

Referenced by HoloClient::process_package().

Definition at line 92 of file holo.h.

Referenced by HoloMain(), process_realtime(), and reconfigure().

unsigned int HoloMain::noisepattern[256]

Definition at line 95 of file holo.h.

Referenced by process_realtime().

Definition at line 96 of file holo.h.

Referenced by HoloMain(), process_realtime(), set_background(), and ~HoloMain().

Definition at line 96 of file holo.h.

Referenced by set_background().

Definition at line 97 of file holo.h.

Referenced by HoloMain(), and ~HoloMain().

Definition at line 98 of file holo.h.

Referenced by process_realtime(), and set_background().


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

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