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.19 2003-11-02 23:02:52 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 */ |
491 |
dequant_h263_intra = dequant_h263_intra_sse2; |
dequant_h263_intra = dequant_h263_intra_sse2; |
492 |
dequant_h263_inter = dequant_h263_inter_sse2; |
dequant_h263_inter = dequant_h263_inter_sse2; |
493 |
|
|
494 |
/* ME; slower than xmm */ |
/* SAD operators */ |
495 |
sad16 = sad16_sse2; |
sad16 = sad16_sse2; |
496 |
dev16 = dev16_sse2; |
dev16 = dev16_sse2; |
497 |
/* Forward and Inverse DCT */ |
|
498 |
#if 0 /* Both function are known to be unprecise, better keep them deactivated */ |
/* DCT operators */ |
499 |
idct = idct_sse2; |
fdct = fdct_sse2_skal; |
500 |
fdct = fdct_sse2; |
idct = idct_sse2_dmitry; |
|
#endif |
|
501 |
} |
} |
502 |
#endif |
#endif |
503 |
#endif |
#endif |