X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmotion_est.c;h=0eeb2aa176895f35b136997512f2847734309fce;hb=f1d6fc779450715fda20e7844ffc6364e50f5a3e;hp=fb0bec377c94e2e3415e93cecfa14eefe3a74e1f;hpb=d0cb6caf691ccd52fae1b3000691108cfacd327c;p=ffmpeg diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index fb0bec377c9..0eeb2aa1768 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,