[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 1737, Fri Oct 13 15:16:25 2006 UTC revision 1738, Fri Oct 13 15:19:48 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.30 2006-10-13 15:16:25 Skal Exp $   * $Id: xvid_bench.c,v 1.31 2006-10-13 15:19:48 Skal Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 2012  Line 2012 
2012    
2013                  t = gettime_usec();                  t = gettime_usec();
2014                  emms();                  emms();
2015                  for(tst=0; tst<nb_tests; ++tst) m = lum2x8(Ref1, 16);                  for(tst=0; tst<nb_tests; ++tst) m = lum2x8(Ref1+8, 16);
2016                  emms();                  emms();
2017                  t = (gettime_usec() - t) / nb_tests;                  t = (gettime_usec() - t) / nb_tests;
2018                  printf("%s - ssim-lum2x8    %.3f usec       m=%d %s\n",                  printf("%s - ssim-lum2x8    %.3f usec       m=%d %s\n",
2019                             cpu->name, t, m,                             cpu->name, t, m,
2020                             (m!=-841)?"| ERROR": "" );                             (m!=681)?"| ERROR": "" );
2021    
2022                  t = gettime_usec();                  t = gettime_usec();
2023                  emms();                  emms();

Legend:
Removed from v.1737  
changed lines
  Added in v.1738

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