|
1 /* |
|
2 * LIBOIL - Library of Optimized Inner Loops |
|
3 * Copyright (c) 2003,2004 David A. Schleef <ds@schleef.org> |
|
4 * All rights reserved. |
|
5 * |
|
6 * Redistribution and use in source and binary forms, with or without |
|
7 * modification, are permitted provided that the following conditions |
|
8 * are met: |
|
9 * 1. Redistributions of source code must retain the above copyright |
|
10 * notice, this list of conditions and the following disclaimer. |
|
11 * 2. Redistributions in binary form must reproduce the above copyright |
|
12 * notice, this list of conditions and the following disclaimer in the |
|
13 * documentation and/or other materials provided with the distribution. |
|
14 * |
|
15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
17 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, |
|
19 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|
20 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
21 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
|
23 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
|
24 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
25 * POSSIBILITY OF SUCH DAMAGE. |
|
26 */ |
|
27 |
|
28 #ifndef _LIBOIL_CONV_H_ |
|
29 #define _LIBOIL_CONV_H_ |
|
30 |
|
31 #include <liboil/liboilfunction.h> |
|
32 |
|
33 OIL_DECLARE_CLASS(conv_f64_s8); |
|
34 OIL_DECLARE_CLASS(conv_f64_s16); |
|
35 OIL_DECLARE_CLASS(conv_f64_s32); |
|
36 OIL_DECLARE_CLASS(conv_f64_u8); |
|
37 OIL_DECLARE_CLASS(conv_f64_u16); |
|
38 OIL_DECLARE_CLASS(conv_f64_u32); |
|
39 OIL_DECLARE_CLASS(conv_f64_f32); |
|
40 |
|
41 OIL_DECLARE_CLASS(conv_f32_s8); |
|
42 OIL_DECLARE_CLASS(conv_f32_s16); |
|
43 OIL_DECLARE_CLASS(conv_f32_u8); |
|
44 OIL_DECLARE_CLASS(conv_f32_u16); |
|
45 |
|
46 OIL_DECLARE_CLASS(conv_s32_s8); |
|
47 OIL_DECLARE_CLASS(conv_s32_s16); |
|
48 OIL_DECLARE_CLASS(conv_s32_u8); |
|
49 OIL_DECLARE_CLASS(conv_s32_u16); |
|
50 |
|
51 OIL_DECLARE_CLASS(conv_u32_s8); |
|
52 OIL_DECLARE_CLASS(conv_u32_s16); |
|
53 OIL_DECLARE_CLASS(conv_u32_u8); |
|
54 OIL_DECLARE_CLASS(conv_u32_u16); |
|
55 |
|
56 OIL_DECLARE_CLASS(conv_s16_s8); |
|
57 OIL_DECLARE_CLASS(conv_s16_u8); |
|
58 |
|
59 OIL_DECLARE_CLASS(conv_u16_s8); |
|
60 OIL_DECLARE_CLASS(conv_u16_u8); |
|
61 |
|
62 OIL_DECLARE_CLASS(clipconv_s8_u8); |
|
63 OIL_DECLARE_CLASS(clipconv_s8_s16); |
|
64 OIL_DECLARE_CLASS(clipconv_s8_u16); |
|
65 OIL_DECLARE_CLASS(clipconv_s8_s32); |
|
66 OIL_DECLARE_CLASS(clipconv_s8_u32); |
|
67 OIL_DECLARE_CLASS(clipconv_s8_f32); |
|
68 OIL_DECLARE_CLASS(clipconv_s8_f64); |
|
69 |
|
70 OIL_DECLARE_CLASS(clipconv_u8_s8); |
|
71 OIL_DECLARE_CLASS(clipconv_u8_s16); |
|
72 OIL_DECLARE_CLASS(clipconv_u8_u16); |
|
73 OIL_DECLARE_CLASS(clipconv_u8_s32); |
|
74 OIL_DECLARE_CLASS(clipconv_u8_u32); |
|
75 OIL_DECLARE_CLASS(clipconv_u8_f32); |
|
76 OIL_DECLARE_CLASS(clipconv_u8_f64); |
|
77 |
|
78 OIL_DECLARE_CLASS(clipconv_s16_u16); |
|
79 OIL_DECLARE_CLASS(clipconv_s16_s32); |
|
80 OIL_DECLARE_CLASS(clipconv_s16_u32); |
|
81 OIL_DECLARE_CLASS(clipconv_s16_f32); |
|
82 OIL_DECLARE_CLASS(clipconv_s16_f64); |
|
83 |
|
84 OIL_DECLARE_CLASS(clipconv_u16_s16); |
|
85 OIL_DECLARE_CLASS(clipconv_u16_s32); |
|
86 OIL_DECLARE_CLASS(clipconv_u16_u32); |
|
87 OIL_DECLARE_CLASS(clipconv_u16_f32); |
|
88 OIL_DECLARE_CLASS(clipconv_u16_f64); |
|
89 |
|
90 OIL_DECLARE_CLASS(clipconv_s32_u32); |
|
91 OIL_DECLARE_CLASS(clipconv_s32_f32); |
|
92 OIL_DECLARE_CLASS(clipconv_s32_f64); |
|
93 |
|
94 OIL_DECLARE_CLASS(clipconv_u32_s32); |
|
95 OIL_DECLARE_CLASS(clipconv_u32_f32); |
|
96 OIL_DECLARE_CLASS(clipconv_u32_f64); |
|
97 |
|
98 OIL_DECLARE_CLASS(conv_f32_s32); |
|
99 OIL_DECLARE_CLASS(conv_f32_u32); |
|
100 OIL_DECLARE_CLASS(conv_f32_f64); |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 OIL_DECLARE_CLASS(conv_s8_u8); |
|
106 OIL_DECLARE_CLASS(conv_s8_s16); |
|
107 OIL_DECLARE_CLASS(conv_s8_u16); |
|
108 OIL_DECLARE_CLASS(conv_s8_s32); |
|
109 OIL_DECLARE_CLASS(conv_s8_u32); |
|
110 OIL_DECLARE_CLASS(conv_s8_f32); |
|
111 OIL_DECLARE_CLASS(conv_s8_f64); |
|
112 |
|
113 OIL_DECLARE_CLASS(conv_u8_s8); |
|
114 OIL_DECLARE_CLASS(conv_u8_s16); |
|
115 OIL_DECLARE_CLASS(conv_u8_u16); |
|
116 OIL_DECLARE_CLASS(conv_u8_s32); |
|
117 OIL_DECLARE_CLASS(conv_u8_u32); |
|
118 OIL_DECLARE_CLASS(conv_u8_f32); |
|
119 OIL_DECLARE_CLASS(conv_u8_f64); |
|
120 |
|
121 OIL_DECLARE_CLASS(conv_s16_u16); |
|
122 OIL_DECLARE_CLASS(conv_s16_s32); |
|
123 OIL_DECLARE_CLASS(conv_s16_u32); |
|
124 OIL_DECLARE_CLASS(conv_s16_f32); |
|
125 OIL_DECLARE_CLASS(conv_s16_f64); |
|
126 |
|
127 OIL_DECLARE_CLASS(conv_u16_s16); |
|
128 OIL_DECLARE_CLASS(conv_u16_s32); |
|
129 OIL_DECLARE_CLASS(conv_u16_u32); |
|
130 OIL_DECLARE_CLASS(conv_u16_f32); |
|
131 OIL_DECLARE_CLASS(conv_u16_f64); |
|
132 |
|
133 OIL_DECLARE_CLASS(conv_s32_u32); |
|
134 OIL_DECLARE_CLASS(conv_s32_f32); |
|
135 OIL_DECLARE_CLASS(conv_s32_f64); |
|
136 |
|
137 OIL_DECLARE_CLASS(conv_u32_s32); |
|
138 OIL_DECLARE_CLASS(conv_u32_f32); |
|
139 OIL_DECLARE_CLASS(conv_u32_f64); |
|
140 |
|
141 #endif |
|
142 |