summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-26 02:34:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-26 02:34:51 +0200
commit8b395315a5e7eba743d815f0b9c3a42aaeefd297 (patch)
tree577bc6c2b44ab722e101f03d653288b19351a831 /libavcodec/motion_est.c
parent0a9bab5be64ffb85b2597bfd6e506a7fce512c0b (diff)
parent4fbb62a21bd04bf261da2382d5ba6c249c702af8 (diff)
Merge commit '4fbb62a21bd04bf261da2382d5ba6c249c702af8'
* commit '4fbb62a21bd04bf261da2382d5ba6c249c702af8': mpegvideo: Move ME_MAP_* defines to the only place they are used Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 fb0bec377c..0eeb2aa176 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,