ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/trunk/xvidcore/src/motion/smp_motion_est.c
(Generate patch)

Comparing trunk/xvidcore/src/motion/smp_motion_est.c (file contents):
Revision 287 by chl, Sun Jul 7 10:20:16 2002 UTC vs.
Revision 288 by chl, Wed Jul 10 19:31:05 2002 UTC

# Line 78 | Line 78 | void SMP_correct_pmv(int x, int y, int i
78                  
79          case MODE_INTER:
80          case MODE_INTER_Q:
81 <                pmv = get_pmv(pMBs, x, y, iWcount, 0);  
81 >                pmv = get_pmv2(pMBs, iWcount, 0, x, y, 0);  
82                  pMB->pmvs[0].x = pMB->mvs[0].x - pmv.x;
83                  pMB->pmvs[0].y = pMB->mvs[0].y - pmv.y;
84                  break;
85                                  
86          case MODE_INTER4V:
87                  for (k=0;k<4;k++) {
88 <                        pmv = get_pmv(pMBs, x, y, iWcount, k);  
88 >                        pmv = get_pmv2(pMBs, iWcount, 0, x, y, k);  
89                          pMB->pmvs[k].x = pMB->mvs[k].x - pmv.x;
90                          pMB->pmvs[k].y = pMB->mvs[k].y - pmv.y;
91                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines