ChromaKeyUnit Class Reference

#include <chromakey.h>

Inherits LoadClient, and LoadClient.

Collaboration diagram for ChromaKeyUnit:

Collaboration graph

Public Member Functions

 ChromaKeyUnit (ChromaKey *plugin, ChromaKeyServer *server)
void process_package (LoadPackage *package)
 ChromaKeyUnit (ChromaKeyHSV *plugin, ChromaKeyServer *server)
void process_package (LoadPackage *package)
template<typename component_type>
void process_chromakey (int components, component_type max, bool use_yuv, ChromaKeyPackage *pkg)
bool is_same_color (float r, float g, float b, float rk, float bk, float gk, float color_threshold, float light_threshold, int key_main_component)

Data Fields


Detailed Description

Definition at line 137 of file chromakey.h.

Constructor & Destructor Documentation

ChromaKeyUnit::ChromaKeyUnit ( ChromaKey plugin,
ChromaKeyServer server 

Definition at line 324 of file chromakey.C.

ChromaKeyUnit::ChromaKeyUnit ( ChromaKeyHSV plugin,
ChromaKeyServer server 

Definition at line 570 of file chromakey.C.

Member Function Documentation

void ChromaKeyUnit::process_package ( LoadPackage package  )  [virtual]

void ChromaKeyUnit::process_package ( LoadPackage package  )  [virtual]

Reimplemented from LoadClient.

template<typename component_type>
void ChromaKeyUnit::process_chromakey ( int  components,
component_type  max,
bool  use_yuv,
ChromaKeyPackage pkg 
) [inline]

bool ChromaKeyUnit::is_same_color ( float  r,
float  g,
float  b,
float  rk,
float  bk,
float  gk,
float  color_threshold,
float  light_threshold,
int  key_main_component 

Field Documentation

Definition at line 142 of file chromakey.h.

Referenced by process_chromakey(), and process_package().

Definition at line 243 of file chromakey.h.

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

Generated on Mon Apr 28 14:18:48 2008 for Cinelerra by  doxygen 1.5.5