RotateEngine Class Reference

#include <rotateframe.h>

Inherits Thread.

Collaboration diagram for RotateEngine:

Collaboration graph
[legend]

Public Member Functions

 RotateEngine (RotateFrame *plugin, int row1, int row2)
 ~RotateEngine ()
int generate_matrix (int interpolate)
int perform_rotation (VFrame *input, VFrame *output, int interpolate)
int wait_completion ()
int create_matrix ()
int coords_to_pixel (int &input_y, int &input_x)
int coords_to_pixel (SourceCoord &float_pixel, float &input_y, float &input_x)
int perform_rotation ()
void run ()

Data Fields

int row1
int row2
int interpolate
int do_matrix
int do_rotation
int done
RotateFrameplugin
Conditioninput_lock
Conditionoutput_lock
VFrameoutput
VFrameinput

Detailed Description

Definition at line 59 of file rotateframe.h.


Constructor & Destructor Documentation

RotateEngine::RotateEngine ( RotateFrame plugin,
int  row1,
int  row2 
)

Definition at line 373 of file rotateframe.C.

References do_matrix, do_rotation, done, input_lock, output_lock, and Thread::set_synchronous().

Here is the call graph for this function:

RotateEngine::~RotateEngine (  ) 

Definition at line 384 of file rotateframe.C.

References done, input_lock, Thread::join(), output_lock, and Condition::unlock().

Here is the call graph for this function:


Member Function Documentation

int RotateEngine::generate_matrix ( int  interpolate  ) 

Definition at line 396 of file rotateframe.C.

References do_matrix, input_lock, and Condition::unlock().

Referenced by RotateFrame::rotate_obliqueangle().

Here is the call graph for this function:

int RotateEngine::perform_rotation ( VFrame input,
VFrame output,
int  interpolate 
)

Definition at line 404 of file rotateframe.C.

References do_rotation, input_lock, and Condition::unlock().

Referenced by RotateFrame::rotate_obliqueangle().

Here is the call graph for this function:

int RotateEngine::wait_completion (  ) 

Definition at line 417 of file rotateframe.C.

References Condition::lock(), and output_lock.

Referenced by RotateFrame::rotate_obliqueangle().

Here is the call graph for this function:

int RotateEngine::create_matrix (  ) 

Definition at line 452 of file rotateframe.C.

References RotateFrame::angle, coords_to_pixel(), RotateFrame::float_rows, VFrame::get_h(), VFrame::get_w(), RotateFrame::input, RotateFrame::int_rows, interpolate, M_PI, plugin, row1, row2, and SQR.

Referenced by run().

Here is the call graph for this function:

int RotateEngine::coords_to_pixel ( int &  input_y,
int &  input_x 
)

Definition at line 423 of file rotateframe.C.

References VFrame::get_h(), VFrame::get_w(), RotateFrame::input, and plugin.

Referenced by create_matrix().

Here is the call graph for this function:

int RotateEngine::coords_to_pixel ( SourceCoord float_pixel,
float &  input_y,
float &  input_x 
)

Definition at line 436 of file rotateframe.C.

References VFrame::get_h(), VFrame::get_w(), RotateFrame::input, plugin, SourceCoord::x, and SourceCoord::y.

Here is the call graph for this function:

int RotateEngine::perform_rotation (  ) 

void RotateEngine::run (  )  [virtual]

Implements Thread.

Definition at line 688 of file rotateframe.C.

References create_matrix(), do_matrix, do_rotation, done, input_lock, Condition::lock(), output_lock, perform_rotation(), and Condition::unlock().

Here is the call graph for this function:


Field Documentation

Definition at line 76 of file rotateframe.h.

Referenced by create_matrix().

Definition at line 76 of file rotateframe.h.

Referenced by create_matrix().

Definition at line 77 of file rotateframe.h.

Referenced by create_matrix(), and perform_rotation().

Definition at line 78 of file rotateframe.h.

Referenced by generate_matrix(), RotateEngine(), and run().

Definition at line 78 of file rotateframe.h.

Referenced by perform_rotation(), RotateEngine(), and run().

Definition at line 79 of file rotateframe.h.

Referenced by RotateEngine(), run(), and ~RotateEngine().

Definition at line 80 of file rotateframe.h.

Referenced by coords_to_pixel(), and create_matrix().

Definition at line 81 of file rotateframe.h.

Referenced by generate_matrix(), perform_rotation(), RotateEngine(), run(), and ~RotateEngine().

Definition at line 82 of file rotateframe.h.

Referenced by RotateEngine(), run(), wait_completion(), and ~RotateEngine().

Definition at line 83 of file rotateframe.h.

Definition at line 84 of file rotateframe.h.

Referenced by perform_rotation().


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

Generated on Mon Apr 28 14:41:51 2008 for Cinelerra by  doxygen 1.5.5