aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-23 13:50:35 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-25 12:00:53 -0700
commit4fbb62a21bd04bf261da2382d5ba6c249c702af8 (patch)
tree7752fe2b56218e2f6f1a1a00939156af1c410d11 /libavcodec/motion_est.c
parentff85334375c6733c6116ea3686f128b4a11f33e7 (diff)
downloadffmpeg-4fbb62a21bd04bf261da2382d5ba6c249c702af8.tar.gz
mpegvideo: Move ME_MAP_* defines to the only place they are used
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index dee28f05ab..26cde77d3c 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -45,6 +45,9 @@
#define P_MEDIAN P[4]
#define P_MV1 P[9]
+#define ME_MAP_SHIFT 3
+#define ME_MAP_MV_BITS 11
+
static int sad_hpel_motion_search(MpegEncContext * s,
int *mx_ptr, int *my_ptr, int dmin,
int src_index, int ref_index,