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

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

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

revision 1604, Mon Mar 14 00:47:08 2005 UTC revision 1608, Thu Mar 31 22:14:20 2005 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: estimation_pvop.c,v 1.16 2005-03-14 00:47:08 Isibaar Exp $   * $Id: estimation_pvop.c,v 1.17 2005-03-31 22:14:20 Isibaar Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 910  Line 910 
910                                          }                                          }
911                                  }                                  }
912                                  else if (sad00 < stat_thresh) {                                  else if (sad00 < stat_thresh) {
913                                            VECTOR predMV;
914                                            if (current->vol_flags & XVID_VOL_QUARTERPEL)
915                                                    predMV = get_qpmv2(current->mbs, mb_width, 0, x, y, 0);
916                                            else
917                                                    predMV = get_pmv2(current->mbs, mb_width, 0, x, y, 0);
918    
919                                          ZeroMacroblockP(pMB, sad00);                                          ZeroMacroblockP(pMB, sad00);
920                                          pMB->cbp = 0x3f;                                          pMB->cbp = 0x3f;
921                                            pMB->pmvs[0].x = - predMV.x;
922                                            pMB->pmvs[0].y = - predMV.y;
923                                          continue;                                          continue;
924                                  }                                  }
925                          }                          }

Legend:
Removed from v.1604  
changed lines
  Added in v.1608

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