#include <rotateframe.h>

Public Member Functions | |
| RotateFrame (int cpus, int width, int height) | |
| ~RotateFrame () | |
| void | rotate (VFrame *output, VFrame *input, double angle, int interpolate) |
| int | rotate_rightangle (VFrame *input, VFrame *output, int angle) |
| int | rotate_obliqueangle (VFrame *input, VFrame *output, double angle, int interpolate) |
| int | get_rightdimensions (VFrame *frame, int &diameter, int &in_x1, int &in_y1, int &in_x2, int &in_y2, int &out_x1, int &out_y1, int &out_x2, int &out_y2) |
Data Fields | |
| int | cpus |
| RotateEngine ** | engine |
| int * | int_matrix |
| int ** | int_rows |
| SourceCoord * | float_matrix |
| SourceCoord ** | float_rows |
| VFrame * | output |
| VFrame * | input |
| int | interpolate |
| int | last_interpolate |
| double | last_angle |
| double | angle |
Definition at line 15 of file rotateframe.h.
| RotateFrame::RotateFrame | ( | int | cpus, | |
| int | width, | |||
| int | height | |||
| ) |
Definition at line 12 of file rotateframe.C.
References engine, float_matrix, float_rows, int_matrix, int_rows, last_angle, last_interpolate, and Thread::start().

| RotateFrame::~RotateFrame | ( | ) |
Definition at line 37 of file rotateframe.C.
References cpus, engine, float_matrix, float_rows, int_matrix, and int_rows.
Definition at line 51 of file rotateframe.C.
References VFrame::copy_from(), last_angle, rotate_obliqueangle(), and rotate_rightangle().
Referenced by SetChannelsCanvas::draw(), and BC_Pan::draw_popup().

Definition at line 202 of file rotateframe.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, VFrame::clear_frame(), VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), and ROTATE_RIGHTANGLE.
Referenced by rotate().

| int RotateFrame::rotate_obliqueangle | ( | VFrame * | input, | |
| VFrame * | output, | |||
| double | angle, | |||
| int | interpolate | |||
| ) |
Definition at line 250 of file rotateframe.C.
References BC_RGB161616, BC_RGB888, BC_RGB_FLOAT, BC_RGBA16161616, BC_RGBA8888, BC_RGBA_FLOAT, BC_YUV161616, BC_YUV888, BC_YUVA16161616, BC_YUVA8888, cpus, engine, FILL_CENTER, float_matrix, float_rows, RotateEngine::generate_matrix(), VFrame::get_color_model(), VFrame::get_h(), VFrame::get_w(), int_matrix, int_rows, last_angle, last_interpolate, RotateEngine::perform_rotation(), and RotateEngine::wait_completion().
Referenced by rotate().

| int RotateFrame::get_rightdimensions | ( | VFrame * | frame, | |
| int & | diameter, | |||
| int & | in_x1, | |||
| int & | in_y1, | |||
| int & | in_x2, | |||
| int & | in_y2, | |||
| int & | out_x1, | |||
| int & | out_y1, | |||
| int & | out_x2, | |||
| int & | out_y2 | |||
| ) |
Definition at line 83 of file rotateframe.C.
References VFrame::get_h(), and VFrame::get_w().

Definition at line 44 of file rotateframe.h.
Referenced by rotate_obliqueangle(), and ~RotateFrame().
Definition at line 45 of file rotateframe.h.
Referenced by rotate_obliqueangle(), RotateFrame(), and ~RotateFrame().
Definition at line 47 of file rotateframe.h.
Referenced by rotate_obliqueangle(), RotateFrame(), and ~RotateFrame().
| int ** RotateFrame::int_rows |
Definition at line 47 of file rotateframe.h.
Referenced by RotateEngine::create_matrix(), rotate_obliqueangle(), RotateFrame(), and ~RotateFrame().
Definition at line 49 of file rotateframe.h.
Referenced by rotate_obliqueangle(), RotateFrame(), and ~RotateFrame().
Definition at line 49 of file rotateframe.h.
Referenced by RotateEngine::create_matrix(), rotate_obliqueangle(), RotateFrame(), and ~RotateFrame().
Definition at line 50 of file rotateframe.h.
Definition at line 50 of file rotateframe.h.
Referenced by RotateEngine::coords_to_pixel(), and RotateEngine::create_matrix().
Definition at line 51 of file rotateframe.h.
Definition at line 52 of file rotateframe.h.
Referenced by rotate_obliqueangle(), and RotateFrame().
| double RotateFrame::last_angle |
Definition at line 54 of file rotateframe.h.
Referenced by rotate(), rotate_obliqueangle(), and RotateFrame().
| double RotateFrame::angle |
1.5.5