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.29 2006-10-11 14:55:28 Skal Exp $ |
* $Id: xvid_bench.c,v 1.30 2006-10-13 15:16:25 Skal Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
2024 |
for(tst=0; tst<nb_tests; ++tst) csim(Ref1, Ref2, 16, lumo, lumc, devs+0, devs+1, devs+2); |
for(tst=0; tst<nb_tests; ++tst) csim(Ref1, Ref2, 16, lumo, lumc, devs+0, devs+1, devs+2); |
2025 |
emms(); |
emms(); |
2026 |
t = (gettime_usec() - t) / nb_tests; |
t = (gettime_usec() - t) / nb_tests; |
2027 |
printf("%s - ssim-lum2x8 %.3f usec devs=[0x%x 0x%x 0x%x] %s\n", |
printf("%s - ssim-consim %.3f usec devs=[0x%x 0x%x 0x%x] %s\n", |
2028 |
cpu->name, t, devs[0], devs[1], devs[2], |
cpu->name, t, devs[0], devs[1], devs[2], |
2029 |
(devs[0]!=0xeba80 || devs[1]!=0x1053e7 || devs[2]!=0x51215)?"| ERROR": "" ); |
(devs[0]!=0xeba80 || devs[1]!=0x1053e7 || devs[2]!=0x51215)?"| ERROR": "" ); |
2030 |
|
|