1257 |
int32_t psad[4]; |
int32_t psad[4]; |
1258 |
VECTOR newMV; |
VECTOR newMV; |
1259 |
VECTOR backupMV; |
VECTOR backupMV; |
1260 |
VECTOR startMV = { start_x, start_y }; |
VECTOR startMV; |
1261 |
|
|
1262 |
const MACROBLOCK * const pMB = pMBs + (x>>1) + (y>>1) * iWcount; |
const MACROBLOCK * const pMB = pMBs + (x>>1) + (y>>1) * iWcount; |
1263 |
const MACROBLOCK * const prevMB = prevMBs + (x>>1) + (y>>1) * iWcount; |
const MACROBLOCK * const prevMB = prevMBs + (x>>1) + (y>>1) * iWcount; |
1268 |
|
|
1269 |
int32_t iSubBlock = (y&1)+(y&1) + (x&1); |
int32_t iSubBlock = (y&1)+(y&1) + (x&1); |
1270 |
|
|
1271 |
|
/* Init variables */ |
1272 |
|
startMV.x = start_x; |
1273 |
|
startMV.y = start_y; |
1274 |
|
|
1275 |
/* Get maximum range */ |
/* Get maximum range */ |
1276 |
get_range(&min_dx, &max_dx, &min_dy, &max_dy, |
get_range(&min_dx, &max_dx, &min_dy, &max_dy, |
1277 |
x, y, 8, iWidth, iHeight, iFcode); |
x, y, 8, iWidth, iHeight, iFcode); |