ScaleUnit Class Reference

#include <overlayframe.h>

Inherits LoadClient.

Collaboration diagram for ScaleUnit:

Collaboration graph
[legend]

Public Member Functions

 ScaleUnit (ScaleEngine *server, OverlayFrame *overlay)
 ~ScaleUnit ()
float cubic_bspline (float x)
void tabulate_bcubic_f (float *&coef_table, int *&coord_table, float scale, float start, int pixels, int total_pixels, float coefficient)
void tabulate_blinear_f (int *&table_int1, int *&table_int2, float *&table_frac, float *&table_antifrac, float scale, int pixel1, int pixel2, float start, int total_pixels)
void tabulate_bcubic_i (int *&coef_table, int *&coord_table, float scale, int start, int pixels, int total_pixels, float coefficient)
void tabulate_blinear_i (int *&table_int1, int *&table_int2, int *&table_frac, int *&table_antifrac, float scale, int pixel1, int pixel2, float start, int total_pixels)
void tabulate_reduction (bilinear_table_t *&table, float scale, int pixel1, int out_total, int in_total)
void tabulate_enlarge (bilinear_table_t *&table, float scale, float pixel1, int out_total, int in_total)
void dump_bilinear (bilinear_table_t *table, int total)
void process_package (LoadPackage *package)

Data Fields

OverlayFrameoverlay
ScaleEngineengine

Detailed Description

Definition at line 77 of file overlayframe.h.


Constructor & Destructor Documentation

ScaleUnit::ScaleUnit ( ScaleEngine server,
OverlayFrame overlay 
)

Definition at line 791 of file overlayframe.C.

References engine.

ScaleUnit::~ScaleUnit (  ) 

Definition at line 798 of file overlayframe.C.


Member Function Documentation

float ScaleUnit::cubic_bspline ( float  x  ) 

Definition at line 1319 of file overlayframe.C.

References a, b, c, and CUBE.

Referenced by tabulate_bcubic_f(), and tabulate_bcubic_i().

void ScaleUnit::tabulate_bcubic_f ( float *&  coef_table,
int *&  coord_table,
float  scale,
float  start,
int  pixels,
int  total_pixels,
float  coefficient 
)

Definition at line 1365 of file overlayframe.C.

References a, CLAMP, and cubic_bspline().

Here is the call graph for this function:

void ScaleUnit::tabulate_blinear_f ( int *&  table_int1,
int *&  table_int2,
float *&  table_frac,
float *&  table_antifrac,
float  scale,
int  pixel1,
int  pixel2,
float  start,
int  total_pixels 
)

Definition at line 1417 of file overlayframe.C.

References a, and CLAMP.

void ScaleUnit::tabulate_bcubic_i ( int *&  coef_table,
int *&  coord_table,
float  scale,
int  start,
int  pixels,
int  total_pixels,
float  coefficient 
)

Definition at line 1391 of file overlayframe.C.

References a, CLAMP, and cubic_bspline().

Here is the call graph for this function:

void ScaleUnit::tabulate_blinear_i ( int *&  table_int1,
int *&  table_int2,
int *&  table_frac,
int *&  table_antifrac,
float  scale,
int  pixel1,
int  pixel2,
float  start,
int  total_pixels 
)

Definition at line 1448 of file overlayframe.C.

References a, and CLAMP.

void ScaleUnit::tabulate_reduction ( bilinear_table_t *&  table,
float  scale,
int  pixel1,
int  out_total,
int  in_total 
)

void ScaleUnit::tabulate_enlarge ( bilinear_table_t *&  table,
float  scale,
float  pixel1,
int  out_total,
int  in_total 
)

void ScaleUnit::dump_bilinear ( bilinear_table_t table,
int  total 
)

Definition at line 947 of file overlayframe.C.

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


Field Documentation

Definition at line 132 of file overlayframe.h.

Definition at line 133 of file overlayframe.h.

Referenced by process_package(), and ScaleUnit().


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

Generated on Mon Apr 28 14:42:33 2008 for Cinelerra by  doxygen 1.5.5