X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmotion_est.c;h=0eeb2aa176895f35b136997512f2847734309fce;hb=96cea6269ac378f848a054ba8cff532734653662;hp=fb0bec377c94e2e3415e93cecfa14eefe3a74e1f;hpb=135b1a3f2c7985b8336d170419aec6e30cd78043;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,