diff motion_est_template.c @ 2327:5e5cf598a48b libavcodec

H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
author michael
date Thu, 28 Oct 2004 10:12:57 +0000
parents 4306aa6f8f16
children e25782262d7d
line wrap: on
line diff
--- a/motion_est_template.c	Wed Oct 27 21:42:26 2004 +0000
+++ b/motion_est_template.c	Thu Oct 28 10:12:57 2004 +0000
@@ -221,6 +221,16 @@
 }
 #endif
 
+static int no_sub_motion_search(MpegEncContext * s,
+          int *mx_ptr, int *my_ptr, int dmin,
+                                  int src_index, int ref_index,
+                                  int size, int h)
+{
+    (*mx_ptr)<<=1;
+    (*my_ptr)<<=1;
+    return dmin;
+}
+
 int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
                                int ref_index, int size, int h, int add_rate)
 {