Mercurial > libavcodec.hg
comparison motion-test.c @ 5963:80103098c797 libavcodec
spelling
author | vitor |
---|---|
date | Sat, 01 Dec 2007 22:21:04 +0000 |
parents | e9f8a337c5ce |
children | a0d64d63a131 |
comparison
equal
deleted
inserted
replaced
5962:a6c9aa23d379 | 5963:80103098c797 |
---|---|
110 d1 += test_func(NULL, img1, ptr, WIDTH, 1); | 110 d1 += test_func(NULL, img1, ptr, WIDTH, 1); |
111 } | 111 } |
112 } | 112 } |
113 } | 113 } |
114 emms_c(); | 114 emms_c(); |
115 dummy = d1; /* avoid optimisation */ | 115 dummy = d1; /* avoid optimization */ |
116 ti = gettime() - ti; | 116 ti = gettime() - ti; |
117 | 117 |
118 printf(" %0.0f kop/s\n", | 118 printf(" %0.0f kop/s\n", |
119 (double)NB_ITS * (WIDTH - 16) * (HEIGHT - 16) / | 119 (double)NB_ITS * (WIDTH - 16) * (HEIGHT - 16) / |
120 (double)(ti / 1000.0)); | 120 (double)(ti / 1000.0)); |