diff avcodec.h @ 321:2b00e171b1d4 libavcodec

- ME method compatibility with legacy apps. - Please use AVCodecContext's me_method now.
author pulento
date Sun, 14 Apr 2002 22:17:40 +0000
parents cda7d0857baf
children ce35fd27bbb0
line wrap: on
line diff
--- a/avcodec.h	Sun Apr 14 18:57:51 2002 +0000
+++ b/avcodec.h	Sun Apr 14 22:17:40 2002 +0000
@@ -58,7 +58,7 @@
 
 /* motion estimation type, EPZS by default */
 enum Motion_Est_ID {
-    ME_ZERO = -4,
+    ME_ZERO = 1,
     ME_FULL,
     ME_LOG,
     ME_PHODS,
@@ -66,6 +66,9 @@
     ME_X1
 };
 
+/* only for ME compatiblity with old apps */
+extern int motion_estimation_method;
+
 /* ME algos sorted by quality */
 static const int Motion_Est_QTab[] = { -4, -1, -2, 1, 0, -3 };