PolarEngine Class Reference

#include <polar.h>

Inherits Thread, and LoadServer.

Collaboration diagram for PolarEngine:

Collaboration graph
[legend]

Public Member Functions

 PolarEngine (PolarEffect *plugin, int cpus)
void init_packages ()
LoadClientnew_client ()
LoadPackagenew_package ()
 PolarEngine (PolarMain *plugin, int start_y, int end_y)
 ~PolarEngine ()
int start_process_frame (VFrame **output, VFrame **input, int size)
int wait_process_frame ()
void run ()
void get_pixel (const int &x, const int &y, VPixel *pixel, VPixel **input_rows)
int calc_undistorted_coords (int wx, int wy, double &x, double &y)
VWORD bilinear (double &x, double &y, VWORD *values)

Data Fields

PolarEffectplugin
PolarMainplugin
int start_y
int end_y
int size
double cen_x
double cen_y
VFrame ** output
VFrame ** input
int last_frame
Mutex input_lock
Mutex output_lock

Detailed Description

Definition at line 96 of file polar.C.


Constructor & Destructor Documentation

PolarEngine::PolarEngine ( PolarEffect plugin,
int  cpus 
)

Definition at line 810 of file polar.C.

PolarEngine::PolarEngine ( PolarMain plugin,
int  start_y,
int  end_y 
)

PolarEngine::~PolarEngine (  ) 


Member Function Documentation

void PolarEngine::init_packages (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 816 of file polar.C.

References VFrame::get_h(), LoadServer::get_package(), LoadServer::get_total_packages(), PolarEffect::input, plugin, PolarPackage::row1, and PolarPackage::row2.

Here is the call graph for this function:

LoadClient * PolarEngine::new_client (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 826 of file polar.C.

References plugin.

LoadPackage * PolarEngine::new_package (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 831 of file polar.C.

int PolarEngine::start_process_frame ( VFrame **  output,
VFrame **  input,
int  size 
)

int PolarEngine::wait_process_frame (  ) 

void PolarEngine::run (  )  [virtual]

Implements Thread.

void PolarEngine::get_pixel ( const int &  x,
const int &  y,
VPixel *  pixel,
VPixel **  input_rows 
)

int PolarEngine::calc_undistorted_coords ( int  wx,
int  wy,
double &  x,
double &  y 
)

VWORD PolarEngine::bilinear ( double &  x,
double &  y,
VWORD *  values 
) [inline]

Definition at line 69 of file polar.h.


Field Documentation

Definition at line 103 of file polar.C.

Referenced by init_packages(), and new_client().

Definition at line 83 of file polar.h.

Definition at line 84 of file polar.h.

Definition at line 85 of file polar.h.

Definition at line 86 of file polar.h.

Definition at line 87 of file polar.h.

Definition at line 87 of file polar.h.

Definition at line 88 of file polar.h.

Definition at line 88 of file polar.h.

Definition at line 89 of file polar.h.

Definition at line 90 of file polar.h.

Definition at line 90 of file polar.h.


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

Generated on Mon Apr 28 14:36:58 2008 for Cinelerra by  doxygen 1.5.5