OLD | NEW |
1 // This file generates the include file for the assembly | 1 // This file generates the include file for the assembly |
2 // implementations by abusing the C preprocessor. | 2 // implementations by abusing the C preprocessor. |
3 // | 3 // |
4 // Note: Some things are manually defined as they need to | 4 // Note: Some things are manually defined as they need to |
5 // be mapped to NASM types. | 5 // be mapped to NASM types. |
6 | 6 |
7 ; | 7 ; |
8 ; Automatically generated include file from jsimdcfg.inc.h | 8 ; Automatically generated include file from jsimdcfg.inc.h |
9 ; | 9 ; |
10 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ; | 77 ; |
78 %define JCOEF word ; short | 78 %define JCOEF word ; short |
79 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF) | 79 %define SIZEOF_JCOEF SIZEOF_WORD ; sizeof(JCOEF) |
80 | 80 |
81 ; Datatype used for image dimensions. | 81 ; Datatype used for image dimensions. |
82 ; On this SIMD implementation, this must be 'unsigned int'. | 82 ; On this SIMD implementation, this must be 'unsigned int'. |
83 ; | 83 ; |
84 %define JDIMENSION dword ; unsigned int | 84 %define JDIMENSION dword ; unsigned int |
85 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION) | 85 %define SIZEOF_JDIMENSION SIZEOF_DWORD ; sizeof(JDIMENSION) |
86 | 86 |
87 %define JSAMPROW POINTER ; JSAMPLE FAR * (jpeglib.h) | 87 %define JSAMPROW POINTER ; JSAMPLE * (jpeglib.h) |
88 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h) | 88 %define JSAMPARRAY POINTER ; JSAMPROW * (jpeglib.h) |
89 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h) | 89 %define JSAMPIMAGE POINTER ; JSAMPARRAY * (jpeglib.h) |
90 %define JCOEFPTR POINTER ; JCOEF FAR * (jpeglib.h) | 90 %define JCOEFPTR POINTER ; JCOEF * (jpeglib.h) |
91 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW) | 91 %define SIZEOF_JSAMPROW SIZEOF_POINTER ; sizeof(JSAMPROW) |
92 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY) | 92 %define SIZEOF_JSAMPARRAY SIZEOF_POINTER ; sizeof(JSAMPARRAY) |
93 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE) | 93 %define SIZEOF_JSAMPIMAGE SIZEOF_POINTER ; sizeof(JSAMPIMAGE) |
94 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR) | 94 %define SIZEOF_JCOEFPTR SIZEOF_POINTER ; sizeof(JCOEFPTR) |
95 | 95 |
96 ; | 96 ; |
97 ; -- jdct.h | 97 ; -- jdct.h |
98 ; | 98 ; |
99 | 99 |
100 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; | 100 ; A forward DCT routine is given a pointer to a work area of type DCTELEM[]; |
(...skipping 20 matching lines...) Expand all Loading... |
121 | 121 |
122 ; | 122 ; |
123 ; -- jsimd.h | 123 ; -- jsimd.h |
124 ; | 124 ; |
125 | 125 |
126 %define _cpp_protection_JSIMD_NONE JSIMD_NONE | 126 %define _cpp_protection_JSIMD_NONE JSIMD_NONE |
127 %define _cpp_protection_JSIMD_MMX JSIMD_MMX | 127 %define _cpp_protection_JSIMD_MMX JSIMD_MMX |
128 %define _cpp_protection_JSIMD_3DNOW JSIMD_3DNOW | 128 %define _cpp_protection_JSIMD_3DNOW JSIMD_3DNOW |
129 %define _cpp_protection_JSIMD_SSE JSIMD_SSE | 129 %define _cpp_protection_JSIMD_SSE JSIMD_SSE |
130 %define _cpp_protection_JSIMD_SSE2 JSIMD_SSE2 | 130 %define _cpp_protection_JSIMD_SSE2 JSIMD_SSE2 |
131 | |
132 ; Short forms of external names for systems with brain-damaged linkers. | |
133 ; | |
134 #ifdef NEED_SHORT_EXTERNAL_NAMES | |
135 %define _cpp_protection_jpeg_simd_cpu_support jpeg_simd_cpu_support | |
136 %define _cpp_protection_jsimd_rgb_ycc_convert_mmx jsimd_rgb_ycc_convert_mmx | |
137 %define _cpp_protection_jsimd_ycc_rgb_convert_mmx jsimd_ycc_rgb_convert_mmx | |
138 %define _cpp_protection_jconst_rgb_ycc_convert_sse2 jconst_rgb_ycc_convert_sse2 | |
139 %define _cpp_protection_jsimd_rgb_ycc_convert_sse2 jsimd_rgb_ycc_convert_sse2 | |
140 %define _cpp_protection_jconst_ycc_rgb_convert_sse2 jconst_ycc_rgb_convert_sse2 | |
141 %define _cpp_protection_jsimd_ycc_rgb_convert_sse2 jsimd_ycc_rgb_convert_sse2 | |
142 %define _cpp_protection_jsimd_h2v2_downsample_mmx jsimd_h2v2_downsample_mmx | |
143 %define _cpp_protection_jsimd_h2v1_downsample_mmx jsimd_h2v1_downsample_mmx | |
144 %define _cpp_protection_jsimd_h2v2_downsample_sse2 jsimd_h2v2_downsample_sse2 | |
145 %define _cpp_protection_jsimd_h2v1_downsample_sse2 jsimd_h2v1_downsample_sse2 | |
146 %define _cpp_protection_jsimd_h2v2_upsample_mmx jsimd_h2v2_upsample_mmx | |
147 %define _cpp_protection_jsimd_h2v1_upsample_mmx jsimd_h2v1_upsample_mmx | |
148 %define _cpp_protection_jsimd_h2v1_fancy_upsample_mmx jsimd_h2v1_fancy_upsample_
mmx | |
149 %define _cpp_protection_jsimd_h2v2_fancy_upsample_mmx jsimd_h2v2_fancy_upsample_
mmx | |
150 %define _cpp_protection_jsimd_h2v1_merged_upsample_mmx jsimd_h2v1_merged_upsampl
e_mmx | |
151 %define _cpp_protection_jsimd_h2v2_merged_upsample_mmx jsimd_h2v2_merged_upsampl
e_mmx | |
152 %define _cpp_protection_jsimd_h2v2_upsample_sse2 jsimd_h2v2_upsample_sse2 | |
153 %define _cpp_protection_jsimd_h2v1_upsample_sse2 jsimd_h2v1_upsample_sse2 | |
154 %define _cpp_protection_jconst_fancy_upsample_sse2 jconst_fancy_upsample_sse2 | |
155 %define _cpp_protection_jsimd_h2v1_fancy_upsample_sse2 jsimd_h2v1_fancy_upsample
_sse2 | |
156 %define _cpp_protection_jsimd_h2v2_fancy_upsample_sse2 jsimd_h2v2_fancy_upsample
_sse2 | |
157 %define _cpp_protection_jconst_merged_upsample_sse2 jconst_merged_upsample_sse2 | |
158 %define _cpp_protection_jsimd_h2v1_merged_upsample_sse2 jsimd_h2v1_merged_upsamp
le_sse2 | |
159 %define _cpp_protection_jsimd_h2v2_merged_upsample_sse2 jsimd_h2v2_merged_upsamp
le_sse2 | |
160 %define _cpp_protection_jsimd_convsamp_mmx jsimd_convsamp_mmx | |
161 %define _cpp_protection_jsimd_convsamp_sse2 jsimd_convsamp_sse2 | |
162 %define _cpp_protection_jsimd_convsamp_float_3dnow jsimd_convsamp_float_3dnow | |
163 %define _cpp_protection_jsimd_convsamp_float_sse jsimd_convsamp_float_sse | |
164 %define _cpp_protection_jsimd_convsamp_float_sse2 jsimd_convsamp_float_sse2 | |
165 %define _cpp_protection_jsimd_fdct_islow_mmx jsimd_fdct_islow_mmx | |
166 %define _cpp_protection_jsimd_fdct_ifast_mmx jsimd_fdct_ifast_mmx | |
167 %define _cpp_protection_jconst_fdct_islow_sse2 jconst_fdct_islow_sse2 | |
168 %define _cpp_protection_jsimd_fdct_islow_sse2 jsimd_fdct_islow_sse2 | |
169 %define _cpp_protection_jconst_fdct_ifast_sse2 jconst_fdct_ifast_sse2 | |
170 %define _cpp_protection_jsimd_fdct_ifast_sse2 jsimd_fdct_ifast_sse2 | |
171 %define _cpp_protection_jsimd_fdct_float_3dnow jsimd_fdct_float_3dnow | |
172 %define _cpp_protection_jconst_fdct_float_sse jconst_fdct_float_sse | |
173 %define _cpp_protection_jsimd_fdct_float_sse jsimd_fdct_float_sse | |
174 %define _cpp_protection_jsimd_quantize_mmx jsimd_quantize_mmx | |
175 %define _cpp_protection_jsimd_quantize_sse2 jsimd_quantize_sse2 | |
176 %define _cpp_protection_jsimd_quantize_float_3dnow jsimd_quantize_float_3dnow | |
177 %define _cpp_protection_jsimd_quantize_float_sse jsimd_quantize_float_sse | |
178 %define _cpp_protection_jsimd_quantize_float_sse2 jsimd_quantize_float_sse2 | |
179 %define _cpp_protection_jsimd_idct_2x2_mmx jsimd_idct_2x2_mmx | |
180 %define _cpp_protection_jsimd_idct_4x4_mmx jsimd_idct_4x4_mmx | |
181 %define _cpp_protection_jconst_idct_red_sse2 jconst_idct_red_sse2 | |
182 %define _cpp_protection_jsimd_idct_2x2_sse2 jsimd_idct_2x2_sse2 | |
183 %define _cpp_protection_jsimd_idct_4x4_sse2 jsimd_idct_4x4_sse2 | |
184 %define _cpp_protection_jsimd_idct_islow_mmx jsimd_idct_islow_mmx | |
185 %define _cpp_protection_jsimd_idct_ifast_mmx jsimd_idct_ifast_mmx | |
186 %define _cpp_protection_jconst_idct_islow_sse2 jconst_idct_islow_sse2 | |
187 %define _cpp_protection_jsimd_idct_islow_sse2 jsimd_idct_islow_sse2 | |
188 %define _cpp_protection_jconst_idct_ifast_sse2 jconst_idct_ifast_sse2 | |
189 %define _cpp_protection_jsimd_idct_ifast_sse2 jsimd_idct_ifast_sse2 | |
190 %define _cpp_protection_jsimd_idct_float_3dnow jsimd_idct_float_3dnow | |
191 %define _cpp_protection_jconst_idct_float_sse jconst_idct_float_sse | |
192 %define _cpp_protection_jsimd_idct_float_sse jsimd_idct_float_sse | |
193 %define _cpp_protection_jconst_idct_float_sse2 jconst_idct_float_sse2 | |
194 %define _cpp_protection_jsimd_idct_float_sse2 jsimd_idct_float_sse2 | |
195 #endif /* NEED_SHORT_EXTERNAL_NAMES */ | |
196 | |
OLD | NEW |