DenoiseEffect Class Reference

#include <denoise.h>

Inherits PluginAClient.

Collaboration diagram for DenoiseEffect:

Collaboration graph
[legend]

Public Member Functions

 DenoiseEffect (PluginServer *server)
 ~DenoiseEffect ()
int is_realtime ()
void read_data (KeyFrame *keyframe)
void save_data (KeyFrame *keyframe)
int process_realtime (int64_t size, double *input_ptr, double *output_ptr)
int load_defaults ()
int save_defaults ()
void reset ()
void update_gui ()
void delete_dsp ()
void process_window ()
double dot_product (double *data, double *filter, char filtlen)
int convolve_dec_2 (double *input_sequence, int64_t length, double *filter, int filtlen, double *output_sequence)
int64_t decompose_branches (double *in_data, int64_t length, WaveletFilters *decomp_filter, double *out_low, double *out_high)
int wavelet_decomposition (double *in_data, int64_t in_length, double **out_data)
int tree_copy (double **output, double **input, int length, int levels)
int threshold (int window_size, double gammas, int levels)
double dot_product_even (double *data, double *filter, int filtlen)
double dot_product_odd (double *data, double *filter, int filtlen)
int convolve_int_2 (double *input_sequence, int64_t length, double *filter, int filtlen, int sum_output, double *output_sequence)
int64_t reconstruct_branches (double *in_low, double *in_high, int64_t in_length, WaveletFilters *recon_filter, double *output)
int wavelet_reconstruction (double **in_data, int64_t in_length, double *out_data)

Data Fields

double * input_buffer
int64_t input_size
int64_t input_allocation
double * output_buffer
int64_t output_size
int64_t output_allocation
double * dsp_in
double * dsp_out
double * dsp_iteration
Treeex_coeff_d
Treeex_coeff_r
Treeex_coeff_rn
WaveletCoeffswave_coeff_d
WaveletCoeffswave_coeff_r
WaveletFiltersdecomp_filter
WaveletFiltersrecon_filter
double in_scale
double out_scale
int64_t levels
int64_t iterations
double alpha
double beta
float output_level
float noise_level
int64_t window_size
int first_window
int initialized

Detailed Description

Definition at line 81 of file denoise.h.


Constructor & Destructor Documentation

DenoiseEffect::DenoiseEffect ( PluginServer server  ) 

Definition at line 31 of file denoise.C.

References PLUGIN_CONSTRUCTOR_MACRO, and reset().

Here is the call graph for this function:

DenoiseEffect::~DenoiseEffect (  ) 

Definition at line 38 of file denoise.C.

References delete_dsp(), and PLUGIN_DESTRUCTOR_MACRO.

Here is the call graph for this function:


Member Function Documentation

int DenoiseEffect::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 118 of file denoise.C.

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

Reimplemented from PluginClient.

Definition at line 122 of file denoise.C.

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

Here is the call graph for this function:

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

int DenoiseEffect::process_realtime ( int64_t  size,
double *  input_ptr,
double *  output_ptr 
) [virtual]

int DenoiseEffect::load_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 157 of file denoise.C.

References BCASTDIR, and BCTEXTLEN.

