X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion-hv%2Fmotionscan-hv.h;fp=cinelerra-5.1%2Fplugins%2Fmotion-hv%2Fmotionscan-hv.h;h=b9241c5955fc48fff25a2d34480199488d214ccb;hp=7511e64223b25d66a280e1f912cc102669a3ad4d;hb=9d832a1fff11b11aaa1108c460690ed05e2bdc05;hpb=4fedf98530b3a6ff1ada6d2b9fbbc470e3df300c diff --git a/cinelerra-5.1/plugins/motion-hv/motionscan-hv.h b/cinelerra-5.1/plugins/motion-hv/motionscan-hv.h index 7511e642..b9241c59 100644 --- a/cinelerra-5.1/plugins/motion-hv/motionscan-hv.h +++ b/cinelerra-5.1/plugins/motion-hv/motionscan-hv.h @@ -25,6 +25,7 @@ #include "affine.inc" #include "loadbalance.h" +#include "motioncache-hv.inc" #include "vframe.inc" #include @@ -89,6 +90,7 @@ public: LoadPackage* new_package(); // Test for identical frames before scanning void set_test_match(int value); + void set_cache(MotionHVCache *cache); // Invoke the motion engine for a search // Frame before motion @@ -196,7 +198,8 @@ private: int color_model); - + MotionHVCache *downsample_cache; + int shared_downsample; AffineEngine *rotater; // Pointer to downsampled frame before motion VFrame *previous_frame; @@ -205,9 +208,6 @@ private: // Frames passed from user VFrame *previous_frame_arg; VFrame *current_frame_arg; -// Downsampled frames - VFrame *downsampled_previous; - VFrame *downsampled_current; // rotated versions of current_frame VFrame **rotated_current; // allocation of rotated_current array, a copy of angle_steps