CompressorConfig Class Reference

#include <compressor.h>

Collaboration diagram for CompressorConfig:

Collaboration graph
[legend]

Public Types

enum  { TRIGGER, MAX, SUM }

Public Member Functions

 CompressorConfig ()
void copy_from (CompressorConfig &that)
int equivalent (CompressorConfig &that)
void interpolate (CompressorConfig &prev, CompressorConfig &next, int64_t prev_frame, int64_t next_frame, int64_t current_frame)
int total_points ()
void remove_point (int number)
void optimize ()
double get_y (int number)
double get_x (int number)
double calculate_db (double x)
int set_point (double x, double y)
void dump ()

Data Fields

int trigger
int input
double min_db
double reaction_len
double decay_len
double min_x
double min_y
double max_x
double max_y
int smoothing_only
ArrayList< compressor_point_tlevels

Detailed Description

Definition at line 144 of file compressor.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
TRIGGER 
MAX 
SUM 

Definition at line 170 of file compressor.h.


Constructor & Destructor Documentation

CompressorConfig::CompressorConfig (  ) 

Definition at line 635 of file compressor.C.

References decay_len, input, max_x, max_y, min_db, min_x, min_y, reaction_len, smoothing_only, TRIGGER, and trigger.


Member Function Documentation

void CompressorConfig::copy_from ( CompressorConfig that  ) 

int CompressorConfig::equivalent ( CompressorConfig that  ) 

void CompressorConfig::interpolate ( CompressorConfig prev,
CompressorConfig next,
int64_t  prev_frame,
int64_t  next_frame,
int64_t  current_frame 
)

Definition at line 688 of file compressor.C.

References copy_from().

Here is the call graph for this function:

int CompressorConfig::total_points (  ) 

Definition at line 697 of file compressor.C.

References levels, and ArrayList< TYPE >::total.

void CompressorConfig::remove_point ( int  number  ) 

Definition at line 803 of file compressor.C.

References levels, ArrayList< TYPE >::remove(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Here is the call graph for this function:

void CompressorConfig::optimize (  ) 

Definition at line 812 of file compressor.C.

References levels, ArrayList< TYPE >::remove(), ArrayList< TYPE >::total, ArrayList< TYPE >::values, and compressor_point_t::x.

Here is the call graph for this function:

double CompressorConfig::get_y ( int  number  ) 

double CompressorConfig::get_x ( int  number  ) 

double CompressorConfig::calculate_db ( double  x  ) 

int CompressorConfig::set_point ( double  x,
double  y 
)

Definition at line 774 of file compressor.C.

References ArrayList< TYPE >::append(), levels, ArrayList< TYPE >::total, ArrayList< TYPE >::values, compressor_point_t::x, and compressor_point_t::y.

Here is the call graph for this function:

void CompressorConfig::dump (  ) 


Field Documentation

Definition at line 168 of file compressor.h.

Referenced by CompressorConfig(), copy_from(), and equivalent().

Definition at line 169 of file compressor.h.

Referenced by CompressorConfig(), copy_from(), and equivalent().

Definition at line 176 of file compressor.h.

Referenced by CompressorConfig(), and copy_from().

Definition at line 177 of file compressor.h.

Referenced by CompressorConfig(), copy_from(), and equivalent().

Definition at line 178 of file compressor.h.

Referenced by CompressorConfig(), copy_from(), and equivalent().

Definition at line 179 of file compressor.h.

Referenced by calculate_db(), CompressorConfig(), and copy_from().

Definition at line 179 of file compressor.h.

Referenced by calculate_db(), CompressorConfig(), and copy_from().

Definition at line 180 of file compressor.h.

Referenced by calculate_db(), CompressorConfig(), and copy_from().

Definition at line 180 of file compressor.h.

Referenced by calculate_db(), CompressorConfig(), and copy_from().

Definition at line 181 of file compressor.h.

Referenced by CompressorConfig(), copy_from(), and equivalent().


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

Generated on Mon Apr 28 14:19:24 2008 for Cinelerra by  doxygen 1.5.5