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 |
|
|