summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-04-14 22:17:40 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-04-14 22:17:40 +0000
commit101bea5f2272dfcca084aeeb78ccb1c2e925b12b (patch)
tree10a73258ed2e1105ff7b75fc8b356cd4eeb5907a /libavcodec/avcodec.h
parente4986da9ce91c4a6f9e942c4225f0c3d90e5db95 (diff)
- ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now. Originally committed as revision 399 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a6b03e9dde..c5209bdac6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -58,7 +58,7 @@ enum SampleFormat {
/* 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 @@ enum Motion_Est_ID {
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 };