19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid.c,v 1.45.2.16 2003-10-07 13:02:35 edgomez Exp $ |
* $Id: xvid.c,v 1.45.2.17 2003-10-27 01:03:06 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
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 |