[svn] / branches / release-1_0-branch / xvidcore / src / motion / estimation_bvop.c Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/src/motion/estimation_bvop.c

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

revision 1452, Tue May 25 14:14:55 2004 UTC revision 1555, Tue Oct 12 21:06:34 2004 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_bvop.c,v 1.2.2.1 2004-05-25 14:14:55 syskin Exp $   * $Id: estimation_bvop.c,v 1.2.2.2 2004-10-12 21:06:34 edgomez Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 574  Line 574 
574                  b_dx = (b_dx >> 3) + roundtab_76[b_dx & 0xf];                  b_dx = (b_dx >> 3) + roundtab_76[b_dx & 0xf];
575    
576                  sum = sad8bi(pCur->u + 8 * x + 8 * y * stride,                  sum = sad8bi(pCur->u + 8 * x + 8 * y * stride,
577                                                  f_Ref->u + (y*8 + dy/2) * stride + x*8 + dx/2,                                                  f_Ref->u + ((int)y*8 + dy/2) * (int)stride + (int)x*8 + dx/2,
578                                                  b_Ref->u + (y*8 + b_dy/2) * stride + x*8 + b_dx/2,                                                  b_Ref->u + ((int)y*8 + b_dy/2) * (int)stride + (int)x*8 + b_dx/2,
579                                                  stride);                                                  stride);
580    
581                  if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */                  if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */
582    
583                  sum += sad8bi(pCur->v + 8*x + 8 * y * stride,                  sum += sad8bi(pCur->v + 8*x + 8 * y * stride,
584                                                  f_Ref->v + (y*8 + dy/2) * stride + x*8 + dx/2,                                                  f_Ref->v + ((int)y*8 + dy/2) * (int)stride + (int)x*8 + dx/2,
585                                                  b_Ref->v + (y*8 + b_dy/2) * stride + x*8 + b_dx/2,                                                  b_Ref->v + ((int)y*8 + b_dy/2) * (int)stride + (int)x*8 + b_dx/2,
586                                                  stride);                                                  stride);
587    
588                  if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */                  if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */

Legend:
Removed from v.1452  
changed lines
  Added in v.1555

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