#include <affine.h>
Inherits LoadServer.

Public Types | |
| enum | { PERSPECTIVE, SHEER, STRETCH, ROTATE } |
Public Member Functions | |
| AffineEngine (int total_clients, int total_packages) | |
| void | process (VFrame *output, VFrame *input, VFrame *temp, int mode, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, int forward) |
| void | rotate (VFrame *output, VFrame *input, float angle) |
| void | set_viewport (int x, int y, int w, int h) |
| void | set_pivot (int x, int y) |
| void | unset_pivot () |
| void | unset_viewport () |
| void | set_opengl (int value) |
| void | init_packages () |
| LoadClient * | new_client () |
| LoadPackage * | new_package () |
Data Fields | |
| VFrame * | input |
| VFrame * | output |
| VFrame * | temp |
| int | mode |
| float | x1 |
| float | y1 |
| float | x2 |
| float | y2 |
| float | x3 |
| float | y3 |
| float | x4 |
| float | y4 |
| int | x |
| int | y |
| int | w |
| int | h |
| int | pivot_x |
| int | pivot_y |
| int | user_pivot |
| int | user_viewport |
| int | forward |
| int | use_opengl |
Definition at line 64 of file affine.h.
| anonymous enum |
| AffineEngine::AffineEngine | ( | int | total_clients, | |
| int | total_packages | |||
| ) |
| void AffineEngine::process | ( | VFrame * | output, | |
| VFrame * | input, | |||
| VFrame * | temp, | |||
| int | mode, | |||
| float | x1, | |||
| float | y1, | |||
| float | x2, | |||
| float | y2, | |||
| float | x3, | |||
| float | y3, | |||
| float | x4, | |||
| float | y4, | |||
| int | forward | |||
| ) |
Definition at line 947 of file affine.C.
References VFrame::get_h(), VFrame::get_w(), h, LoadServer::process_packages(), LoadServer::process_single(), use_opengl, user_viewport, w, x, and y.
Referenced by PerspectiveMain::handle_opengl(), and PerspectiveMain::process_buffer().

Definition at line 993 of file affine.C.
References DISTANCE, forward, VFrame::get_h(), VFrame::get_w(), h, M_PI, mode, pivot_x, pivot_y, LoadServer::process_packages(), LoadServer::process_single(), ROTATE, temp, use_opengl, user_pivot, user_viewport, w, x, x1, x2, x3, x4, y, y1, y2, y3, and y4.
Referenced by RotateEffect::handle_opengl(), RadialBlurMain::handle_opengl(), RotateEffect::process_buffer(), RotateScanUnit::process_package(), and MotionMain::process_rotation().

| void AffineEngine::set_viewport | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 1072 of file affine.C.
References user_viewport.
Referenced by RotateScanUnit::process_package().
| void AffineEngine::set_pivot | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 1086 of file affine.C.
References pivot_x, pivot_y, and user_pivot.
Referenced by RadialBlurMain::handle_opengl(), RotateEffect::process_buffer(), RotateScanUnit::process_package(), and MotionMain::process_rotation().
| void AffineEngine::unset_pivot | ( | ) |
| void AffineEngine::unset_viewport | ( | ) |
| void AffineEngine::set_opengl | ( | int | value | ) |
Definition at line 1081 of file affine.C.
References use_opengl.
Referenced by RotateEffect::handle_opengl(), RadialBlurMain::handle_opengl(), and PerspectiveMain::handle_opengl().
| void AffineEngine::init_packages | ( | ) | [virtual] |
Reimplemented from LoadServer.
Definition at line 927 of file affine.C.
References LoadServer::get_total_packages(), h, and y.

| LoadClient * AffineEngine::new_client | ( | ) | [virtual] |
| LoadPackage * AffineEngine::new_package | ( | ) | [virtual] |
| float AffineEngine::x1 |
| float AffineEngine::y1 |
| float AffineEngine::x2 |
| float AffineEngine::y2 |
| float AffineEngine::x3 |
| float AffineEngine::y3 |
| float AffineEngine::x4 |
| float AffineEngine::y4 |
| int AffineEngine::x |
Definition at line 114 of file affine.h.
Referenced by process(), AffineUnit::process_package(), and rotate().
| int AffineEngine::y |
Definition at line 114 of file affine.h.
Referenced by init_packages(), process(), AffineUnit::process_package(), and rotate().
| int AffineEngine::w |
Definition at line 114 of file affine.h.
Referenced by process(), AffineUnit::process_package(), and rotate().
| int AffineEngine::h |
Definition at line 114 of file affine.h.
Referenced by init_packages(), process(), AffineUnit::process_package(), and rotate().
Definition at line 116 of file affine.h.
Referenced by AffineEngine(), rotate(), set_pivot(), and unset_pivot().
Definition at line 117 of file affine.h.
Referenced by AffineEngine(), process(), rotate(), set_viewport(), and unset_viewport().
Definition at line 119 of file affine.h.
Referenced by AffineEngine(), process(), AffineUnit::process_package(), rotate(), and set_opengl().
1.5.5