TimeAvgMain Class Reference

#include <timeavg.h>

Inherits PluginVClient.

Collaboration diagram for TimeAvgMain:

Collaboration graph
[legend]

Public Member Functions

 TimeAvgMain (PluginServer *server)
 ~TimeAvgMain ()
int process_buffer (VFrame *frame, int64_t start_position, double frame_rate)
int is_realtime ()
char * plugin_title ()
VFramenew_picon ()
int show_gui ()
int load_configuration ()
int set_string ()
int load_defaults ()
int save_defaults ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
void raise_window ()
void update_gui ()
void clear_accum (int w, int h, int color_model)
void subtract_accum (VFrame *frame)
void add_accum (VFrame *frame)
void transfer_accum (VFrame *frame)

Data Fields

VFrame ** history
int64_t * history_frame
int * history_valid
unsigned char * accumulation
TimeAvgThread * thread
TimeAvgConfig config
int history_size
int64_t history_start
int64_t prev_frame
BC_Hashdefaults

Detailed Description

Definition at line 31 of file timeavg.h.


Constructor & Destructor Documentation

TimeAvgMain::TimeAvgMain ( PluginServer server  ) 

TimeAvgMain::~TimeAvgMain (  ) 


Member Function Documentation

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

int TimeAvgMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 91 of file timeavg.C.

char * TimeAvgMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 90 of file timeavg.C.

References N_.

VFrame* TimeAvgMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

int TimeAvgMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

int TimeAvgMain::load_configuration (  ) 

Definition at line 740 of file timeavg.C.

References config, TimeAvgConfig::copy_from(), TimeAvgConfig::equivalent(), PluginClient::get_prev_keyframe(), PluginClient::get_source_position(), and read_data().

Referenced by process_buffer(), and update_gui().

Here is the call graph for this function:

int TimeAvgMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

int TimeAvgMain::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 713 of file timeavg.C.

References BCASTDIR, BCTEXTLEN, config, defaults, TimeAvgConfig::frames, BC_Hash::get(), BC_Hash::load(), TimeAvgConfig::mode, TimeAvgConfig::nosubtract, and TimeAvgConfig::paranoid.

Here is the call graph for this function:

int TimeAvgMain::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 730 of file timeavg.C.

References config, defaults, TimeAvgConfig::frames, TimeAvgConfig::mode, TimeAvgConfig::nosubtract, TimeAvgConfig::paranoid, BC_Hash::save(), and BC_Hash::update().

Here is the call graph for this function:

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

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

void TimeAvgMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

void TimeAvgMain::update_gui (  )  [virtual]

void TimeAvgMain::clear_accum ( int  w,
int  h,
int  color_model 
)

void TimeAvgMain::subtract_accum ( VFrame frame  ) 

void TimeAvgMain::add_accum ( VFrame frame  ) 

Definition at line 569 of file timeavg.C.

References ADD_ACCUM, BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::get_color_model(), VFrame::get_h(), and VFrame::get_w().

Referenced by process_buffer().

Here is the call graph for this function:

void TimeAvgMain::transfer_accum ( VFrame frame  ) 

Definition at line 678 of file timeavg.C.

References BC_RGB888, BC_RGB_FLOAT, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), and TRANSFER_ACCUM.

Referenced by process_buffer().

Here is the call graph for this function:


Field Documentation

Definition at line 59 of file timeavg.h.

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

Definition at line 61 of file timeavg.h.

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

Definition at line 62 of file timeavg.h.

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

unsigned char* TimeAvgMain::accumulation

Definition at line 63 of file timeavg.h.

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

TimeAvgThread* TimeAvgMain::thread

Definition at line 66 of file timeavg.h.

Referenced by update_gui().

Definition at line 68 of file timeavg.h.

Referenced by process_buffer(), and TimeAvgMain().

Definition at line 70 of file timeavg.h.

Referenced by TimeAvgMain().

Definition at line 72 of file timeavg.h.

Referenced by process_buffer(), and TimeAvgMain().

Definition at line 74 of file timeavg.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:45:30 2008 for Cinelerra by  doxygen 1.5.5