17 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
18 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 |
* |
* |
20 |
* $Id: xvid.c,v 1.44 2003-02-20 22:46:18 edgomez Exp $ |
* $Id: xvid.c,v 1.45 2003-02-21 00:00:57 edgomez Exp $ |
21 |
* |
* |
22 |
****************************************************************************/ |
****************************************************************************/ |
23 |
|
|
811 |
|
|
812 |
int xvid_init_test(int flags) |
int xvid_init_test(int flags) |
813 |
{ |
{ |
814 |
int cpu_flags = 0; |
#if defined(ARCH_IS_IA32) |
815 |
|
int cpu_flags; |
816 |
srand(time(0)); |
#endif |
817 |
|
|
818 |
printf("XviD tests\n\n"); |
printf("XviD tests\n\n"); |
819 |
|
|
824 |
idct_int32_init(); |
idct_int32_init(); |
825 |
emms(); |
emms(); |
826 |
|
|
827 |
|
srand(time(0)); |
828 |
|
|
829 |
/* fDCT test */ |
/* fDCT test */ |
830 |
printf("--- fdct ---\n"); |
printf("--- fdct ---\n"); |
831 |
test_transform(fdct_int32, fdct_int32, "c", TEST_FDCT, flags); |
test_transform(fdct_int32, fdct_int32, "c", TEST_FDCT, flags); |