42 |
/* Implemented functions */ |
/* Implemented functions */ |
43 |
extern TRANSFER_8TO16COPY transfer_8to16copy_c; |
extern TRANSFER_8TO16COPY transfer_8to16copy_c; |
44 |
|
|
45 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
46 |
extern TRANSFER_8TO16COPY transfer_8to16copy_mmx; |
extern TRANSFER_8TO16COPY transfer_8to16copy_mmx; |
47 |
extern TRANSFER_8TO16COPY transfer_8to16copy_3dne; |
extern TRANSFER_8TO16COPY transfer_8to16copy_3dne; |
48 |
#endif |
#endif |
55 |
extern TRANSFER_8TO16COPY transfer_8to16copy_altivec_c; |
extern TRANSFER_8TO16COPY transfer_8to16copy_altivec_c; |
56 |
#endif |
#endif |
57 |
|
|
|
#ifdef ARCH_IS_X86_64 |
|
|
extern TRANSFER_8TO16COPY transfer_8to16copy_x86_64; |
|
|
#endif |
|
|
|
|
58 |
/***************************************************************************** |
/***************************************************************************** |
59 |
* transfer16to8 API |
* transfer16to8 API |
60 |
****************************************************************************/ |
****************************************************************************/ |
70 |
/* Implemented functions */ |
/* Implemented functions */ |
71 |
extern TRANSFER_16TO8COPY transfer_16to8copy_c; |
extern TRANSFER_16TO8COPY transfer_16to8copy_c; |
72 |
|
|
73 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
74 |
extern TRANSFER_16TO8COPY transfer_16to8copy_mmx; |
extern TRANSFER_16TO8COPY transfer_16to8copy_mmx; |
75 |
extern TRANSFER_16TO8COPY transfer_16to8copy_3dne; |
extern TRANSFER_16TO8COPY transfer_16to8copy_3dne; |
76 |
#endif |
#endif |
104 |
/* Implemented functions */ |
/* Implemented functions */ |
105 |
extern TRANSFER_8TO16SUB transfer_8to16sub_c; |
extern TRANSFER_8TO16SUB transfer_8to16sub_c; |
106 |
|
|
107 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
108 |
extern TRANSFER_8TO16SUB transfer_8to16sub_mmx; |
extern TRANSFER_8TO16SUB transfer_8to16sub_mmx; |
109 |
extern TRANSFER_8TO16SUB transfer_8to16sub_3dne; |
extern TRANSFER_8TO16SUB transfer_8to16sub_3dne; |
110 |
#endif |
#endif |
138 |
/* Implemented functions */ |
/* Implemented functions */ |
139 |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_c; |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_c; |
140 |
|
|
141 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
142 |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_mmx; |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_mmx; |
143 |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_3dne; |
extern TRANSFER_8TO16SUBRO transfer_8to16subro_3dne; |
144 |
#endif |
#endif |
169 |
/* Implemented functions */ |
/* Implemented functions */ |
170 |
TRANSFER_8TO16SUB2 transfer_8to16sub2_c; |
TRANSFER_8TO16SUB2 transfer_8to16sub2_c; |
171 |
|
|
172 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
173 |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx; |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx; |
174 |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_xmm; |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_xmm; |
175 |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_3dne; |
extern TRANSFER_8TO16SUB2 transfer_8to16sub2_3dne; |
205 |
/* Implemented functions */ |
/* Implemented functions */ |
206 |
TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_c; |
TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_c; |
207 |
|
|
208 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
209 |
extern TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_xmm; |
extern TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_xmm; |
210 |
#endif |
#endif |
211 |
|
|
229 |
/* Implemented functions */ |
/* Implemented functions */ |
230 |
extern TRANSFER_16TO8ADD transfer_16to8add_c; |
extern TRANSFER_16TO8ADD transfer_16to8add_c; |
231 |
|
|
232 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
233 |
extern TRANSFER_16TO8ADD transfer_16to8add_mmx; |
extern TRANSFER_16TO8ADD transfer_16to8add_mmx; |
234 |
extern TRANSFER_16TO8ADD transfer_16to8add_3dne; |
extern TRANSFER_16TO8ADD transfer_16to8add_3dne; |
235 |
#endif |
#endif |
262 |
/* Implemented functions */ |
/* Implemented functions */ |
263 |
extern TRANSFER8X8_COPY transfer8x8_copy_c; |
extern TRANSFER8X8_COPY transfer8x8_copy_c; |
264 |
|
|
265 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
266 |
extern TRANSFER8X8_COPY transfer8x8_copy_mmx; |
extern TRANSFER8X8_COPY transfer8x8_copy_mmx; |
267 |
extern TRANSFER8X8_COPY transfer8x8_copy_3dne; |
extern TRANSFER8X8_COPY transfer8x8_copy_3dne; |
268 |
#endif |
#endif |
279 |
extern TRANSFER8X8_COPY transfer8x8_copy_x86_64; |
extern TRANSFER8X8_COPY transfer8x8_copy_x86_64; |
280 |
#endif |
#endif |
281 |
|
|
282 |
|
/***************************************************************************** |
283 |
|
* transfer8to4 + no op |
284 |
|
****************************************************************************/ |
285 |
|
|
286 |
|
typedef void (TRANSFER8X4_COPY) (uint8_t * const dst, |
287 |
|
const uint8_t * const src, |
288 |
|
const uint32_t stride); |
289 |
|
|
290 |
|
typedef TRANSFER8X4_COPY *TRANSFER8X4_COPY_PTR; |
291 |
|
|
292 |
|
/* Our global function pointer - Initialized in xvid.c */ |
293 |
|
extern TRANSFER8X4_COPY_PTR transfer8x4_copy; |
294 |
|
|
295 |
|
/* Implemented functions */ |
296 |
|
extern TRANSFER8X4_COPY transfer8x4_copy_c; |
297 |
|
|
298 |
|
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
299 |
|
extern TRANSFER8X4_COPY transfer8x4_copy_mmx; |
300 |
|
extern TRANSFER8X4_COPY transfer8x4_copy_3dne; |
301 |
|
#endif |
302 |
|
|
303 |
|
|
304 |
static __inline void |
static __inline void |
305 |
transfer16x16_copy(uint8_t * const dst, |
transfer16x16_copy(uint8_t * const dst, |
306 |
const uint8_t * const src, |
const uint8_t * const src, |