X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion2point%2Fmotion.C;h=5897ae0e0d768c29c2856a239da86b7511dad62b;hb=ae3fc4be2e74120251506615bb29b853c6e10ff6;hp=28c09378f67b7f7fa2606a31cf1f9e5140eece77;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion2point/motion.C b/cinelerra-5.1/plugins/motion2point/motion.C index 28c09378..5897ae0e 100644 --- a/cinelerra-5.1/plugins/motion2point/motion.C +++ b/cinelerra-5.1/plugins/motion2point/motion.C @@ -20,7 +20,7 @@ */ #include "affine.h" -#include "../motion/motionscan.h" +#include "../motion-hv/motionscan-hv.h" #include "bcdisplayinfo.h" #include "bcsignals.h" #include "clip.h" @@ -438,7 +438,7 @@ void MotionMain2::allocate_temp(int w, int h, int color_model) temp_frame = 0; } if(!temp_frame) - temp_frame = new VFrame(w, h, color_model); + temp_frame = new VFrame(w, h, color_model, 0); } @@ -833,16 +833,16 @@ printf("MotionMain2::process_buffer 1 start_position=%jd\n", start_position); // The center of the search area is fixed in compensate mode or // the user value + the accumulation vector in track mode. if(!prev_global_ref) - prev_global_ref = new VFrame(w, h, color_model); + prev_global_ref = new VFrame(w, h, color_model, 0); if(!current_global_ref) - current_global_ref = new VFrame(w, h, color_model); + current_global_ref = new VFrame(w, h, color_model, 0); // Global loads the current target frame into the src and // writes it to the dst frame with desired translation. if(!global_target_src) - global_target_src = new VFrame(w, h, color_model); + global_target_src = new VFrame(w, h, color_model, 0); if(!global_target_dst) - global_target_dst = new VFrame(w, h, color_model); + global_target_dst = new VFrame(w, h, color_model, 0); // Load the global frames