diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-04-14 22:17:40 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-04-14 22:17:40 +0000 |
commit | 101bea5f2272dfcca084aeeb78ccb1c2e925b12b (patch) | |
tree | 10a73258ed2e1105ff7b75fc8b356cd4eeb5907a /libavcodec/avcodec.h | |
parent | e4986da9ce91c4a6f9e942c4225f0c3d90e5db95 (diff) | |
download | ffmpeg-101bea5f2272dfcca084aeeb78ccb1c2e925b12b.tar.gz |
- 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.h | 5 |
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 }; |