Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

TranslateUnit Class Reference

#include <overlayframe.h>

Inheritance diagram for TranslateUnit:

LoadClient List of all members.

Public Member Functions

 TranslateUnit (TranslateEngine *server, OverlayFrame *overlay)
 ~TranslateUnit ()
void process_package (LoadPackage *package)
void translation_array_i (transfer_table_i *&table, float out_x1, float out_x2, float in_x1, float in_x2, int in_total, int out_total, int &out_x1_int, int &out_x2_int)
void translate (VFrame *output, VFrame *input, float in_x1, float in_y1, float in_x2, float in_y2, float out_x1, float out_y1, float out_x2, float out_y2, float alpha, int mode, int row1, int row2)

Static Public Member Functions

static void translation_array_f (transfer_table_f *&table, float out_x1, float out_x2, float in_x1, float in_x2, int in_total, int out_total, int &out_x1_int, int &out_x2_int)

Public Attributes

OverlayFrameoverlay
TranslateEngineengine

Detailed Description

Definition at line 176 of file overlayframe.h.


Constructor & Destructor Documentation

TranslateUnit::TranslateUnit TranslateEngine server,
OverlayFrame overlay
 

Definition at line 1619 of file overlayframe.C.

References engine.

TranslateUnit::~TranslateUnit  ) 
 

Definition at line 1626 of file overlayframe.C.


Member Function Documentation

void TranslateUnit::process_package LoadPackage package  )  [virtual]
 

Reimplemented from LoadClient.

Definition at line 1961 of file overlayframe.C.

References engine, TranslatePackage::out_row1, TranslatePackage::out_row2, TRANSLATE, TranslateEngine::translate_alpha, TranslateEngine::translate_in_x1, TranslateEngine::translate_in_x2, TranslateEngine::translate_in_y1, TranslateEngine::translate_in_y2, TranslateEngine::translate_input, TranslateEngine::translate_mode, TranslateEngine::translate_out_x1, TranslateEngine::translate_out_x2, TranslateEngine::translate_out_y1, TranslateEngine::translate_out_y2, TranslateEngine::translate_output, and translation_array_f().

void TranslateUnit::translate VFrame *  output,
VFrame *  input,
float  in_x1,
float  in_y1,
float  in_x2,
float  in_y2,
float  out_x1,
float  out_y1,
float  out_x2,
float  out_y2,
float  alpha,
int  mode,
int  row1,
int  row2
 

void TranslateUnit::translation_array_f transfer_table_f *&  table,
float  out_x1,
float  out_x2,
float  in_x1,
float  in_x2,
int  in_total,
int  out_total,
int &  out_x1_int,
int &  out_x2_int
[static]
 

Definition at line 1632 of file overlayframe.C.

References transfer_table_f::in_fraction1, transfer_table_f::in_fraction2, transfer_table_f::in_x1, transfer_table_f::in_x2, MIN, and transfer_table_f::output_fraction.

Referenced by process_package().

void TranslateUnit::translation_array_i transfer_table_i *&  table,
float  out_x1,
float  out_x2,
float  in_x1,
float  in_x2,
int  in_total,
int  out_total,
int &  out_x1_int,
int &  out_x2_int
 

Definition at line 1724 of file overlayframe.C.

References transfer_table_i::in_fraction1, transfer_table_i::in_fraction2, transfer_table_i::in_x1, transfer_table_i::in_x2, MIN, and transfer_table_i::output_fraction.


Member Data Documentation

TranslateEngine* TranslateUnit::engine
 

Definition at line 217 of file overlayframe.h.

Referenced by process_package(), and TranslateUnit().

OverlayFrame* TranslateUnit::overlay
 

Definition at line 216 of file overlayframe.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:27 2006 for Cinelerra-svn by  doxygen 1.4.4