Subversion Repositories Kolibri OS

Rev

Rev 8210 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8210 Rev 9172
Line 4... Line 4...
4
   This source code is licensed under the GNU LGPL
4
   This source code is licensed under the GNU LGPL
Line 5... Line 5...
5
  
5
  
6
   Please refer to the file COPYING.LIB contained in the distribution for
6
   Please refer to the file COPYING.LIB contained in the distribution for
7
   licensing conditions
7
   licensing conditions
8
*/
-
 
9
 
8
*/
10
#ifndef __HERMES_HEAD_MMX__
9
#ifndef __HERMES_HEAD_MMX__
Line 11... Line 10...
11
#define __HERMES_HEAD_MMX__
10
#define __HERMES_HEAD_MMX__
Line 43... Line 42...
43
 
42
 
Line 44... Line 43...
44
 
43
 
45
 
44
 
46
/* Fix the underscore business with ELF compilers */
45
/* Fix the underscore business with ELF compilers */
47
 
46
 
Line 48... Line 47...
48
#if defined(__ELF__) && defined(__GNUC__)
47
#if (defined(__ELF__) && defined(__GNUC__)) || defined(__SUNPRO_C)
49
  #ifdef __cplusplus 
-
 
50
  extern "C" {   
48
  #ifdef __cplusplus 
51
  #endif
49
  extern "C" {   
52
 
50
  #endif
53
  void ConvertMMX(HermesConverterInterface *) __attribute__ ((alias ("_ConvertMMX")));
51
 
54
#if 0
-
 
55
  void ClearMMX_32(HermesClearInterface *) __attribute__ ((alias ("_ClearMMX_32")));
52
  extern void _ConvertMMX(HermesConverterInterface *);
56
  void ClearMMX_24(HermesClearInterface *)  __attribute__ ((alias ("_ClearMMX_24")));
-
 
57
  void ClearMMX_16(HermesClearInterface *)  __attribute__ ((alias ("_ClearMMX_16")));
53
  extern void _ConvertMMXpII32_24RGB888();
-
 
54
  extern void _ConvertMMXpII32_16RGB565();
58
  void ClearMMX_8(HermesClearInterface *)  __attribute__ ((alias ("_ClearMMX_8")));
55
  extern void _ConvertMMXpII32_16BGR565();
59
 
56
  extern void _ConvertMMXpII32_16RGB555();
60
  void ConvertMMXp32_16RGB555() __attribute__ ((alias ("_ConvertMMXp32_16RGB555")));
57
  extern void _ConvertMMXpII32_16BGR555();
61
#endif
58
 
62
 
59
  #define ConvertMMX _ConvertMMX
Line 63... Line 60...
63
  void ConvertMMXpII32_24RGB888() __attribute__ ((alias ("_ConvertMMXpII32_24RGB888")));
60
  #define ConvertMMXpII32_24RGB888 _ConvertMMXpII32_24RGB888
64
  void ConvertMMXpII32_16RGB565() __attribute__ ((alias ("_ConvertMMXpII32_16RGB565")));
61
  #define ConvertMMXpII32_16RGB565 _ConvertMMXpII32_16RGB565
65
  void ConvertMMXpII32_16BGR565() __attribute__ ((alias ("_ConvertMMXpII32_16BGR565")));
62
  #define ConvertMMXpII32_16BGR565 _ConvertMMXpII32_16BGR565