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.7 2003-06-09 19:42:08 edgomez Exp $ |
* $Id: xvid.c,v 1.45.2.8 2003-06-11 14:10:40 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
305 |
|
|
306 |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
/* Forward and Inverse Discrete Cosine Transformation functions */ |
307 |
fdct = fdct_mmx; |
fdct = fdct_mmx; |
308 |
idct = simple_idct_mmx; |
idct = idct_mmx; |
309 |
|
|
310 |
/* Quantization related functions */ |
/* Quantization related functions */ |
311 |
quant_intra = quant_intra_mmx; |
quant_intra = quant_intra_mmx; |
391 |
if ((cpu_flags & XVID_CPU_MMXEXT)) { |
if ((cpu_flags & XVID_CPU_MMXEXT)) { |
392 |
|
|
393 |
/* Inverse DCT */ |
/* Inverse DCT */ |
|
#if 0 /* We don't use Walken idct anymore! */ |
|
394 |
idct = idct_xmm; |
idct = idct_xmm; |
|
#endif |
|
395 |
|
|
396 |
/* Interpolation */ |
/* Interpolation */ |
397 |
interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_xmm; |
interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_xmm; |
437 |
if ((cpu_flags & XVID_CPU_3DNOWEXT)) { |
if ((cpu_flags & XVID_CPU_3DNOWEXT)) { |
438 |
|
|
439 |
/* Inverse DCT */ |
/* Inverse DCT */ |
|
#if 0 /* We don't use Walken idct anymore! */ |
|
440 |
idct = idct_3dne; |
idct = idct_3dne; |
|
#endif |
|
441 |
|
|
442 |
/* Buffer transfer */ |
/* Buffer transfer */ |
443 |
transfer_8to16copy = transfer_8to16copy_3dne; |
transfer_8to16copy = transfer_8to16copy_3dne; |