36 |
* - 22.12.2001 API change: added xvid_init() - Isibaar |
* - 22.12.2001 API change: added xvid_init() - Isibaar |
37 |
* - 16.12.2001 inital version; (c)2001 peter ross <pross@cs.rmit.edu.au> |
* - 16.12.2001 inital version; (c)2001 peter ross <pross@cs.rmit.edu.au> |
38 |
* |
* |
39 |
* $Id: xvid.c,v 1.21 2002-06-23 03:58:32 suxen_drol Exp $ |
* $Id: xvid.c,v 1.23 2002-06-26 15:59:51 ia64p Exp $ |
40 |
* |
* |
41 |
****************************************************************************/ |
****************************************************************************/ |
42 |
|
|
98 |
cpu_flags = init_param->cpu_flags; |
cpu_flags = init_param->cpu_flags; |
99 |
} else { |
} else { |
100 |
|
|
|
#ifdef ARCH_X86 |
|
101 |
cpu_flags = check_cpu_features(); |
cpu_flags = check_cpu_features(); |
|
#else |
|
|
cpu_flags = 0; |
|
|
#endif |
|
102 |
init_param->cpu_flags = cpu_flags; |
init_param->cpu_flags = cpu_flags; |
103 |
} |
} |
104 |
|
|
193 |
transfer_8to16copy = transfer_8to16copy_mmx; |
transfer_8to16copy = transfer_8to16copy_mmx; |
194 |
transfer_16to8copy = transfer_16to8copy_mmx; |
transfer_16to8copy = transfer_16to8copy_mmx; |
195 |
transfer_8to16sub = transfer_8to16sub_mmx; |
transfer_8to16sub = transfer_8to16sub_mmx; |
196 |
|
transfer_8to16sub2 = transfer_8to16sub2_mmx; |
197 |
transfer_16to8add = transfer_16to8add_mmx; |
transfer_16to8add = transfer_16to8add_mmx; |
198 |
transfer8x8_copy = transfer8x8_copy_mmx; |
transfer8x8_copy = transfer8x8_copy_mmx; |
199 |
|
|
200 |
|
|
201 |
/* Image Interpolation related functions */ |
/* Image Interpolation related functions */ |
202 |
interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_mmx; |
interpolate8x8_halfpel_h = interpolate8x8_halfpel_h_mmx; |
203 |
interpolate8x8_halfpel_v = interpolate8x8_halfpel_v_mmx; |
interpolate8x8_halfpel_v = interpolate8x8_halfpel_v_mmx; |