aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-07 01:20:43 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-07-27 15:24:56 +0100
commit4b6b1082a73907c7c3de2646c6398bc61320f2c6 (patch)
tree3a85c5b997a1a9fdadd923c921af433dc67f1ef4 /libavcodec/motion_est.h
parent03eb55741427c6608f63972c105e565ca0ba4f15 (diff)
downloadffmpeg-4b6b1082a73907c7c3de2646c6398bc61320f2c6.tar.gz
lavc: Deprecate avctx.me_method
This option is extremely codec specific and only a few codecs employ it. Move it to codec private options instead: mpegenc family supports only 3 values, xavs and x264 use 5, and xvid has a different metric entirely. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/motion_est.h')
-rw-r--r--libavcodec/motion_est.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 4ffe70ed30..a5c662f8c5 100644
--- a/libavcodec/motion_est.h
+++ b/libavcodec/motion_est.h
@@ -31,6 +31,10 @@ struct MpegEncContext;
#define MAX_MV 2048
+#define FF_ME_ZERO 0
+#define FF_ME_EPZS 1
+#define FF_ME_XONE 2
+
/**
* Motion estimation context.
*/