ColorBalanceMain Class Reference

#include <colorbalance.h>

Inherits PluginVClient.

Collaboration diagram for ColorBalanceMain:

Collaboration graph
[legend]

Public Member Functions

 ColorBalanceMain (PluginServer *server)
 ~ColorBalanceMain ()
int process_buffer (VFrame *frame, int64_t start_position, double frame_rate)
int is_realtime ()
char * plugin_title ()
int show_gui ()
void update_gui ()
void raise_window ()
int set_string ()
int load_configuration ()
void save_data (KeyFrame *keyframe)
void read_data (KeyFrame *keyframe)
int load_defaults ()
int save_defaults ()
VFramenew_picon ()
int handle_opengl ()
void get_aggregation (int *aggregate_interpolate, int *aggregate_gamma)
int64_t calculate_slider (float in)
float calculate_transfer (float in)
int reconfigure ()
int synchronize_params (ColorBalanceSlider *slider, float difference)
int test_boundary (float &value)

Data Fields

ColorBalanceConfig config
ColorBalanceThread * thread
ColorBalanceEngine ** engine
int total_engines
BC_Hashdefaults
int r_lookup_8 [0x100]
int g_lookup_8 [0x100]
int b_lookup_8 [0x100]
int r_lookup_16 [0x10000]
int g_lookup_16 [0x10000]
int b_lookup_16 [0x10000]
int redo_buffers
int need_reconfigure

Detailed Description

Definition at line 57 of file colorbalance.h.


Constructor & Destructor Documentation

ColorBalanceMain::ColorBalanceMain ( PluginServer server  ) 

Definition at line 331 of file colorbalance.C.

References engine, need_reconfigure, and PLUGIN_CONSTRUCTOR_MACRO.

ColorBalanceMain::~ColorBalanceMain (  ) 

Definition at line 339 of file colorbalance.C.

References engine, PLUGIN_DESTRUCTOR_MACRO, and total_engines.


Member Function Documentation

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

int ColorBalanceMain::is_realtime (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 355 of file colorbalance.C.

char * ColorBalanceMain::plugin_title (  )  [virtual]

Reimplemented from PluginClient.

Definition at line 354 of file colorbalance.C.

References N_.

int ColorBalanceMain::show_gui (  )  [virtual]

Reimplemented from PluginClient.

void ColorBalanceMain::update_gui (  )  [virtual]

void ColorBalanceMain::raise_window (  )  [virtual]

Reimplemented from PluginClient.

int ColorBalanceMain::set_string (  )  [virtual]

Reimplemented from PluginClient.

int ColorBalanceMain::load_configuration (  ) 

Referenced by process_buffer(), and update_gui().

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

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

int ColorBalanceMain::load_defaults (  )  [virtual]

int ColorBalanceMain::save_defaults (  )  [virtual]

VFrame* ColorBalanceMain::new_picon (  )  [virtual]

Reimplemented from PluginClient.

int ColorBalanceMain::handle_opengl (  )  [virtual]

void ColorBalanceMain::get_aggregation ( int *  aggregate_interpolate,
int *  aggregate_gamma 
)

Definition at line 630 of file colorbalance.C.

References PluginVClient::get_output().

Referenced by handle_opengl(), and process_buffer().

Here is the call graph for this function:

int64_t ColorBalanceMain::calculate_slider ( float  in  ) 

Definition at line 381 of file colorbalance.C.

References MAX_COLOR.

Referenced by ColorBalanceWhite::handle_event().

float ColorBalanceMain::calculate_transfer ( float  in  ) 

Definition at line 396 of file colorbalance.C.

References MAX_COLOR.

Referenced by ColorBalanceSlider::get_caption(), process_buffer(), and reconfigure().

int ColorBalanceMain::reconfigure (  ) 

int ColorBalanceMain::synchronize_params ( ColorBalanceSlider slider,
float  difference 
)

int ColorBalanceMain::test_boundary ( float &  value  ) 

Definition at line 414 of file colorbalance.C.

Referenced by synchronize_params().


Field Documentation

ColorBalanceThread* ColorBalanceMain::thread

Definition at line 95 of file colorbalance.h.

Referenced by synchronize_params(), and update_gui().

Definition at line 96 of file colorbalance.h.

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

Definition at line 97 of file colorbalance.h.

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

Definition at line 100 of file colorbalance.h.

Referenced by load_defaults(), and save_defaults().

Definition at line 101 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 102 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 103 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 104 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 105 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 106 of file colorbalance.h.

Referenced by reconfigure().

Definition at line 107 of file colorbalance.h.

Definition at line 108 of file colorbalance.h.

Referenced by ColorBalanceMain(), and process_buffer().


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

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