bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / plugins / motion2point / motion.C
index 28c09378f67b7f7fa2606a31cf1f9e5140eece77..103afb07de0888d363d72a42a0a4487d4283ee47 100644 (file)
@@ -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"
@@ -242,7 +242,7 @@ MotionMain2::~MotionMain2()
        delete global_target_dst;
 }
 
-const char* MotionMain2::plugin_title() { return _("Motion 2 Point"); }
+const char* MotionMain2::plugin_title() { return N_("Motion 2 Point"); }
 int MotionMain2::is_realtime() { return 1; }
 int MotionMain2::is_multichannel() { return 1; }
 
@@ -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