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

Diff of /xvidcore/src/encoder.c

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

revision 1.51, Sun Jun 30 10:46:29 2002 UTC revision 1.52, Sat Jul 6 17:04:57 2002 UTC
# Line 66  Line 66 
66  #include "quant/quant_matrix.h"  #include "quant/quant_matrix.h"
67  #include "utils/mem_align.h"  #include "utils/mem_align.h"
68    
69    #ifdef _SMP
70    #include "motion/smp_motion_est.h"
71    #endif
72  /*****************************************************************************  /*****************************************************************************
73   * Local macros   * Local macros
74   ****************************************************************************/   ****************************************************************************/
# Line 1591  Line 1594 
1594          if (pEnc->current->global_flags & XVID_HINTEDME_SET) {          if (pEnc->current->global_flags & XVID_HINTEDME_SET) {
1595                  HintedMESet(pEnc, &bIntra);                  HintedMESet(pEnc, &bIntra);
1596          } else {          } else {
1597    
1598    #ifdef _SMP
1599                    if (NUMTHREADS > 1)
1600                            bIntra =
1601                                    SMP_MotionEstimation(&pEnc->mbParam, pEnc->current, pEnc->reference,
1602                                                             &pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV,
1603                                                             iLimit);
1604                    else
1605    #endif
1606    
1607                  bIntra =                  bIntra =
1608                          MotionEstimation(&pEnc->mbParam, pEnc->current, pEnc->reference,                          MotionEstimation(&pEnc->mbParam, pEnc->current, pEnc->reference,
1609                                                           &pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV,                                                           &pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV,
1610                                                           iLimit);                                                           iLimit);
1611    
1612    
1613          }          }
1614          stop_motion_timer();          stop_motion_timer();
1615    

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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