X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion%2Fmotionscan.h;h=72c52980bcb7c6a7eff6e0f5514a9c1736a2d17f;hp=f358531f09e665ed19d85acf1fab6e986ca30a49;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hpb=5a1b2bb96f2bd6b7ef4f8031763683726c02219d diff --git a/cinelerra-5.1/plugins/motion/motionscan.h b/cinelerra-5.1/plugins/motion/motionscan.h index f358531f..72c52980 100644 --- a/cinelerra-5.1/plugins/motion/motionscan.h +++ b/cinelerra-5.1/plugins/motion/motionscan.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2016 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 MOTIONSCAN_H @@ -78,7 +78,7 @@ public: class MotionScan : public LoadServer { public: - MotionScan(int total_clients, + MotionScan(int total_clients, int total_packages); ~MotionScan(); @@ -131,8 +131,8 @@ public: int sub_y); - static void clamp_scan(int w, - int h, + static void clamp_scan(int w, + int h, int *block_x1, int *block_y1, int *block_x2, @@ -143,7 +143,7 @@ public: int *scan_y2, int use_absolute); -// Change between previous frame and current frame multiplied by +// Change between previous frame and current frame multiplied by // OVERSAMPLE int dx_result; int dy_result; @@ -158,7 +158,7 @@ public: STABILIZE_PIXEL, NOTHING }; - + enum { // tracking_type @@ -167,7 +167,7 @@ public: LOAD, NO_CALCULATE }; - + enum { // frame_type @@ -177,8 +177,8 @@ public: }; private: - void downsample_frame(VFrame *dst, - VFrame *src, + void downsample_frame(VFrame *dst, + VFrame *src, int downsample); void pixel_search(int &x_result, int &y_result, double &r_result); void subpixel_search(int &x_result, int &y_result);