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

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

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

revision 1185, Wed Oct 22 16:30:07 2003 UTC revision 1195, Wed Oct 29 12:41:41 2003 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.1.2.4 2003-10-22 16:30:07 syskin Exp $   * $Id: estimation_pvop.c,v 1.1.2.6 2003-10-29 12:41:41 edgomez Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 1013  Line 1013 
1013                                                                            MAX((&pMBs[x + (y-1) * pParam->mb_width])->sad16,                                                                            MAX((&pMBs[x + (y-1) * pParam->mb_width])->sad16,
1014                                                                            MAX((&pMBs[(x+1) + (y-1) * pParam->mb_width])->sad16,                                                                            MAX((&pMBs[(x+1) + (y-1) * pParam->mb_width])->sad16,
1015                                                                            prevMB->sad16)));                                                                            prevMB->sad16)));
                                         }  
1016                                  } else {                                  } else {
1017                                          stat_thresh = MIN((&pMBs[(x-1) + y * pParam->mb_width])->sad16,                                          stat_thresh = MIN((&pMBs[(x-1) + y * pParam->mb_width])->sad16,
1018                                                                            MIN((&pMBs[x + (y-1) * pParam->mb_width])->sad16,                                                                            MIN((&pMBs[x + (y-1) * pParam->mb_width])->sad16,
# Line 1021  Line 1020 
1020                                                                            prevMB->sad16)));                                                                            prevMB->sad16)));
1021                                  }                                  }
1022                          }                          }
1023                            }
1024    
1025                           /* favorize (0,0) vector for cartoons */                           /* favorize (0,0) vector for cartoons */
1026                          if ((current->vop_flags & XVID_VOP_CARTOON) &&                          if ((current->vop_flags & XVID_VOP_CARTOON) &&

Legend:
Removed from v.1185  
changed lines
  Added in v.1195

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