[cvs] / xvidcore / src / utils / mem_transfer.h Repository:
ViewVC logotype

Diff of /xvidcore/src/utils/mem_transfer.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13, Mon Mar 22 22:36:24 2004 UTC revision 1.15, Sun Dec 19 13:16:50 2004 UTC
# Line 51  Line 51 
51  extern TRANSFER_8TO16COPY transfer_8to16copy_ia64;  extern TRANSFER_8TO16COPY transfer_8to16copy_ia64;
52  #endif  #endif
53    
54    #ifdef ARCH_IS_PPC
55    extern TRANSFER_8TO16COPY transfer_8to16copy_altivec_c;
56    #endif
57    
58  /*****************************************************************************  /*****************************************************************************
59   * transfer16to8 API   * transfer16to8 API
60   ****************************************************************************/   ****************************************************************************/
# Line 75  Line 79 
79  extern TRANSFER_16TO8COPY transfer_16to8copy_ia64;  extern TRANSFER_16TO8COPY transfer_16to8copy_ia64;
80  #endif  #endif
81    
82    #ifdef ARCH_IS_PPC
83    extern TRANSFER_16TO8COPY transfer_16to8copy_altivec_c;
84    #endif
85    
86  /*****************************************************************************  /*****************************************************************************
87   * transfer8to16 + substraction *writeback* op API   * transfer8to16 + substraction *writeback* op API
88   ****************************************************************************/   ****************************************************************************/
# Line 101  Line 109 
109  extern TRANSFER_8TO16SUB transfer_8to16sub_ia64;  extern TRANSFER_8TO16SUB transfer_8to16sub_ia64;
110  #endif  #endif
111    
112    #ifdef ARCH_IS_PPC
113    extern TRANSFER_8TO16SUB transfer_8to16sub_altivec_c;
114    #endif
115    
116  /*****************************************************************************  /*****************************************************************************
117   * transfer8to16 + substraction *readonly* op API   * transfer8to16 + substraction *readonly* op API
118   ****************************************************************************/   ****************************************************************************/
# Line 123  Line 135 
135  extern TRANSFER_8TO16SUBRO transfer_8to16subro_3dne;  extern TRANSFER_8TO16SUBRO transfer_8to16subro_3dne;
136  #endif  #endif
137    
138    #ifdef ARCH_IS_PPC
139    extern TRANSFER_8TO16SUBRO transfer_8to16subro_altivec_c;
140    #endif
141    
142  /*****************************************************************************  /*****************************************************************************
143   * transfer8to16 + substraction op API - Bidirectionnal Version   * transfer8to16 + substraction op API - Bidirectionnal Version
144   ****************************************************************************/   ****************************************************************************/
# Line 139  Line 155 
155  extern TRANSFER_8TO16SUB2_PTR transfer_8to16sub2;  extern TRANSFER_8TO16SUB2_PTR transfer_8to16sub2;
156    
157  /* Implemented functions */  /* Implemented functions */
158  extern TRANSFER_8TO16SUB2 transfer_8to16sub2_c;  TRANSFER_8TO16SUB2 transfer_8to16sub2_c;
159    
160  #ifdef ARCH_IS_IA32  #ifdef ARCH_IS_IA32
161  extern TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx;  extern TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx;
# Line 151  Line 167 
167  extern TRANSFER_8TO16SUB2 transfer_8to16sub2_ia64;  extern TRANSFER_8TO16SUB2 transfer_8to16sub2_ia64;
168  #endif  #endif
169    
170    #ifdef ARCH_IS_PPC
171    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_altivec_c;
172    #endif
173    
174    /*****************************************************************************
175     * transfer8to16 + substraction op API - Bidirectionnal Version *readonly*
176     ****************************************************************************/
177    
178    typedef void (TRANSFER_8TO16SUB2RO) (int16_t * const dct,
179                                                                       const uint8_t * const cur,
180                                                                       const uint8_t * ref1,
181                                                                       const uint8_t * ref2,
182                                                                       const uint32_t stride);
183    
184    typedef TRANSFER_8TO16SUB2RO *TRANSFER_8TO16SUB2RO_PTR;
185    
186    /* Our global function pointer - Initialized in xvid.c */
187    extern TRANSFER_8TO16SUB2RO_PTR transfer_8to16sub2ro;
188    
189    /* Implemented functions */
190    TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_c;
191    
192    #ifdef ARCH_IS_IA32
193    extern TRANSFER_8TO16SUB2RO transfer_8to16sub2ro_xmm;
194    #endif
195    
196  /*****************************************************************************  /*****************************************************************************
197   * transfer16to8 + addition op API   * transfer16to8 + addition op API
198   ****************************************************************************/   ****************************************************************************/
# Line 176  Line 218 
218  extern TRANSFER_16TO8ADD transfer_16to8add_ia64;  extern TRANSFER_16TO8ADD transfer_16to8add_ia64;
219  #endif  #endif
220    
221    #ifdef ARCH_IS_PPC
222    extern TRANSFER_16TO8ADD transfer_16to8add_altivec_c;
223    #endif
224    
225  /*****************************************************************************  /*****************************************************************************
226   * transfer8to8 + no op   * transfer8to8 + no op
227   ****************************************************************************/   ****************************************************************************/
# Line 201  Line 247 
247  extern TRANSFER8X8_COPY transfer8x8_copy_ia64;  extern TRANSFER8X8_COPY transfer8x8_copy_ia64;
248  #endif  #endif
249    
250    #ifdef ARCH_IS_PPC
251    extern TRANSFER8X8_COPY transfer8x8_copy_altivec_c;
252    #endif
253    
254  static __inline void  static __inline void
255  transfer16x16_copy(uint8_t * const dst,  transfer16x16_copy(uint8_t * const dst,
256                                          const uint8_t * const src,                                          const uint8_t * const src,

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4