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

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

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

revision 1478, Thu Jul 8 07:12:54 2004 UTC revision 1481, Sat Jul 10 11:23:41 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.7 2004-07-08 07:12:54 syskin Exp $   * $Id: estimation_bvop.c,v 1.8 2004-07-10 11:23:41 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# 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.1478  
changed lines
  Added in v.1481

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