308 |
if ((cpu_flags & XVID_CPU_MMX)) { |
if ((cpu_flags & XVID_CPU_MMX)) { |
309 |
|
|
310 |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
311 |
fdct = fdct_mmx; |
fdct = fdct_mmx_skal; |
312 |
idct = idct_mmx; |
idct = idct_mmx; |
313 |
|
|
314 |
/* Qpel stuff */ |
/* Qpel stuff */ |
398 |
|
|
399 |
if ((cpu_flags & XVID_CPU_MMXEXT)) { |
if ((cpu_flags & XVID_CPU_MMXEXT)) { |
400 |
|
|
401 |
/* Inverse DCT */ |
/* DCT */ |
402 |
|
fdct = fdct_xmm_skal; |
403 |
idct = idct_xmm; |
idct = idct_xmm; |
404 |
|
|
405 |
/* Interpolation */ |
/* Interpolation */ |
494 |
/* ME; slower than xmm */ |
/* ME; slower than xmm */ |
495 |
sad16 = sad16_sse2; |
sad16 = sad16_sse2; |
496 |
dev16 = dev16_sse2; |
dev16 = dev16_sse2; |
|
/* Forward and Inverse DCT */ |
|
|
#if 0 /* Both function are known to be unprecise, better keep them deactivated */ |
|
|
idct = idct_sse2; |
|
|
fdct = fdct_sse2; |
|
|
#endif |
|
497 |
} |
} |
498 |
#endif |
#endif |
499 |
#endif |
#endif |