[svn] / trunk / xvidcore / src / motion / estimation_gmc.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/motion/estimation_gmc.c

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

revision 1563, Wed Nov 24 22:14:11 2004 UTC revision 1564, Sun Dec 5 04:53:01 2004 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: estimation_gmc.c,v 1.4 2004-07-08 07:12:54 syskin Exp $   * $Id: estimation_gmc.c,v 1.5 2004-12-05 04:53:01 syskin Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 78  Line 78 
78          Data->predMV = get_pmv2(pMBs, pParam->mb_width, 0, x, y, 0);          Data->predMV = get_pmv2(pMBs, pParam->mb_width, 0, x, y, 0);
79    
80          get_range(&Data->min_dx, &Data->max_dx, &Data->min_dy, &Data->max_dy, x, y, 4,          get_range(&Data->min_dx, &Data->max_dx, &Data->min_dy, &Data->max_dy, x, y, 4,
81                                  pParam->width, pParam->height, 16, 1, 0);                                  pParam->width, pParam->height, 16, 1);
82    
83          Data->Cur = pCur + 16*(x + y * pParam->edged_width);          Data->Cur = pCur + 16*(x + y * pParam->edged_width);
84          Data->RefP[0] = pRef + 16*(x + y * pParam->edged_width);          Data->RefP[0] = pRef + 16*(x + y * pParam->edged_width);
# Line 111  Line 111 
111          pMB->mvs[0] = pMB->mvs[1] = pMB->mvs[2] = pMB->mvs[3] = Data->currentMV[0];          pMB->mvs[0] = pMB->mvs[1] = pMB->mvs[2] = pMB->mvs[3] = Data->currentMV[0];
112          pMB->sad16 = Data->iMinSAD[0];          pMB->sad16 = Data->iMinSAD[0];
113          pMB->mode = MODE_INTER;          pMB->mode = MODE_INTER;
114          pMB->sad16 += 10*d_mv_bits(pMB->mvs[0].x, pMB->mvs[0].y, Data->predMV, Data->iFcode, 0, 0);          pMB->sad16 += 10*d_mv_bits(pMB->mvs[0].x, pMB->mvs[0].y, Data->predMV, Data->iFcode, 0);
115          return;          return;
116  }  }
117    

Legend:
Removed from v.1563  
changed lines
  Added in v.1564

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