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 |
|
|
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(); |