41 |
* |
* |
42 |
****************************************************************************/ |
****************************************************************************/ |
43 |
|
|
44 |
|
#include <stdio.h> |
45 |
#include <stdlib.h> |
#include <stdlib.h> |
46 |
|
#include <string.h> |
47 |
#include <time.h> |
#include <time.h> |
48 |
|
|
49 |
#include "xvid.h" |
#include "xvid.h" |
710 |
} |
} |
711 |
|
|
712 |
/* print the "average difference" of best/worst transforms */ |
/* print the "average difference" of best/worst transforms */ |
713 |
printf("%s:\t%I64i\t(min_error:%i, max_error:%i)\n", nameB, timeB / count, min_error, max_error); |
printf("%s:\t%i\t(min_error:%i, max_error:%i)\n", nameB, (int)(timeB / count), min_error, max_error); |
714 |
|
|
715 |
return 0; |
return 0; |
716 |
} |
} |
792 |
} |
} |
793 |
} |
} |
794 |
|
|
795 |
printf("%s:\t%I64i", nameB, timeB / count); |
printf("%s:\t%i", nameB, (int)(timeB / count)); |
796 |
if (errors>0) |
if (errors>0) |
797 |
printf("\t(%i errors out of %i)", errors, count); |
printf("\t(%i errors out of %i)", errors, count); |
798 |
printf("\n"); |
printf("\n"); |