#include <affine.h>
Inherits LoadClient.

Public Member Functions | |
| AffineUnit (AffineEngine *server) | |
| void | process_package (LoadPackage *package) |
| void | calculate_matrix (double in_x1, double in_y1, double in_x2, double in_y2, double out_x1, double out_y1, double out_x2, double out_y2, double out_x3, double out_y3, double out_x4, double out_y4, AffineMatrix *result) |
| float | transform_cubic (float dx, float jm1, float j, float jp1, float jp2) |
Data Fields | |
| AffineEngine * | server |
Definition at line 37 of file affine.h.
| AffineUnit::AffineUnit | ( | AffineEngine * | server | ) |
| void AffineUnit::process_package | ( | LoadPackage * | package | ) | [virtual] |
Reimplemented from LoadClient.
Definition at line 308 of file affine.C.
References AFFINE_OVERSAMPLE, BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::bind_texture(), calculate_matrix(), CLAMP, VFrame::clear_pbuffer(), cmodel_is_yuv(), AffineMatrix::copy_from(), DISTANCE, DO_STRETCH, VFrame::draw_texture(), VFrame::enable_opengl(), AffineEngine::forward, VFrame::get_color_model(), VFrame::get_h(), VFrame::get_texture_h(), VFrame::get_texture_w(), VFrame::get_w(), AffineEngine::h, VFrame::init_screen(), AffineEngine::input, interpolate(), AffineMatrix::invert(), VFrame::make_shader(), MAX, MAX4, MIN, MIN4, AffineEngine::mode, AffineEngine::output, AffineEngine::PERSPECTIVE, AffineEngine::ROTATE, ROUND, VFrame::SCREEN, server, VFrame::set_opengl_state(), AffineEngine::SHEER, step, AffineEngine::STRETCH, VFrame::to_texture(), TRANSFORM, AffineMatrix::transform_point(), AffineEngine::use_opengl, AffineMatrix::values, AffineEngine::w, AffineEngine::x, AffineEngine::x1, AffineEngine::x2, AffineEngine::x3, AffineEngine::x4, AffineEngine::y, AffinePackage::y1, AffineEngine::y1, AffinePackage::y2, AffineEngine::y2, AffineEngine::y3, and AffineEngine::y4.

| void AffineUnit::calculate_matrix | ( | double | in_x1, | |
| double | in_y1, | |||
| double | in_x2, | |||
| double | in_y2, | |||
| double | out_x1, | |||
| double | out_y1, | |||
| double | out_x2, | |||
| double | out_y2, | |||
| double | out_x3, | |||
| double | out_y3, | |||
| double | out_x4, | |||
| double | out_y4, | |||
| AffineMatrix * | result | |||
| ) |
Definition at line 188 of file affine.C.
References AffineMatrix::identity(), AffineMatrix::multiply(), AffineMatrix::scale(), AffineMatrix::translate(), and AffineMatrix::values.
Referenced by process_package().

| float AffineUnit::transform_cubic | ( | float | dx, | |
| float | jm1, | |||
| float | j, | |||
| float | jp1, | |||
| float | jp2 | |||
| ) |
Reimplemented from LoadClient.
Definition at line 61 of file affine.h.
Referenced by process_package().
1.5.5