int DenoiseEffect::save_defaults (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 168 of file denoise.C.

References BCTEXTLEN.

void DenoiseEffect::reset (  ) 

void DenoiseEffect::update_gui (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 178 of file denoise.C.

void DenoiseEffect::delete_dsp (  ) 

void DenoiseEffect::process_window (  ) 

Definition at line 436 of file denoise.C.

References dsp_in, dsp_iteration, dsp_out, ex_coeff_d, ex_coeff_r, ex_coeff_rn, iterations, levels, threshold(), tree_copy(), Tree::values, wavelet_decomposition(), wavelet_reconstruction(), and window_size.

Referenced by process_realtime().

Here is the call graph for this function:

double DenoiseEffect::dot_product ( double *  data,
double *  filter,
char  filtlen 
)

Definition at line 190 of file denoise.C.

Referenced by convolve_dec_2().

int DenoiseEffect::convolve_dec_2 ( double *  input_sequence,
int64_t  length,
double *  filter,
int  filtlen,
double *  output_sequence 
)

Definition at line 200 of file denoise.C.

References dot_product(), and offset.

Referenced by decompose_branches().

Here is the call graph for this function:

int64_t DenoiseEffect::decompose_branches ( double *  in_data,
int64_t  length,
WaveletFilters decomp_filter,
double *  out_low,
double *  out_high 
)

Definition at line 231 of file denoise.C.

References convolve_dec_2(), WaveletFilters::g, WaveletFilters::h, and WaveletFilters::length.

Referenced by wavelet_decomposition().

Here is the call graph for this function:

int DenoiseEffect::wavelet_decomposition ( double *  in_data,
int64_t  in_length,
double **  out_data 
)

Definition at line 244 of file denoise.C.

References decomp_filter, decompose_branches(), and levels.

Referenced by process_window().

Here is the call graph for this function:

int DenoiseEffect::tree_copy ( double **  output,
double **  input,
int  length,
int  levels 
)

Definition at line 261 of file denoise.C.

Referenced by process_window().

int DenoiseEffect::threshold ( int  window_size,
double  gammas,
int  levels 
)

Definition at line 293 of file denoise.C.

References ex_coeff_r, ex_coeff_rn, SGN, and Tree::values.

Referenced by process_window().

double DenoiseEffect::dot_product_even ( double *  data,
double *  filter,
int  filtlen 
)

Definition at line 330 of file denoise.C.

Referenced by convolve_int_2().

double DenoiseEffect::dot_product_odd ( double *  data,
double *  filter,
int  filtlen 
)

Definition at line 341 of file denoise.C.

Referenced by convolve_int_2().

int DenoiseEffect::convolve_int_2 ( double *  input_sequence,
int64_t  length,
double *  filter,
int  filtlen,
int  sum_output,
double *  output_sequence 
)

Definition at line 351 of file denoise.C.

References dot_product_even(), and dot_product_odd().

Referenced by reconstruct_branches().

Here is the call graph for this function:

int64_t DenoiseEffect::reconstruct_branches ( double *  in_low,
double *  in_high,
int64_t  in_length,
WaveletFilters recon_filter,
double *  output 
)

Definition at line 391 of file denoise.C.

References convolve_int_2(), WaveletFilters::g, WaveletFilters::h, and WaveletFilters::length.

Referenced by wavelet_reconstruction().

Here is the call graph for this function:

int DenoiseEffect::wavelet_reconstruction ( double **  in_data,
int64_t  in_length,
double *  out_data 
)

Definition at line 406 of file denoise.C.

References levels, output, recon_filter, and reconstruct_branches().

Referenced by process_window().

Here is the call graph for this function:


Field Documentation

Definition at line 142 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), and reset().

Definition at line 143 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 144 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 146 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), and reset().

Definition at line 147 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 148 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 149 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), and reset().

Definition at line 150 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), and reset().

Definition at line 152 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), and reset().

Definition at line 153 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), and reset().

Definition at line 153 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), reset(), and threshold().

Definition at line 153 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), process_window(), reset(), and threshold().

Definition at line 154 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), and reset().

Definition at line 154 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), and reset().

Definition at line 155 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), reset(), and wavelet_decomposition().

Definition at line 155 of file denoise.h.

Referenced by delete_dsp(), process_realtime(), reset(), and wavelet_reconstruction().

Definition at line 157 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 159 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 165 of file denoise.h.

Referenced by process_realtime(), process_window(), and reset().

Definition at line 167 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 168 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 170 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 172 of file denoise.h.

Definition at line 173 of file denoise.h.

Referenced by process_realtime(), process_window(), and reset().

Definition at line 174 of file denoise.h.

Referenced by process_realtime(), and reset().

Definition at line 175 of file denoise.h.

Referenced by process_realtime(), and reset().


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

Generated on Mon Apr 28 14:21:57 2008 for Cinelerra by  doxygen 1.5.5