1280 |
} |
} |
1281 |
|
|
1282 |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
1283 |
bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad, 0, 0); |
bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad); |
1284 |
|
|
1285 |
if ((x == 0) && (y == 0)) { |
if ((x == 0) && (y == 0)) { |
1286 |
threshA = 512; |
threshA = 512; |
1699 |
|
|
1700 |
/* because we might use IF (dx>max_dx) THEN dx=max_dx; */ |
/* because we might use IF (dx>max_dx) THEN dx=max_dx; */ |
1701 |
bPredEq = |
bPredEq = |
1702 |
get_pmvdata(pMBs, (x >> 1), (y >> 1), iWcount, iSubBlock, pmv, psad, 0, 0); |
get_pmvdata(pMBs, (x >> 1), (y >> 1), iWcount, iSubBlock, pmv, psad); |
1703 |
|
|
1704 |
if ((x == 0) && (y == 0)) { |
if ((x == 0) && (y == 0)) { |
1705 |
threshA = 512 / 4; |
threshA = 512 / 4; |
2009 |
max_dy = EVEN(max_dy); |
max_dy = EVEN(max_dy); |
2010 |
} |
} |
2011 |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
2012 |
bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad, 0, 0); |
bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad); |
2013 |
|
|
2014 |
/* Step 4: Calculate SAD around the Median prediction. |
/* Step 4: Calculate SAD around the Median prediction. |
2015 |
MinSAD=SAD |
MinSAD=SAD |
2287 |
max_dy = EVEN(max_dy); |
max_dy = EVEN(max_dy); |
2288 |
} |
} |
2289 |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
/* because we might use something like IF (dx>max_dx) THEN dx=max_dx; */ |
2290 |
bPredEq = get_pmvdata(pMBs, x >> 1, y >> 1, iWcount, iSubBlock, pmv, psad, 0, 0); |
bPredEq = get_pmvdata(pMBs, x >> 1, y >> 1, iWcount, iSubBlock, pmv, psad); |
2291 |
|
|
2292 |
|
|
2293 |
/* Step 4: Calculate SAD around the Median prediction. |
/* Step 4: Calculate SAD around the Median prediction. |