[cvs] / xvidcore / src / motion / estimation_bvop.c Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/estimation_bvop.c

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

revision 1.7, Thu Jul 8 07:12:54 2004 UTC revision 1.8, Sat Jul 10 11:23:41 2004 UTC
# Line 525  Line 525 
525  {  {
526          int k;          int k;
527    
528            pMB->mode = MODE_DIRECT; /* just to initialize it */
529    
530          if (!Data->chroma) {          if (!Data->chroma) {
531                  int dx = 0, dy = 0, b_dx = 0, b_dy = 0;                  int dx = 0, dy = 0, b_dx = 0, b_dy = 0;
532                  int32_t sum;                  int32_t sum;
# Line 556  Line 558 
558                                                  stride);                                                  stride);
559    
560                  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 */
561            } else {
562                    int sum = Data->chromaSAD; /* chroma-sad SAD caching keeps it there */
563    
564                    if (sum >= MAX_CHROMA_SAD_FOR_SKIP * (int)Data->iQuant) return; /* no skip */
565          }          }
566    
567          /* skip */          /* skip */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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