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

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

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

revision 1794, Fri Nov 14 15:43:28 2008 UTC revision 1807, Thu Nov 27 16:31:48 2008 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: gmc.c,v 1.8 2008-11-14 15:43:27 Isibaar Exp $   * $Id: gmc.c,v 1.9 2008-11-27 16:31:48 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 385  Line 385 
385          mv->y = RSHIFT(Dsp->Vo<<qpel, 3);          mv->y = RSHIFT(Dsp->Vo<<qpel, 3);
386  }  }
387    
388  #if defined(ARCH_IS_IA32)  #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)
389  /* *************************************************************  /* *************************************************************
390   * MMX core function   * MMX core function
391   */   */
# Line 590  Line 590 
590        Predict_16x16_func = Predict_16x16_C;        Predict_16x16_func = Predict_16x16_C;
591        Predict_8x8_func   = Predict_8x8_C;        Predict_8x8_func   = Predict_8x8_C;
592    
593  #if defined(ARCH_IS_IA32)  #if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64)
594        if ((cpu_flags & XVID_CPU_MMX)   || (cpu_flags & XVID_CPU_MMXEXT)   ||        if ((cpu_flags & XVID_CPU_MMX)   || (cpu_flags & XVID_CPU_MMXEXT)   ||
595            (cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) ||            (cpu_flags & XVID_CPU_3DNOW) || (cpu_flags & XVID_CPU_3DNOWEXT) ||
596            (cpu_flags & XVID_CPU_SSE)   || (cpu_flags & XVID_CPU_SSE2) ||            (cpu_flags & XVID_CPU_SSE)   || (cpu_flags & XVID_CPU_SSE2) ||
# Line 598  Line 598 
598          {          {
599             Predict_16x16_func = Predict_16x16_mmx;             Predict_16x16_func = Predict_16x16_mmx;
600             Predict_8x8_func   = Predict_8x8_mmx;             Predict_8x8_func   = Predict_8x8_mmx;
601  #if 0  
602         if (cpu_flags & XVID_CPU_SSE41)         if (cpu_flags & XVID_CPU_SSE41)
603               GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse41;               GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse41;
604             else             else if (cpu_flags & XVID_CPU_SSE2)
 #endif  
            if (cpu_flags & XVID_CPU_SSE2)  
605               GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse2;               GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_sse2;
606             else             else
607           GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_mmx;           GMC_Core_Lin_8 = xvid_GMC_Core_Lin_8_mmx;

Legend:
Removed from v.1794  
changed lines
  Added in v.1807

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