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.6 2003-06-09 13:51:17 edgomez Exp $ |
* $Id: xvid.c,v 1.45.2.10 2003-07-14 12:40:16 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
288 |
|
|
289 |
#if defined(ARCH_IS_IA32) |
#if defined(ARCH_IS_IA32) |
290 |
|
|
291 |
if ((cpu_flags & XVID_CPU_ASM)) |
if ((cpu_flags & XVID_CPU_ASM)) { |
|
{ |
|
292 |
vfilter_31 = xvid_VFilter_31_x86; |
vfilter_31 = xvid_VFilter_31_x86; |
293 |
hfilter_31 = xvid_HFilter_31_x86; |
hfilter_31 = xvid_HFilter_31_x86; |
294 |
} |
} |
403 |
add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_xmm; |
add_upsampled_8x8_16to8 = xvid_Add_Upsampled_8x8_16To8_xmm; |
404 |
|
|
405 |
/* Quantization */ |
/* Quantization */ |
406 |
quant4_intra = quant4_intra_xmm; |
// quant4_intra = quant4_intra_xmm; |
407 |
quant4_inter = quant4_inter_xmm; |
quant4_inter = quant4_inter_xmm; |
408 |
|
|
409 |
dequant_intra = dequant_intra_xmm; |
dequant_intra = dequant_intra_xmm; |
451 |
/* Quantization */ |
/* Quantization */ |
452 |
dequant4_intra = dequant4_intra_3dne; |
dequant4_intra = dequant4_intra_3dne; |
453 |
dequant4_inter = dequant4_inter_3dne; |
dequant4_inter = dequant4_inter_3dne; |
454 |
quant_intra = quant_intra_3dne; |
// quant_intra = quant_intra_3dne; |
455 |
quant_inter = quant_inter_3dne; |
quant_inter = quant_inter_3dne; |
456 |
dequant_intra = dequant_intra_3dne; |
dequant_intra = dequant_intra_3dne; |
457 |
dequant_inter = dequant_inter_3dne; |
dequant_inter = dequant_inter_3dne; |
487 |
dev16 = dev16_sse2; |
dev16 = dev16_sse2; |
488 |
#endif |
#endif |
489 |
/* Forward and Inverse DCT */ |
/* Forward and Inverse DCT */ |
490 |
|
#if 0 /* Both function are known to be unprecise, better keep them deactivated */ |
491 |
idct = idct_sse2; |
idct = idct_sse2; |
492 |
fdct = fdct_sse2; |
fdct = fdct_sse2; |
493 |
|
#endif |
494 |
} |
} |
495 |
#endif |
#endif |
496 |
|
|
517 |
transfer_8to16sub2 = transfer_8to16sub2_ia64; |
transfer_8to16sub2 = transfer_8to16sub2_ia64; |
518 |
transfer_16to8add = transfer_16to8add_ia64; |
transfer_16to8add = transfer_16to8add_ia64; |
519 |
transfer8x8_copy = transfer8x8_copy_ia64; |
transfer8x8_copy = transfer8x8_copy_ia64; |
|
DPRINTF(DPRINTF_DEBUG, "Using IA-64 assembler routines."); |
|
520 |
} |
} |
521 |
#endif |
#endif |
522 |
|
|