21 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: motion_inlines.h,v 1.3 2004-12-05 04:53:01 syskin Exp $ |
* $Id: motion_inlines.h,v 1.4 2004-12-08 12:43:48 syskin Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
44 |
uint32_t block_sz, /* block dimension, 3(8) or 4(16) */ |
uint32_t block_sz, /* block dimension, 3(8) or 4(16) */ |
45 |
const uint32_t width, |
const uint32_t width, |
46 |
const uint32_t height, |
const uint32_t height, |
47 |
const uint32_t fcode, |
const int fcode, |
48 |
const int precision) /* 2 for qpel, 1 for halfpel */ |
const int precision) /* 2 for qpel, 1 for halfpel */ |
49 |
{ |
{ |
50 |
int k; |
int k; |
51 |
const int search_range = 16 << fcode; |
const int search_range = 1 << (4+fcode); |
52 |
int high = search_range - 1; |
int high = search_range - 1; |
53 |
int low = -search_range; |
int low = -search_range; |
54 |
|
|