[svn] / branches / dev-api-4 / xvidcore / src / motion / motion_est.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/motion/motion_est.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 234, Sun Jun 23 03:58:32 2002 UTC revision 248, Fri Jun 28 15:14:40 2002 UTC
# Line 1280  Line 1280 
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);          bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad, 0, 0);
1284    
1285          if ((x == 0) && (y == 0)) {          if ((x == 0) && (y == 0)) {
1286                  threshA = 512;                  threshA = 512;
# Line 1699  Line 1699 
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);                  get_pmvdata(pMBs, (x >> 1), (y >> 1), iWcount, iSubBlock, pmv, psad, 0, 0);
1703    
1704          if ((x == 0) && (y == 0)) {          if ((x == 0) && (y == 0)) {
1705                  threshA = 512 / 4;                  threshA = 512 / 4;
# Line 2009  Line 2009 
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);          bPredEq = get_pmvdata(pMBs, x, y, iWcount, 0, pmv, psad, 0, 0);
2013    
2014  /* Step 4: Calculate SAD around the Median prediction.  /* Step 4: Calculate SAD around the Median prediction.
2015          MinSAD=SAD          MinSAD=SAD
# Line 2287  Line 2287 
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);          bPredEq = get_pmvdata(pMBs, x >> 1, y >> 1, iWcount, iSubBlock, pmv, psad, 0, 0);
2291    
2292    
2293  /* Step 4: Calculate SAD around the Median prediction.  /* Step 4: Calculate SAD around the Median prediction.

Legend:
Removed from v.234  
changed lines
  Added in v.248

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4