HistogramEngine Class Reference

#include <histogram.h>

Inherits LoadServer, and LoadServer.

Collaboration diagram for HistogramEngine:

Collaboration graph
[legend]

Public Types

enum  { HISTOGRAM, APPLY }

Public Member Functions

 HistogramEngine (HistogramMain *plugin, int total_clients, int total_packages)
void process_packages (int operation, VFrame *data, int do_value)
void init_packages ()
LoadClientnew_client ()
LoadPackagenew_package ()
 HistogramEngine (int total_clients, int total_packages)
 ~HistogramEngine ()
void process_packages (VFrame *data)
void init_packages ()
LoadClientnew_client ()
LoadPackagenew_package ()

Data Fields

HistogramMainplugin
int total_size
int operation
VFramedata
int do_value
VFramedata
YUVyuv
int64_t * accum [5]

Detailed Description

Definition at line 86 of file histogram.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
HISTOGRAM 
APPLY 

Definition at line 101 of file histogram.h.


Constructor & Destructor Documentation

HistogramEngine::HistogramEngine ( HistogramMain plugin,
int  total_clients,
int  total_packages 
)

Definition at line 1410 of file histogram.C.

Referenced by ThresholdMain::calculate_histogram().

HistogramEngine::HistogramEngine ( int  total_clients,
int  total_packages 
)

Definition at line 163 of file histogramengine.C.

References HistogramUnit::accum, and yuv.

HistogramEngine::~HistogramEngine (  ) 

Definition at line 172 of file histogramengine.C.

References accum, and yuv.


Member Function Documentation

void HistogramEngine::process_packages ( int  operation,
VFrame data,
int  do_value 
)

Definition at line 1462 of file histogram.C.

References LoadServer::process_packages().

Referenced by ThresholdMain::calculate_histogram(), HistogramMain::calculate_histogram(), and HistogramMain::process_buffer().

Here is the call graph for this function:

void HistogramEngine::init_packages (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 1418 of file histogram.C.

References HistogramUnit::accum, APPLY, data, LoadServer::get_client(), VFrame::get_h(), LoadServer::get_total_clients(), LoadServer::get_total_packages(), HISTOGRAM, operation, and total_size.

Here is the call graph for this function:

LoadClient * HistogramEngine::new_client (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 1452 of file histogram.C.

References plugin.

LoadPackage * HistogramEngine::new_package (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 1457 of file histogram.C.

void HistogramEngine::process_packages ( VFrame data  ) 

Definition at line 179 of file histogramengine.C.

References HistogramUnit::accum, accum, LoadServer::get_client(), LoadServer::get_total_clients(), and LoadServer::process_packages().

Here is the call graph for this function:

void HistogramEngine::init_packages (  )  [virtual]

Reimplemented from LoadServer.

LoadClient* HistogramEngine::new_client (  )  [virtual]

Reimplemented from LoadServer.

LoadPackage* HistogramEngine::new_package (  )  [virtual]

Reimplemented from LoadServer.


Field Documentation

Definition at line 96 of file histogram.h.

Referenced by new_client().

Definition at line 97 of file histogram.h.

Referenced by init_packages().

Definition at line 100 of file histogram.h.

Referenced by init_packages(), and HistogramUnit::process_package().

Definition at line 107 of file histogram.h.

Referenced by HistogramUnit::process_package().

Definition at line 37 of file histogramengine.h.

Definition at line 38 of file histogramengine.h.

Referenced by ~HistogramEngine().

Definition at line 39 of file histogramengine.h.

Referenced by ThresholdCanvas::draw(), process_packages(), and ~HistogramEngine().


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

Generated on Mon Apr 28 14:27:39 2008 for Cinelerra by  doxygen 1.5.5