Spectrogram Class Reference

#include <spectrogram.h>

Inherits PluginAClient.

Collaboration diagram for Spectrogram:

Collaboration graph
[legend]

Public Member Functions

 Spectrogram (PluginServer *server)
 ~Spectrogram ()
VFramenew_picon ()
char * plugin_title ()
int is_realtime ()
int process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate)
int show_gui ()
void raise_window ()
int set_string ()
void load_configuration ()
int load_defaults ()
int save_defaults ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
void update_gui ()
void render_gui (void *data, int size)
void reset ()

Data Fields

int done
int need_reconfigure
BC_Hashdefaults
SpectrogramConfig config
SpectrogramThread * thread
SpectrogramFFTfft
float * data
int total_windows

Detailed Description

Definition at line 77 of file spectrogram.h.


Constructor & Destructor Documentation

Spectrogram::Spectrogram ( PluginServer server  ) 

Definition at line 177 of file spectrogram.C.

References PLUGIN_CONSTRUCTOR_MACRO, and reset().

Here is the call graph for this function:

Spectrogram::~Spectrogram (  ) 

Definition at line 184 of file spectrogram.C.

References data, fft, and PLUGIN_DESTRUCTOR_MACRO.


Member Function Documentation

VFrame* Spectrogram::new_picon (  )  [virtual]

Reimplemented from PluginClient.

char * Spectrogram::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 202 of file spectrogram.C.

References N_.

int Spectrogram::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 203 of file spectrogram.C.

int Spectrogram::process_buffer ( int64_t  size,
double *  buffer,
int64_t  start_position,
int  sample_rate 
) [virtual]

int Spectrogram::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void Spectrogram::raise_window (  )  [virtual]

Reimplemented from PluginClient.

int Spectrogram::set_string (  )  [virtual]

Reimplemented from PluginClient.

void Spectrogram::load_configuration (  ) 

Definition at line 318 of file spectrogram.C.

References 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 Spectrogram::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 360 of file spectrogram.C.

References BCASTDIR, BCTEXTLEN, config, defaults, BC_Hash::get(), SpectrogramConfig::level, and BC_Hash::load().

Here is the call graph for this function:

int Spectrogram::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 371 of file spectrogram.C.

References config, defaults, SpectrogramConfig::level, BC_Hash::save(), and BC_Hash::update().

Here is the call graph for this function:

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

Reimplemented from PluginClient.

Definition at line 326 of file spectrogram.C.

References config, KeyFrame::data, XMLTag::get_property(), input, SpectrogramConfig::level, FileXML::read_tag(), FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

Referenced by load_configuration().

Here is the call graph for this function:

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

void Spectrogram::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 242 of file spectrogram.C.

References load_configuration(), and thread.

Here is the call graph for this function:

void Spectrogram::render_gui ( void *  data,
int  size 
) [virtual]

void Spectrogram::reset (  ) 

Reimplemented from PluginClient.

Definition at line 193 of file spectrogram.C.

References data, done, fft, and thread.

Referenced by Spectrogram().


Field Documentation

Definition at line 103 of file spectrogram.h.

Referenced by reset().

Definition at line 105 of file spectrogram.h.

Definition at line 106 of file spectrogram.h.

Referenced by load_defaults(), and save_defaults().

SpectrogramThread* Spectrogram::thread

Definition at line 108 of file spectrogram.h.

Referenced by render_gui(), reset(), and update_gui().

Definition at line 109 of file spectrogram.h.

Referenced by process_buffer(), reset(), and ~Spectrogram().

Definition at line 110 of file spectrogram.h.

Referenced by process_buffer(), reset(), SpectrogramFFT::signal_process(), and ~Spectrogram().

Definition at line 111 of file spectrogram.h.

Referenced by process_buffer(), and SpectrogramFFT::signal_process().


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

Generated on Mon Apr 28 14:43:51 2008 for Cinelerra by  doxygen 1.5.5