X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Frotateframe.h;h=8304b1e6a96b5b492767904e71ffd6a33728c57a;hb=0a0a29dd9e484b5622b46173d51bb6cefc0a5da4;hp=ec47b47f909bc93c3bf6e3425e479430b34b2ea3;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/rotateframe.h b/cinelerra-5.1/guicast/rotateframe.h index ec47b47f..8304b1e6 100644 --- a/cinelerra-5.1/guicast/rotateframe.h +++ b/cinelerra-5.1/guicast/rotateframe.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #ifndef ROTATEFRAME_H @@ -40,26 +40,26 @@ public: ~RotateFrame(); // angle is 0 - 360 - void rotate(VFrame *output, - VFrame *input, - double angle, + void rotate(VFrame *output, + VFrame *input, + double angle, int interpolate); - int rotate_rightangle(VFrame *input, - VFrame *output, + int rotate_rightangle(VFrame *input, + VFrame *output, int angle); - int rotate_obliqueangle(VFrame *input, - VFrame *output, + 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 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); int cpus; @@ -82,10 +82,10 @@ class RotateEngine : public Thread public: RotateEngine(RotateFrame *plugin, int row1, int row2); ~RotateEngine(); - + int generate_matrix(int interpolate); - int perform_rotation(VFrame *input, - VFrame *output, + int perform_rotation(VFrame *input, + VFrame *output, int interpolate); int wait_completion(); int create_matrix(); @@ -93,7 +93,7 @@ public: int coords_to_pixel(SourceCoord &float_pixel, float &input_y, float &input_x); int perform_rotation(); void run(); - + int row1, row2; int interpolate; int do_matrix, do_rotation;