[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.12, Sat Feb 15 15:22:19 2003 UTC revision 1.14, Mon Apr 5 20:36:37 2004 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - 8<->16 bit buffer transfer header -   *  - 8<->16 bit buffer transfer header -
5   *   *
6   *  This program is an implementation of a part of one or more MPEG-4   *  Copyright(C) 2001-2003 Peter Ross <pross@xvid.org>
  *  Video tools as specified in ISO/IEC 14496-2 standard.  Those intending  
  *  to use this software module in hardware or software products are  
  *  advised that its use may infringe existing patents or copyrights, and  
  *  any such use would be at such party's own risk.  The original  
  *  developer of this software module and his/her company, and subsequent  
  *  editors and their companies, will have no liability for use of this  
  *  software or modifications or derivatives thereof.  
7   *   *
8   *  This program is free software ; you can redistribute it and/or modify   *  This program is free software ; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 26  Line 19 
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   *   *
  ****************************************************************************/  
 /*****************************************************************************  
  *  
  *  History  
  *  
  *  - Sun Jun 16 00:12:49 2002 Added legal header  
  *                             Cosmetic  
22   *  $Id$   *  $Id$
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
   
26  #ifndef _MEM_TRANSFER_H  #ifndef _MEM_TRANSFER_H
27  #define _MEM_TRANSFER_H  #define _MEM_TRANSFER_H
28    
# Line 55  Line 40 
40  extern TRANSFER_8TO16COPY_PTR transfer_8to16copy;  extern TRANSFER_8TO16COPY_PTR transfer_8to16copy;
41    
42  /* Implemented functions */  /* Implemented functions */
43  TRANSFER_8TO16COPY transfer_8to16copy_c;  extern TRANSFER_8TO16COPY transfer_8to16copy_c;
44  TRANSFER_8TO16COPY transfer_8to16copy_mmx;  
45  TRANSFER_8TO16COPY transfer_8to16copy_3dne;  #ifdef ARCH_IS_IA32
46  TRANSFER_8TO16COPY transfer_8to16copy_ia64;  extern TRANSFER_8TO16COPY transfer_8to16copy_mmx;
47    extern TRANSFER_8TO16COPY transfer_8to16copy_3dne;
48    #endif
49    
50    #ifdef ARCH_IS_IA64
51    extern TRANSFER_8TO16COPY transfer_8to16copy_ia64;
52    #endif
53    
54    #ifdef ARCH_IS_PPC
55    extern TRANSFER_8TO16COPY transfer_8to16copy_altivec_c;
56    #endif
57    
58  /*****************************************************************************  /*****************************************************************************
59   * transfer16to8 API   * transfer16to8 API
# Line 73  Line 68 
68  extern TRANSFER_16TO8COPY_PTR transfer_16to8copy;  extern TRANSFER_16TO8COPY_PTR transfer_16to8copy;
69    
70  /* Implemented functions */  /* Implemented functions */
71  TRANSFER_16TO8COPY transfer_16to8copy_c;  extern TRANSFER_16TO8COPY transfer_16to8copy_c;
72  TRANSFER_16TO8COPY transfer_16to8copy_mmx;  
73  TRANSFER_16TO8COPY transfer_16to8copy_3dne;  #ifdef ARCH_IS_IA32
74  TRANSFER_16TO8COPY transfer_16to8copy_ia64;  extern TRANSFER_16TO8COPY transfer_16to8copy_mmx;
75    extern TRANSFER_16TO8COPY transfer_16to8copy_3dne;
76    #endif
77    
78    #ifdef ARCH_IS_IA64
79    extern TRANSFER_16TO8COPY transfer_16to8copy_ia64;
80    #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
# Line 93  Line 98 
98  extern TRANSFER_8TO16SUB_PTR transfer_8to16sub;  extern TRANSFER_8TO16SUB_PTR transfer_8to16sub;
99    
100  /* Implemented functions */  /* Implemented functions */
101  TRANSFER_8TO16SUB transfer_8to16sub_c;  extern TRANSFER_8TO16SUB transfer_8to16sub_c;
102  TRANSFER_8TO16SUB transfer_8to16sub_mmx;  
103  TRANSFER_8TO16SUB transfer_8to16sub_3dne;  #ifdef ARCH_IS_IA32
104  TRANSFER_8TO16SUB transfer_8to16sub_ia64;  extern TRANSFER_8TO16SUB transfer_8to16sub_mmx;
105    extern TRANSFER_8TO16SUB transfer_8to16sub_3dne;
106    #endif
107    
108    #ifdef ARCH_IS_IA64
109    extern TRANSFER_8TO16SUB transfer_8to16sub_ia64;
110    #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
# Line 113  Line 128 
128  extern TRANSFER_8TO16SUBRO_PTR transfer_8to16subro;  extern TRANSFER_8TO16SUBRO_PTR transfer_8to16subro;
129    
130  /* Implemented functions */  /* Implemented functions */
131  TRANSFER_8TO16SUBRO transfer_8to16subro_c;  extern TRANSFER_8TO16SUBRO transfer_8to16subro_c;
132  TRANSFER_8TO16SUBRO transfer_8to16subro_mmx;  
133  TRANSFER_8TO16SUBRO transfer_8to16subro_3dne;  #ifdef ARCH_IS_IA32
134    extern TRANSFER_8TO16SUBRO transfer_8to16subro_mmx;
135    extern TRANSFER_8TO16SUBRO transfer_8to16subro_3dne;
136    #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
# Line 134  Line 156 
156    
157  /* Implemented functions */  /* Implemented functions */
158  TRANSFER_8TO16SUB2 transfer_8to16sub2_c;  TRANSFER_8TO16SUB2 transfer_8to16sub2_c;
 TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx;  
 TRANSFER_8TO16SUB2 transfer_8to16sub2_xmm;  
 TRANSFER_8TO16SUB2 transfer_8to16sub2_3dne;  
 TRANSFER_8TO16SUB2 transfer_8to16sub2_ia64;  
159    
160    #ifdef ARCH_IS_IA32
161    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_mmx;
162    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_xmm;
163    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_3dne;
164    #endif
165    
166    #ifdef ARCH_IS_IA64
167    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_ia64;
168    #endif
169    
170    #ifdef ARCH_IS_PPC
171    extern TRANSFER_8TO16SUB2 transfer_8to16sub2_altivec_c;
172    #endif
173    
174  /*****************************************************************************  /*****************************************************************************
175   * transfer16to8 + addition op API   * transfer16to8 + addition op API
# Line 154  Line 185 
185  extern TRANSFER_16TO8ADD_PTR transfer_16to8add;  extern TRANSFER_16TO8ADD_PTR transfer_16to8add;
186    
187  /* Implemented functions */  /* Implemented functions */
188  TRANSFER_16TO8ADD transfer_16to8add_c;  extern TRANSFER_16TO8ADD transfer_16to8add_c;
189  TRANSFER_16TO8ADD transfer_16to8add_mmx;  
190  TRANSFER_16TO8ADD transfer_16to8add_3dne;  #ifdef ARCH_IS_IA32
191  TRANSFER_16TO8ADD transfer_16to8add_ia64;  extern TRANSFER_16TO8ADD transfer_16to8add_mmx;
192    extern TRANSFER_16TO8ADD transfer_16to8add_3dne;
193    #endif
194    
195    #ifdef ARCH_IS_IA64
196    extern TRANSFER_16TO8ADD transfer_16to8add_ia64;
197    #endif
198    
199    #ifdef ARCH_IS_PPC
200    extern TRANSFER_16TO8ADD transfer_16to8add_altivec_c;
201    #endif
202    
203  /*****************************************************************************  /*****************************************************************************
204   * transfer8to8 + no op   * transfer8to8 + no op
# Line 173  Line 214 
214  extern TRANSFER8X8_COPY_PTR transfer8x8_copy;  extern TRANSFER8X8_COPY_PTR transfer8x8_copy;
215    
216  /* Implemented functions */  /* Implemented functions */
217  TRANSFER8X8_COPY transfer8x8_copy_c;  extern TRANSFER8X8_COPY transfer8x8_copy_c;
 TRANSFER8X8_COPY transfer8x8_copy_mmx;  
 TRANSFER8X8_COPY transfer8x8_copy_3dne;  
 TRANSFER8X8_COPY transfer8x8_copy_ia64;  
218    
219    #ifdef ARCH_IS_IA32
220    extern TRANSFER8X8_COPY transfer8x8_copy_mmx;
221    extern TRANSFER8X8_COPY transfer8x8_copy_3dne;
222    #endif
223    
224    #ifdef ARCH_IS_IA64
225    extern TRANSFER8X8_COPY transfer8x8_copy_ia64;
226    #endif
227    
228    #ifdef ARCH_IS_PPC
229    extern TRANSFER8X8_COPY transfer8x8_copy_altivec_c;
230    #endif
231    
232  static __inline void  static __inline void
233  transfer16x16_copy(uint8_t * const dst,  transfer16x16_copy(uint8_t * const dst,

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

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