X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion%2Fmotionscan.h;h=7ba8843920eda0c9fe15a66be48b89e99414650c;hb=63f6e5905e9f2f3dfe4aff219d92982fb3429cb9;hp=32aeb5aa765ab81c85b3d8ad84d55b72659a6a1b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/motion/motionscan.h b/cinelerra-5.1/plugins/motion/motionscan.h index 32aeb5aa..7ba88439 100644 --- a/cinelerra-5.1/plugins/motion/motionscan.h +++ b/cinelerra-5.1/plugins/motion/motionscan.h @@ -89,7 +89,8 @@ public: class MotionScan : public LoadServer { public: - MotionScan(int total_clients, + MotionScan(MotionMain *plugin, + int total_clients, int total_packages); ~MotionScan(); @@ -107,7 +108,7 @@ public: int global_range_w, int global_range_h, int global_block_w, int global_block_h, double block_x, double block_y, int frame_type, int tracking_type, int action_type, int horizontal_only, int vertical_only, int source_position, int total_steps, - int total_dx, int total_dy, int global_origin_x, int global_origin_y, + int total_dx, int total_dy, int global_origin_x, int global_origin_y, int passno, int load_ok=0, int load_dx=0, int load_dy=0); int64_t get_cache(int x, int y); void put_cache(int x, int y, int64_t difference); @@ -126,6 +127,9 @@ public: // OVERSAMPLE int dx_result, dy_result; +// Currently best expected location of scan block + int x_result, y_result; + enum { // action_type TRACK, STABILIZE, @@ -158,6 +162,7 @@ private: // Downsampled frames VFrame *downsampled_previous; VFrame *downsampled_current; + MotionMain *plugin; // Test for identical frames before processing // Faster to skip it if the frames are usually different int test_match;