--- xvid.c 2003/02/20 22:46:18 1.44 +++ xvid.c 2003/06/11 14:10:55 1.47 @@ -17,7 +17,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.c,v 1.44 2003/02/20 22:46:18 edgomez Exp $ + * $Id: xvid.c,v 1.47 2003/06/11 14:10:55 Isibaar Exp $ * ****************************************************************************/ @@ -488,6 +488,9 @@ if ((cpu_flags & XVID_CPU_SSE2)) { +#if defined(EXPERIMENTAL_SSE2_CODE) /* many people reported crashes with SSE2 */ + /* better deactivate it completely and fix everything */ + /* in dev-api-4 */ calc_cbp = calc_cbp_sse2; /* Quantization */ @@ -496,14 +499,13 @@ quant_inter = quant_inter_sse2; dequant_inter = dequant_inter_sse2; -#if defined(EXPERIMENTAL_SSE2_CODE) /* ME; slower than xmm */ sad16 = sad16_sse2; dev16 = dev16_sse2; #endif /* Forward and Inverse DCT */ - idct = idct_sse2; - fdct = fdct_sse2; + /* idct = idct_sse2; + /* fdct = fdct_sse2; Both are none to be unprecise - better deactivate for now */ } #endif @@ -811,9 +813,9 @@ int xvid_init_test(int flags) { - int cpu_flags = 0; - - srand(time(0)); +#if defined(ARCH_IS_IA32) + int cpu_flags; +#endif printf("XviD tests\n\n"); @@ -824,6 +826,8 @@ idct_int32_init(); emms(); + srand(time(0)); + /* fDCT test */ printf("--- fdct ---\n"); test_transform(fdct_int32, fdct_int32, "c", TEST_FDCT, flags);