[svn] / trunk / xvidcore / examples / xvid_bench.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/xvid_bench.c

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

revision 1746, Wed Nov 1 07:12:26 2006 UTC revision 1767, Thu Dec 21 23:27:35 2006 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: xvid_bench.c,v 1.34 2006-11-01 07:12:26 Skal Exp $   * $Id: xvid_bench.c,v 1.35 2006-12-21 23:27:35 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 2060  Line 2060 
2060                  lum8x8 = lum_8x8_c;                  lum8x8 = lum_8x8_c;
2061                  lum2x8 = lum_2x8_c;                  lum2x8 = lum_2x8_c;
2062                  csim   = consim_c;                  csim   = consim_c;
2063    #ifdef ARCH_IS_IA32
2064                  if (cpu->cpu & XVID_CPU_MMX){                  if (cpu->cpu & XVID_CPU_MMX){
2065                          lum8x8 = lum_8x8_mmx;                          lum8x8 = lum_8x8_mmx;
2066                          csim = consim_mmx;                          csim = consim_mmx;
# Line 2067  Line 2068 
2068                  if (cpu->cpu & XVID_CPU_MMX){                  if (cpu->cpu & XVID_CPU_MMX){
2069                          csim = consim_sse2;                          csim = consim_sse2;
2070                  }                  }
2071    #endif
2072                  t = gettime_usec();                  t = gettime_usec();
2073                  emms();                  emms();
2074                  for(tst=0; tst<nb_tests; ++tst) m = lum8x8(Ref1, 16);                  for(tst=0; tst<nb_tests; ++tst) m = lum8x8(Ref1, 16);

Legend:
Removed from v.1746  
changed lines
  Added in v.1767

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