--- motion_inlines.h 2004/03/22 22:36:24 1.2 +++ motion_inlines.h 2004/12/08 12:43:48 1.4 @@ -21,7 +21,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: motion_inlines.h,v 1.2 2004/03/22 22:36:24 edgomez Exp $ + * $Id: motion_inlines.h,v 1.4 2004/12/08 12:43:48 syskin Exp $ * ****************************************************************************/ @@ -44,21 +44,14 @@ uint32_t block_sz, /* block dimension, 3(8) or 4(16) */ const uint32_t width, const uint32_t height, - const uint32_t fcode, - const int precision, /* 2 for qpel, 1 for halfpel */ - const int rrv) + const int fcode, + const int precision) /* 2 for qpel, 1 for halfpel */ { int k; - const int search_range = 16 << fcode; + const int search_range = 1 << (4+fcode); int high = search_range - 1; int low = -search_range; - if (rrv) { - high = RRV_MV_SCALEUP(high); - low = RRV_MV_SCALEUP(low); - block_sz++; - } - k = (int)(width - (x<