39 #include <config_auto.h>
42 #include "allheaders.h"
44 static void fdilate_2_0(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
45 static void ferode_2_0(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
46 static void fdilate_2_1(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
47 static void ferode_2_1(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
48 static void fdilate_2_2(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
49 static void ferode_2_2(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
50 static void fdilate_2_3(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
51 static void ferode_2_3(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
52 static void fdilate_2_4(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
53 static void ferode_2_4(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
54 static void fdilate_2_5(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
55 static void ferode_2_5(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
56 static void fdilate_2_6(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
57 static void ferode_2_6(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
58 static void fdilate_2_7(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
59 static void ferode_2_7(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
60 static void fdilate_2_8(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
61 static void ferode_2_8(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
62 static void fdilate_2_9(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
63 static void ferode_2_9(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
64 static void fdilate_2_10(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
65 static void ferode_2_10(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
66 static void fdilate_2_11(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
67 static void ferode_2_11(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
68 static void fdilate_2_12(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
69 static void ferode_2_12(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
70 static void fdilate_2_13(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
71 static void ferode_2_13(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
72 static void fdilate_2_14(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
73 static void ferode_2_14(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
74 static void fdilate_2_15(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
75 static void ferode_2_15(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
76 static void fdilate_2_16(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
77 static void ferode_2_16(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
78 static void fdilate_2_17(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
79 static void ferode_2_17(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
80 static void fdilate_2_18(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
81 static void ferode_2_18(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
82 static void fdilate_2_19(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
83 static void ferode_2_19(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
84 static void fdilate_2_20(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
85 static void ferode_2_20(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
86 static void fdilate_2_21(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
87 static void ferode_2_21(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
88 static void fdilate_2_22(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
89 static void ferode_2_22(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
90 static void fdilate_2_23(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
91 static void ferode_2_23(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
92 static void fdilate_2_24(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
93 static void ferode_2_24(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
94 static void fdilate_2_25(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
95 static void ferode_2_25(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
96 static void fdilate_2_26(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
97 static void ferode_2_26(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
98 static void fdilate_2_27(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
99 static void ferode_2_27(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
100 static void fdilate_2_28(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
101 static void ferode_2_28(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
102 static void fdilate_2_29(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
103 static void ferode_2_29(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
104 static void fdilate_2_30(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
105 static void ferode_2_30(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
106 static void fdilate_2_31(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
107 static void ferode_2_31(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
108 static void fdilate_2_32(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
109 static void ferode_2_32(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
110 static void fdilate_2_33(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
111 static void ferode_2_33(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
112 static void fdilate_2_34(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
113 static void ferode_2_34(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
114 static void fdilate_2_35(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
115 static void ferode_2_35(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
116 static void fdilate_2_36(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
117 static void ferode_2_36(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
118 static void fdilate_2_37(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
119 static void ferode_2_37(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
120 static void fdilate_2_38(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
121 static void ferode_2_38(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
122 static void fdilate_2_39(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
123 static void ferode_2_39(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
124 static void fdilate_2_40(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
125 static void ferode_2_40(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
126 static void fdilate_2_41(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
127 static void ferode_2_41(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
128 static void fdilate_2_42(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
129 static void ferode_2_42(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
130 static void fdilate_2_43(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
131 static void ferode_2_43(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
132 static void fdilate_2_44(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
133 static void ferode_2_44(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
134 static void fdilate_2_45(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
135 static void ferode_2_45(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
136 static void fdilate_2_46(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
137 static void ferode_2_46(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
138 static void fdilate_2_47(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
139 static void ferode_2_47(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
140 static void fdilate_2_48(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
141 static void ferode_2_48(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
142 static void fdilate_2_49(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
143 static void ferode_2_49(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
144 static void fdilate_2_50(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
145 static void ferode_2_50(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
146 static void fdilate_2_51(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
147 static void ferode_2_51(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
148 static void fdilate_2_52(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
149 static void ferode_2_52(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
150 static void fdilate_2_53(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
151 static void ferode_2_53(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
152 static void fdilate_2_54(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
153 static void ferode_2_54(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
154 static void fdilate_2_55(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
155 static void ferode_2_55(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
156 static void fdilate_2_56(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
157 static void ferode_2_56(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
158 static void fdilate_2_57(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
159 static void ferode_2_57(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
160 static void fdilate_2_58(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
161 static void ferode_2_58(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
162 static void fdilate_2_59(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
163 static void ferode_2_59(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
164 static void fdilate_2_60(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
165 static void ferode_2_60(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
166 static void fdilate_2_61(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
167 static void ferode_2_61(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
168 static void fdilate_2_62(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
169 static void ferode_2_62(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
170 static void fdilate_2_63(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
171 static void ferode_2_63(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
172 static void fdilate_2_64(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
173 static void ferode_2_64(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
174 static void fdilate_2_65(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
175 static void ferode_2_65(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
176 static void fdilate_2_66(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
177 static void ferode_2_66(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
178 static void fdilate_2_67(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
179 static void ferode_2_67(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
180 static void fdilate_2_68(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
181 static void ferode_2_68(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
182 static void fdilate_2_69(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
183 static void ferode_2_69(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
184 static void fdilate_2_70(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
185 static void ferode_2_70(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
186 static void fdilate_2_71(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
187 static void ferode_2_71(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
188 static void fdilate_2_72(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
189 static void ferode_2_72(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
190 static void fdilate_2_73(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
191 static void ferode_2_73(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
192 static void fdilate_2_74(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
193 static void ferode_2_74(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
194 static void fdilate_2_75(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
195 static void ferode_2_75(l_uint32 *, l_int32, l_int32, l_int32, l_uint32 *, l_int32);
207 fmorphopgen_low_2(l_uint32 *datad,
219 fdilate_2_0(datad, w, h, wpld, datas, wpls);
222 ferode_2_0(datad, w, h, wpld, datas, wpls);
225 fdilate_2_1(datad, w, h, wpld, datas, wpls);
228 ferode_2_1(datad, w, h, wpld, datas, wpls);
231 fdilate_2_2(datad, w, h, wpld, datas, wpls);
234 ferode_2_2(datad, w, h, wpld, datas, wpls);
237 fdilate_2_3(datad, w, h, wpld, datas, wpls);
240 ferode_2_3(datad, w, h, wpld, datas, wpls);
243 fdilate_2_4(datad, w, h, wpld, datas, wpls);
246 ferode_2_4(datad, w, h, wpld, datas, wpls);
249 fdilate_2_5(datad, w, h, wpld, datas, wpls);
252 ferode_2_5(datad, w, h, wpld, datas, wpls);
255 fdilate_2_6(datad, w, h, wpld, datas, wpls);
258 ferode_2_6(datad, w, h, wpld, datas, wpls);
261 fdilate_2_7(datad, w, h, wpld, datas, wpls);
264 ferode_2_7(datad, w, h, wpld, datas, wpls);
267 fdilate_2_8(datad, w, h, wpld, datas, wpls);
270 ferode_2_8(datad, w, h, wpld, datas, wpls);
273 fdilate_2_9(datad, w, h, wpld, datas, wpls);
276 ferode_2_9(datad, w, h, wpld, datas, wpls);
279 fdilate_2_10(datad, w, h, wpld, datas, wpls);
282 ferode_2_10(datad, w, h, wpld, datas, wpls);
285 fdilate_2_11(datad, w, h, wpld, datas, wpls);
288 ferode_2_11(datad, w, h, wpld, datas, wpls);
291 fdilate_2_12(datad, w, h, wpld, datas, wpls);
294 ferode_2_12(datad, w, h, wpld, datas, wpls);
297 fdilate_2_13(datad, w, h, wpld, datas, wpls);
300 ferode_2_13(datad, w, h, wpld, datas, wpls);
303 fdilate_2_14(datad, w, h, wpld, datas, wpls);
306 ferode_2_14(datad, w, h, wpld, datas, wpls);
309 fdilate_2_15(datad, w, h, wpld, datas, wpls);
312 ferode_2_15(datad, w, h, wpld, datas, wpls);
315 fdilate_2_16(datad, w, h, wpld, datas, wpls);
318 ferode_2_16(datad, w, h, wpld, datas, wpls);
321 fdilate_2_17(datad, w, h, wpld, datas, wpls);
324 ferode_2_17(datad, w, h, wpld, datas, wpls);
327 fdilate_2_18(datad, w, h, wpld, datas, wpls);
330 ferode_2_18(datad, w, h, wpld, datas, wpls);
333 fdilate_2_19(datad, w, h, wpld, datas, wpls);
336 ferode_2_19(datad, w, h, wpld, datas, wpls);
339 fdilate_2_20(datad, w, h, wpld, datas, wpls);
342 ferode_2_20(datad, w, h, wpld, datas, wpls);
345 fdilate_2_21(datad, w, h, wpld, datas, wpls);
348 ferode_2_21(datad, w, h, wpld, datas, wpls);
351 fdilate_2_22(datad, w, h, wpld, datas, wpls);
354 ferode_2_22(datad, w, h, wpld, datas, wpls);
357 fdilate_2_23(datad, w, h, wpld, datas, wpls);
360 ferode_2_23(datad, w, h, wpld, datas, wpls);
363 fdilate_2_24(datad, w, h, wpld, datas, wpls);
366 ferode_2_24(datad, w, h, wpld, datas, wpls);
369 fdilate_2_25(datad, w, h, wpld, datas, wpls);
372 ferode_2_25(datad, w, h, wpld, datas, wpls);
375 fdilate_2_26(datad, w, h, wpld, datas, wpls);
378 ferode_2_26(datad, w, h, wpld, datas, wpls);
381 fdilate_2_27(datad, w, h, wpld, datas, wpls);
384 ferode_2_27(datad, w, h, wpld, datas, wpls);
387 fdilate_2_28(datad, w, h, wpld, datas, wpls);
390 ferode_2_28(datad, w, h, wpld, datas, wpls);
393 fdilate_2_29(datad, w, h, wpld, datas, wpls);
396 ferode_2_29(datad, w, h, wpld, datas, wpls);
399 fdilate_2_30(datad, w, h, wpld, datas, wpls);
402 ferode_2_30(datad, w, h, wpld, datas, wpls);
405 fdilate_2_31(datad, w, h, wpld, datas, wpls);
408 ferode_2_31(datad, w, h, wpld, datas, wpls);
411 fdilate_2_32(datad, w, h, wpld, datas, wpls);
414 ferode_2_32(datad, w, h, wpld, datas, wpls);
417 fdilate_2_33(datad, w, h, wpld, datas, wpls);
420 ferode_2_33(datad, w, h, wpld, datas, wpls);
423 fdilate_2_34(datad, w, h, wpld, datas, wpls);
426 ferode_2_34(datad, w, h, wpld, datas, wpls);
429 fdilate_2_35(datad, w, h, wpld, datas, wpls);
432 ferode_2_35(datad, w, h, wpld, datas, wpls);
435 fdilate_2_36(datad, w, h, wpld, datas, wpls);
438 ferode_2_36(datad, w, h, wpld, datas, wpls);
441 fdilate_2_37(datad, w, h, wpld, datas, wpls);
444 ferode_2_37(datad, w, h, wpld, datas, wpls);
447 fdilate_2_38(datad, w, h, wpld, datas, wpls);
450 ferode_2_38(datad, w, h, wpld, datas, wpls);
453 fdilate_2_39(datad, w, h, wpld, datas, wpls);
456 ferode_2_39(datad, w, h, wpld, datas, wpls);
459 fdilate_2_40(datad, w, h, wpld, datas, wpls);
462 ferode_2_40(datad, w, h, wpld, datas, wpls);
465 fdilate_2_41(datad, w, h, wpld, datas, wpls);
468 ferode_2_41(datad, w, h, wpld, datas, wpls);
471 fdilate_2_42(datad, w, h, wpld, datas, wpls);
474 ferode_2_42(datad, w, h, wpld, datas, wpls);
477 fdilate_2_43(datad, w, h, wpld, datas, wpls);
480 ferode_2_43(datad, w, h, wpld, datas, wpls);
483 fdilate_2_44(datad, w, h, wpld, datas, wpls);
486 ferode_2_44(datad, w, h, wpld, datas, wpls);
489 fdilate_2_45(datad, w, h, wpld, datas, wpls);
492 ferode_2_45(datad, w, h, wpld, datas, wpls);
495 fdilate_2_46(datad, w, h, wpld, datas, wpls);
498 ferode_2_46(datad, w, h, wpld, datas, wpls);
501 fdilate_2_47(datad, w, h, wpld, datas, wpls);
504 ferode_2_47(datad, w, h, wpld, datas, wpls);
507 fdilate_2_48(datad, w, h, wpld, datas, wpls);
510 ferode_2_48(datad, w, h, wpld, datas, wpls);
513 fdilate_2_49(datad, w, h, wpld, datas, wpls);
516 ferode_2_49(datad, w, h, wpld, datas, wpls);
519 fdilate_2_50(datad, w, h, wpld, datas, wpls);
522 ferode_2_50(datad, w, h, wpld, datas, wpls);
525 fdilate_2_51(datad, w, h, wpld, datas, wpls);
528 ferode_2_51(datad, w, h, wpld, datas, wpls);
531 fdilate_2_52(datad, w, h, wpld, datas, wpls);
534 ferode_2_52(datad, w, h, wpld, datas, wpls);
537 fdilate_2_53(datad, w, h, wpld, datas, wpls);
540 ferode_2_53(datad, w, h, wpld, datas, wpls);
543 fdilate_2_54(datad, w, h, wpld, datas, wpls);
546 ferode_2_54(datad, w, h, wpld, datas, wpls);
549 fdilate_2_55(datad, w, h, wpld, datas, wpls);
552 ferode_2_55(datad, w, h, wpld, datas, wpls);
555 fdilate_2_56(datad, w, h, wpld, datas, wpls);
558 ferode_2_56(datad, w, h, wpld, datas, wpls);
561 fdilate_2_57(datad, w, h, wpld, datas, wpls);
564 ferode_2_57(datad, w, h, wpld, datas, wpls);
567 fdilate_2_58(datad, w, h, wpld, datas, wpls);
570 ferode_2_58(datad, w, h, wpld, datas, wpls);
573 fdilate_2_59(datad, w, h, wpld, datas, wpls);
576 ferode_2_59(datad, w, h, wpld, datas, wpls);
579 fdilate_2_60(datad, w, h, wpld, datas, wpls);
582 ferode_2_60(datad, w, h, wpld, datas, wpls);
585 fdilate_2_61(datad, w, h, wpld, datas, wpls);
588 ferode_2_61(datad, w, h, wpld, datas, wpls);
591 fdilate_2_62(datad, w, h, wpld, datas, wpls);
594 ferode_2_62(datad, w, h, wpld, datas, wpls);
597 fdilate_2_63(datad, w, h, wpld, datas, wpls);
600 ferode_2_63(datad, w, h, wpld, datas, wpls);
603 fdilate_2_64(datad, w, h, wpld, datas, wpls);
606 ferode_2_64(datad, w, h, wpld, datas, wpls);
609 fdilate_2_65(datad, w, h, wpld, datas, wpls);
612 ferode_2_65(datad, w, h, wpld, datas, wpls);
615 fdilate_2_66(datad, w, h, wpld, datas, wpls);
618 ferode_2_66(datad, w, h, wpld, datas, wpls);
621 fdilate_2_67(datad, w, h, wpld, datas, wpls);
624 ferode_2_67(datad, w, h, wpld, datas, wpls);
627 fdilate_2_68(datad, w, h, wpld, datas, wpls);
630 ferode_2_68(datad, w, h, wpld, datas, wpls);
633 fdilate_2_69(datad, w, h, wpld, datas, wpls);
636 ferode_2_69(datad, w, h, wpld, datas, wpls);
639 fdilate_2_70(datad, w, h, wpld, datas, wpls);
642 ferode_2_70(datad, w, h, wpld, datas, wpls);
645 fdilate_2_71(datad, w, h, wpld, datas, wpls);
648 ferode_2_71(datad, w, h, wpld, datas, wpls);
651 fdilate_2_72(datad, w, h, wpld, datas, wpls);
654 ferode_2_72(datad, w, h, wpld, datas, wpls);
657 fdilate_2_73(datad, w, h, wpld, datas, wpls);
660 ferode_2_73(datad, w, h, wpld, datas, wpls);
663 fdilate_2_74(datad, w, h, wpld, datas, wpls);
666 ferode_2_74(datad, w, h, wpld, datas, wpls);
669 fdilate_2_75(datad, w, h, wpld, datas, wpls);
672 ferode_2_75(datad, w, h, wpld, datas, wpls);
692 fdilate_2_0(l_uint32 *datad,
701 l_uint32 *sptr, *dptr;
703 pwpls = (l_uint32)(w + 31) / 32;
705 for (i = 0; i < h; i++) {
706 sptr = datas + i * wpls;
707 dptr = datad + i * wpld;
708 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
709 *dptr = ((*(sptr) << 1) | (*(sptr + 1) >> 31)) |
710 ((*(sptr) >> 1) | (*(sptr - 1) << 31));
716 ferode_2_0(l_uint32 *datad,
725 l_uint32 *sptr, *dptr;
727 pwpls = (l_uint32)(w + 31) / 32;
729 for (i = 0; i < h; i++) {
730 sptr = datas + i * wpls;
731 dptr = datad + i * wpld;
732 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
733 *dptr = ((*(sptr) >> 1) | (*(sptr - 1) << 31)) &
734 ((*(sptr) << 1) | (*(sptr + 1) >> 31));
740 fdilate_2_1(l_uint32 *datad,
749 l_uint32 *sptr, *dptr;
751 pwpls = (l_uint32)(w + 31) / 32;
753 for (i = 0; i < h; i++) {
754 sptr = datas + i * wpls;
755 dptr = datad + i * wpld;
756 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
757 *dptr = (*(sptr + wpls)) |
764 ferode_2_1(l_uint32 *datad,
773 l_uint32 *sptr, *dptr;
775 pwpls = (l_uint32)(w + 31) / 32;
777 for (i = 0; i < h; i++) {
778 sptr = datas + i * wpls;
779 dptr = datad + i * wpld;
780 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
781 *dptr = (*(sptr - wpls)) &
788 fdilate_2_2(l_uint32 *datad,
797 l_uint32 *sptr, *dptr;
799 pwpls = (l_uint32)(w + 31) / 32;
801 for (i = 0; i < h; i++) {
802 sptr = datas + i * wpls;
803 dptr = datad + i * wpld;
804 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
811 ferode_2_2(l_uint32 *datad,
820 l_uint32 *sptr, *dptr;
822 pwpls = (l_uint32)(w + 31) / 32;
824 for (i = 0; i < h; i++) {
825 sptr = datas + i * wpls;
826 dptr = datad + i * wpld;
827 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
834 fdilate_2_3(l_uint32 *datad,
843 l_uint32 *sptr, *dptr;
845 pwpls = (l_uint32)(w + 31) / 32;
847 for (i = 0; i < h; i++) {
848 sptr = datas + i * wpls;
849 dptr = datad + i * wpld;
850 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
857 ferode_2_3(l_uint32 *datad,
866 l_uint32 *sptr, *dptr;
868 pwpls = (l_uint32)(w + 31) / 32;
870 for (i = 0; i < h; i++) {
871 sptr = datas + i * wpls;
872 dptr = datad + i * wpld;
873 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
880 fdilate_2_4(l_uint32 *datad,
889 l_uint32 *sptr, *dptr;
891 pwpls = (l_uint32)(w + 31) / 32;
893 for (i = 0; i < h; i++) {
894 sptr = datas + i * wpls;
895 dptr = datad + i * wpld;
896 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
897 *dptr = ((*(sptr) << 2) | (*(sptr + 1) >> 30)) |
898 ((*(sptr) >> 1) | (*(sptr - 1) << 31));
904 ferode_2_4(l_uint32 *datad,
913 l_uint32 *sptr, *dptr;
915 pwpls = (l_uint32)(w + 31) / 32;
917 for (i = 0; i < h; i++) {
918 sptr = datas + i * wpls;
919 dptr = datad + i * wpld;
920 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
921 *dptr = ((*(sptr) >> 2) | (*(sptr - 1) << 30)) &
922 ((*(sptr) << 1) | (*(sptr + 1) >> 31));
928 fdilate_2_5(l_uint32 *datad,
937 l_uint32 *sptr, *dptr;
941 pwpls = (l_uint32)(w + 31) / 32;
943 for (i = 0; i < h; i++) {
944 sptr = datas + i * wpls;
945 dptr = datad + i * wpld;
946 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
947 *dptr = (*(sptr + wpls2)) |
954 ferode_2_5(l_uint32 *datad,
963 l_uint32 *sptr, *dptr;
967 pwpls = (l_uint32)(w + 31) / 32;
969 for (i = 0; i < h; i++) {
970 sptr = datas + i * wpls;
971 dptr = datad + i * wpld;
972 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
973 *dptr = (*(sptr - wpls2)) &
980 fdilate_2_6(l_uint32 *datad,
989 l_uint32 *sptr, *dptr;
991 pwpls = (l_uint32)(w + 31) / 32;
993 for (i = 0; i < h; i++) {
994 sptr = datas + i * wpls;
995 dptr = datad + i * wpld;
996 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1003 ferode_2_6(l_uint32 *datad,
1012 l_uint32 *sptr, *dptr;
1014 pwpls = (l_uint32)(w + 31) / 32;
1016 for (i = 0; i < h; i++) {
1017 sptr = datas + i * wpls;
1018 dptr = datad + i * wpld;
1019 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1026 fdilate_2_7(l_uint32 *datad,
1035 l_uint32 *sptr, *dptr;
1037 pwpls = (l_uint32)(w + 31) / 32;
1039 for (i = 0; i < h; i++) {
1040 sptr = datas + i * wpls;
1041 dptr = datad + i * wpld;
1042 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1049 ferode_2_7(l_uint32 *datad,
1058 l_uint32 *sptr, *dptr;
1060 pwpls = (l_uint32)(w + 31) / 32;
1062 for (i = 0; i < h; i++) {
1063 sptr = datas + i * wpls;
1064 dptr = datad + i * wpld;
1065 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1072 fdilate_2_8(l_uint32 *datad,
1081 l_uint32 *sptr, *dptr;
1083 pwpls = (l_uint32)(w + 31) / 32;
1085 for (i = 0; i < h; i++) {
1086 sptr = datas + i * wpls;
1087 dptr = datad + i * wpld;
1088 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1089 *dptr = ((*(sptr) << 2) | (*(sptr + 1) >> 30)) |
1090 ((*(sptr) >> 2) | (*(sptr - 1) << 30));
1096 ferode_2_8(l_uint32 *datad,
1105 l_uint32 *sptr, *dptr;
1107 pwpls = (l_uint32)(w + 31) / 32;
1109 for (i = 0; i < h; i++) {
1110 sptr = datas + i * wpls;
1111 dptr = datad + i * wpld;
1112 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1113 *dptr = ((*(sptr) >> 2) | (*(sptr - 1) << 30)) &
1114 ((*(sptr) << 2) | (*(sptr + 1) >> 30));
1120 fdilate_2_9(l_uint32 *datad,
1129 l_uint32 *sptr, *dptr;
1133 pwpls = (l_uint32)(w + 31) / 32;
1135 for (i = 0; i < h; i++) {
1136 sptr = datas + i * wpls;
1137 dptr = datad + i * wpld;
1138 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1139 *dptr = (*(sptr + wpls2)) |
1146 ferode_2_9(l_uint32 *datad,
1155 l_uint32 *sptr, *dptr;
1159 pwpls = (l_uint32)(w + 31) / 32;
1161 for (i = 0; i < h; i++) {
1162 sptr = datas + i * wpls;
1163 dptr = datad + i * wpld;
1164 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1165 *dptr = (*(sptr - wpls2)) &
1172 fdilate_2_10(l_uint32 *datad,
1181 l_uint32 *sptr, *dptr;
1183 pwpls = (l_uint32)(w + 31) / 32;
1185 for (i = 0; i < h; i++) {
1186 sptr = datas + i * wpls;
1187 dptr = datad + i * wpld;
1188 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1189 *dptr = ((*(sptr) << 3) | (*(sptr + 1) >> 29)) |
1191 ((*(sptr) >> 3) | (*(sptr - 1) << 29));
1197 ferode_2_10(l_uint32 *datad,
1206 l_uint32 *sptr, *dptr;
1208 pwpls = (l_uint32)(w + 31) / 32;
1210 for (i = 0; i < h; i++) {
1211 sptr = datas + i * wpls;
1212 dptr = datad + i * wpld;
1213 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1214 *dptr = ((*(sptr) >> 3) | (*(sptr - 1) << 29)) &
1216 ((*(sptr) << 3) | (*(sptr + 1) >> 29));
1222 fdilate_2_11(l_uint32 *datad,
1231 l_uint32 *sptr, *dptr;
1235 pwpls = (l_uint32)(w + 31) / 32;
1237 for (i = 0; i < h; i++) {
1238 sptr = datas + i * wpls;
1239 dptr = datad + i * wpld;
1240 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1241 *dptr = (*(sptr + wpls3)) |
1249 ferode_2_11(l_uint32 *datad,
1258 l_uint32 *sptr, *dptr;
1262 pwpls = (l_uint32)(w + 31) / 32;
1264 for (i = 0; i < h; i++) {
1265 sptr = datas + i * wpls;
1266 dptr = datad + i * wpld;
1267 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1268 *dptr = (*(sptr - wpls3)) &
1276 fdilate_2_12(l_uint32 *datad,
1285 l_uint32 *sptr, *dptr;
1287 pwpls = (l_uint32)(w + 31) / 32;
1289 for (i = 0; i < h; i++) {
1290 sptr = datas + i * wpls;
1291 dptr = datad + i * wpld;
1292 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1293 *dptr = ((*(sptr) << 3) | (*(sptr + 1) >> 29)) |
1294 ((*(sptr) >> 2) | (*(sptr - 1) << 30));
1300 ferode_2_12(l_uint32 *datad,
1309 l_uint32 *sptr, *dptr;
1311 pwpls = (l_uint32)(w + 31) / 32;
1313 for (i = 0; i < h; i++) {
1314 sptr = datas + i * wpls;
1315 dptr = datad + i * wpld;
1316 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1317 *dptr = ((*(sptr) >> 3) | (*(sptr - 1) << 29)) &
1318 ((*(sptr) << 2) | (*(sptr + 1) >> 30));
1324 fdilate_2_13(l_uint32 *datad,
1333 l_uint32 *sptr, *dptr;
1339 pwpls = (l_uint32)(w + 31) / 32;
1341 for (i = 0; i < h; i++) {
1342 sptr = datas + i * wpls;
1343 dptr = datad + i * wpld;
1344 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1345 *dptr = (*(sptr + wpls3)) |
1352 ferode_2_13(l_uint32 *datad,
1361 l_uint32 *sptr, *dptr;
1367 pwpls = (l_uint32)(w + 31) / 32;
1369 for (i = 0; i < h; i++) {
1370 sptr = datas + i * wpls;
1371 dptr = datad + i * wpld;
1372 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1373 *dptr = (*(sptr - wpls3)) &
1380 fdilate_2_14(l_uint32 *datad,
1389 l_uint32 *sptr, *dptr;
1391 pwpls = (l_uint32)(w + 31) / 32;
1393 for (i = 0; i < h; i++) {
1394 sptr = datas + i * wpls;
1395 dptr = datad + i * wpld;
1396 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1397 *dptr = ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
1399 ((*(sptr) >> 4) | (*(sptr - 1) << 28));
1405 ferode_2_14(l_uint32 *datad,
1414 l_uint32 *sptr, *dptr;
1416 pwpls = (l_uint32)(w + 31) / 32;
1418 for (i = 0; i < h; i++) {
1419 sptr = datas + i * wpls;
1420 dptr = datad + i * wpld;
1421 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1422 *dptr = ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
1424 ((*(sptr) << 4) | (*(sptr + 1) >> 28));
1430 fdilate_2_15(l_uint32 *datad,
1439 l_uint32 *sptr, *dptr;
1443 pwpls = (l_uint32)(w + 31) / 32;
1445 for (i = 0; i < h; i++) {
1446 sptr = datas + i * wpls;
1447 dptr = datad + i * wpld;
1448 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1449 *dptr = (*(sptr + wpls4)) |
1457 ferode_2_15(l_uint32 *datad,
1466 l_uint32 *sptr, *dptr;
1470 pwpls = (l_uint32)(w + 31) / 32;
1472 for (i = 0; i < h; i++) {
1473 sptr = datas + i * wpls;
1474 dptr = datad + i * wpld;
1475 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1476 *dptr = (*(sptr - wpls4)) &
1484 fdilate_2_16(l_uint32 *datad,
1493 l_uint32 *sptr, *dptr;
1495 pwpls = (l_uint32)(w + 31) / 32;
1497 for (i = 0; i < h; i++) {
1498 sptr = datas + i * wpls;
1499 dptr = datad + i * wpld;
1500 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1501 *dptr = ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
1502 ((*(sptr) >> 3) | (*(sptr - 1) << 29));
1508 ferode_2_16(l_uint32 *datad,
1517 l_uint32 *sptr, *dptr;
1519 pwpls = (l_uint32)(w + 31) / 32;
1521 for (i = 0; i < h; i++) {
1522 sptr = datas + i * wpls;
1523 dptr = datad + i * wpld;
1524 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1525 *dptr = ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
1526 ((*(sptr) << 3) | (*(sptr + 1) >> 29));
1532 fdilate_2_17(l_uint32 *datad,
1541 l_uint32 *sptr, *dptr;
1547 pwpls = (l_uint32)(w + 31) / 32;
1549 for (i = 0; i < h; i++) {
1550 sptr = datas + i * wpls;
1551 dptr = datad + i * wpld;
1552 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1553 *dptr = (*(sptr + wpls4)) |
1560 ferode_2_17(l_uint32 *datad,
1569 l_uint32 *sptr, *dptr;
1575 pwpls = (l_uint32)(w + 31) / 32;
1577 for (i = 0; i < h; i++) {
1578 sptr = datas + i * wpls;
1579 dptr = datad + i * wpld;
1580 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1581 *dptr = (*(sptr - wpls4)) &
1588 fdilate_2_18(l_uint32 *datad,
1597 l_uint32 *sptr, *dptr;
1599 pwpls = (l_uint32)(w + 31) / 32;
1601 for (i = 0; i < h; i++) {
1602 sptr = datas + i * wpls;
1603 dptr = datad + i * wpld;
1604 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1605 *dptr = ((*(sptr) << 5) | (*(sptr + 1) >> 27)) |
1607 ((*(sptr) >> 5) | (*(sptr - 1) << 27));
1613 ferode_2_18(l_uint32 *datad,
1622 l_uint32 *sptr, *dptr;
1624 pwpls = (l_uint32)(w + 31) / 32;
1626 for (i = 0; i < h; i++) {
1627 sptr = datas + i * wpls;
1628 dptr = datad + i * wpld;
1629 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1630 *dptr = ((*(sptr) >> 5) | (*(sptr - 1) << 27)) &
1632 ((*(sptr) << 5) | (*(sptr + 1) >> 27));
1638 fdilate_2_19(l_uint32 *datad,
1647 l_uint32 *sptr, *dptr;
1651 pwpls = (l_uint32)(w + 31) / 32;
1653 for (i = 0; i < h; i++) {
1654 sptr = datas + i * wpls;
1655 dptr = datad + i * wpld;
1656 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1657 *dptr = (*(sptr + wpls5)) |
1665 ferode_2_19(l_uint32 *datad,
1674 l_uint32 *sptr, *dptr;
1678 pwpls = (l_uint32)(w + 31) / 32;
1680 for (i = 0; i < h; i++) {
1681 sptr = datas + i * wpls;
1682 dptr = datad + i * wpld;
1683 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1684 *dptr = (*(sptr - wpls5)) &
1692 fdilate_2_20(l_uint32 *datad,
1701 l_uint32 *sptr, *dptr;
1703 pwpls = (l_uint32)(w + 31) / 32;
1705 for (i = 0; i < h; i++) {
1706 sptr = datas + i * wpls;
1707 dptr = datad + i * wpld;
1708 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1709 *dptr = ((*(sptr) << 6) | (*(sptr + 1) >> 26)) |
1710 ((*(sptr) << 2) | (*(sptr + 1) >> 30)) |
1711 ((*(sptr) >> 2) | (*(sptr - 1) << 30)) |
1712 ((*(sptr) >> 6) | (*(sptr - 1) << 26));
1718 ferode_2_20(l_uint32 *datad,
1727 l_uint32 *sptr, *dptr;
1729 pwpls = (l_uint32)(w + 31) / 32;
1731 for (i = 0; i < h; i++) {
1732 sptr = datas + i * wpls;
1733 dptr = datad + i * wpld;
1734 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1735 *dptr = ((*(sptr) >> 6) | (*(sptr - 1) << 26)) &
1736 ((*(sptr) >> 2) | (*(sptr - 1) << 30)) &
1737 ((*(sptr) << 2) | (*(sptr + 1) >> 30)) &
1738 ((*(sptr) << 6) | (*(sptr + 1) >> 26));
1744 fdilate_2_21(l_uint32 *datad,
1753 l_uint32 *sptr, *dptr;
1759 pwpls = (l_uint32)(w + 31) / 32;
1761 for (i = 0; i < h; i++) {
1762 sptr = datas + i * wpls;
1763 dptr = datad + i * wpld;
1764 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1765 *dptr = (*(sptr + wpls6)) |
1774 ferode_2_21(l_uint32 *datad,
1783 l_uint32 *sptr, *dptr;
1789 pwpls = (l_uint32)(w + 31) / 32;
1791 for (i = 0; i < h; i++) {
1792 sptr = datas + i * wpls;
1793 dptr = datad + i * wpld;
1794 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1795 *dptr = (*(sptr - wpls6)) &
1804 fdilate_2_22(l_uint32 *datad,
1813 l_uint32 *sptr, *dptr;
1815 pwpls = (l_uint32)(w + 31) / 32;
1817 for (i = 0; i < h; i++) {
1818 sptr = datas + i * wpls;
1819 dptr = datad + i * wpld;
1820 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1821 *dptr = ((*(sptr) << 6) | (*(sptr + 1) >> 26)) |
1823 ((*(sptr) >> 6) | (*(sptr - 1) << 26));
1829 ferode_2_22(l_uint32 *datad,
1838 l_uint32 *sptr, *dptr;
1840 pwpls = (l_uint32)(w + 31) / 32;
1842 for (i = 0; i < h; i++) {
1843 sptr = datas + i * wpls;
1844 dptr = datad + i * wpld;
1845 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1846 *dptr = ((*(sptr) >> 6) | (*(sptr - 1) << 26)) &
1848 ((*(sptr) << 6) | (*(sptr + 1) >> 26));
1854 fdilate_2_23(l_uint32 *datad,
1863 l_uint32 *sptr, *dptr;
1867 pwpls = (l_uint32)(w + 31) / 32;
1869 for (i = 0; i < h; i++) {
1870 sptr = datas + i * wpls;
1871 dptr = datad + i * wpld;
1872 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1873 *dptr = (*(sptr + wpls6)) |
1881 ferode_2_23(l_uint32 *datad,
1890 l_uint32 *sptr, *dptr;
1894 pwpls = (l_uint32)(w + 31) / 32;
1896 for (i = 0; i < h; i++) {
1897 sptr = datas + i * wpls;
1898 dptr = datad + i * wpld;
1899 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1900 *dptr = (*(sptr - wpls6)) &
1908 fdilate_2_24(l_uint32 *datad,
1917 l_uint32 *sptr, *dptr;
1919 pwpls = (l_uint32)(w + 31) / 32;
1921 for (i = 0; i < h; i++) {
1922 sptr = datas + i * wpls;
1923 dptr = datad + i * wpld;
1924 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1925 *dptr = ((*(sptr) << 8) | (*(sptr + 1) >> 24)) |
1926 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) |
1927 ((*(sptr) >> 2) | (*(sptr - 1) << 30)) |
1928 ((*(sptr) >> 7) | (*(sptr - 1) << 25));
1934 ferode_2_24(l_uint32 *datad,
1943 l_uint32 *sptr, *dptr;
1945 pwpls = (l_uint32)(w + 31) / 32;
1947 for (i = 0; i < h; i++) {
1948 sptr = datas + i * wpls;
1949 dptr = datad + i * wpld;
1950 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1951 *dptr = ((*(sptr) >> 8) | (*(sptr - 1) << 24)) &
1952 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) &
1953 ((*(sptr) << 2) | (*(sptr + 1) >> 30)) &
1954 ((*(sptr) << 7) | (*(sptr + 1) >> 25));
1960 fdilate_2_25(l_uint32 *datad,
1969 l_uint32 *sptr, *dptr;
1979 pwpls = (l_uint32)(w + 31) / 32;
1981 for (i = 0; i < h; i++) {
1982 sptr = datas + i * wpls;
1983 dptr = datad + i * wpld;
1984 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
1985 *dptr = (*(sptr + wpls8)) |
1994 ferode_2_25(l_uint32 *datad,
2003 l_uint32 *sptr, *dptr;
2013 pwpls = (l_uint32)(w + 31) / 32;
2015 for (i = 0; i < h; i++) {
2016 sptr = datas + i * wpls;
2017 dptr = datad + i * wpld;
2018 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2019 *dptr = (*(sptr - wpls8)) &
2028 fdilate_2_26(l_uint32 *datad,
2037 l_uint32 *sptr, *dptr;
2039 pwpls = (l_uint32)(w + 31) / 32;
2041 for (i = 0; i < h; i++) {
2042 sptr = datas + i * wpls;
2043 dptr = datad + i * wpld;
2044 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2045 *dptr = ((*(sptr) << 7) | (*(sptr + 1) >> 25)) |
2047 ((*(sptr) >> 7) | (*(sptr - 1) << 25));
2053 ferode_2_26(l_uint32 *datad,
2062 l_uint32 *sptr, *dptr;
2064 pwpls = (l_uint32)(w + 31) / 32;
2066 for (i = 0; i < h; i++) {
2067 sptr = datas + i * wpls;
2068 dptr = datad + i * wpld;
2069 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2070 *dptr = ((*(sptr) >> 7) | (*(sptr - 1) << 25)) &
2072 ((*(sptr) << 7) | (*(sptr + 1) >> 25));
2078 fdilate_2_27(l_uint32 *datad,
2087 l_uint32 *sptr, *dptr;
2091 pwpls = (l_uint32)(w + 31) / 32;
2093 for (i = 0; i < h; i++) {
2094 sptr = datas + i * wpls;
2095 dptr = datad + i * wpld;
2096 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2097 *dptr = (*(sptr + wpls7)) |
2105 ferode_2_27(l_uint32 *datad,
2114 l_uint32 *sptr, *dptr;
2118 pwpls = (l_uint32)(w + 31) / 32;
2120 for (i = 0; i < h; i++) {
2121 sptr = datas + i * wpls;
2122 dptr = datad + i * wpld;
2123 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2124 *dptr = (*(sptr - wpls7)) &
2132 fdilate_2_28(l_uint32 *datad,
2141 l_uint32 *sptr, *dptr;
2143 pwpls = (l_uint32)(w + 31) / 32;
2145 for (i = 0; i < h; i++) {
2146 sptr = datas + i * wpls;
2147 dptr = datad + i * wpld;
2148 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2149 *dptr = ((*(sptr) << 6) | (*(sptr + 1) >> 26)) |
2150 ((*(sptr) >> 5) | (*(sptr - 1) << 27));
2156 ferode_2_28(l_uint32 *datad,
2165 l_uint32 *sptr, *dptr;
2167 pwpls = (l_uint32)(w + 31) / 32;
2169 for (i = 0; i < h; i++) {
2170 sptr = datas + i * wpls;
2171 dptr = datad + i * wpld;
2172 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2173 *dptr = ((*(sptr) >> 6) | (*(sptr - 1) << 26)) &
2174 ((*(sptr) << 5) | (*(sptr + 1) >> 27));
2180 fdilate_2_29(l_uint32 *datad,
2189 l_uint32 *sptr, *dptr;
2195 pwpls = (l_uint32)(w + 31) / 32;
2197 for (i = 0; i < h; i++) {
2198 sptr = datas + i * wpls;
2199 dptr = datad + i * wpld;
2200 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2201 *dptr = (*(sptr + wpls6)) |
2208 ferode_2_29(l_uint32 *datad,
2217 l_uint32 *sptr, *dptr;
2223 pwpls = (l_uint32)(w + 31) / 32;
2225 for (i = 0; i < h; i++) {
2226 sptr = datas + i * wpls;
2227 dptr = datad + i * wpld;
2228 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2229 *dptr = (*(sptr - wpls6)) &
2236 fdilate_2_30(l_uint32 *datad,
2245 l_uint32 *sptr, *dptr;
2247 pwpls = (l_uint32)(w + 31) / 32;
2249 for (i = 0; i < h; i++) {
2250 sptr = datas + i * wpls;
2251 dptr = datad + i * wpld;
2252 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2253 *dptr = ((*(sptr) << 9) | (*(sptr + 1) >> 23)) |
2254 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) |
2255 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) |
2256 ((*(sptr) >> 9) | (*(sptr - 1) << 23));
2262 ferode_2_30(l_uint32 *datad,
2271 l_uint32 *sptr, *dptr;
2273 pwpls = (l_uint32)(w + 31) / 32;
2275 for (i = 0; i < h; i++) {
2276 sptr = datas + i * wpls;
2277 dptr = datad + i * wpld;
2278 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2279 *dptr = ((*(sptr) >> 9) | (*(sptr - 1) << 23)) &
2280 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) &
2281 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) &
2282 ((*(sptr) << 9) | (*(sptr + 1) >> 23));
2288 fdilate_2_31(l_uint32 *datad,
2297 l_uint32 *sptr, *dptr;
2303 pwpls = (l_uint32)(w + 31) / 32;
2305 for (i = 0; i < h; i++) {
2306 sptr = datas + i * wpls;
2307 dptr = datad + i * wpld;
2308 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2309 *dptr = (*(sptr + wpls9)) |
2318 ferode_2_31(l_uint32 *datad,
2327 l_uint32 *sptr, *dptr;
2333 pwpls = (l_uint32)(w + 31) / 32;
2335 for (i = 0; i < h; i++) {
2336 sptr = datas + i * wpls;
2337 dptr = datad + i * wpld;
2338 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2339 *dptr = (*(sptr - wpls9)) &
2348 fdilate_2_32(l_uint32 *datad,
2357 l_uint32 *sptr, *dptr;
2359 pwpls = (l_uint32)(w + 31) / 32;
2361 for (i = 0; i < h; i++) {
2362 sptr = datas + i * wpls;
2363 dptr = datad + i * wpld;
2364 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2365 *dptr = ((*(sptr) << 10) | (*(sptr + 1) >> 22)) |
2366 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) |
2368 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) |
2369 ((*(sptr) >> 10) | (*(sptr - 1) << 22));
2375 ferode_2_32(l_uint32 *datad,
2384 l_uint32 *sptr, *dptr;
2386 pwpls = (l_uint32)(w + 31) / 32;
2388 for (i = 0; i < h; i++) {
2389 sptr = datas + i * wpls;
2390 dptr = datad + i * wpld;
2391 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2392 *dptr = ((*(sptr) >> 10) | (*(sptr - 1) << 22)) &
2393 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) &
2395 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) &
2396 ((*(sptr) << 10) | (*(sptr + 1) >> 22));
2402 fdilate_2_33(l_uint32 *datad,
2411 l_uint32 *sptr, *dptr;
2417 pwpls = (l_uint32)(w + 31) / 32;
2419 for (i = 0; i < h; i++) {
2420 sptr = datas + i * wpls;
2421 dptr = datad + i * wpld;
2422 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2423 *dptr = (*(sptr + wpls10)) |
2433 ferode_2_33(l_uint32 *datad,
2442 l_uint32 *sptr, *dptr;
2448 pwpls = (l_uint32)(w + 31) / 32;
2450 for (i = 0; i < h; i++) {
2451 sptr = datas + i * wpls;
2452 dptr = datad + i * wpld;
2453 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2454 *dptr = (*(sptr - wpls10)) &
2464 fdilate_2_34(l_uint32 *datad,
2473 l_uint32 *sptr, *dptr;
2475 pwpls = (l_uint32)(w + 31) / 32;
2477 for (i = 0; i < h; i++) {
2478 sptr = datas + i * wpls;
2479 dptr = datad + i * wpld;
2480 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2481 *dptr = ((*(sptr) << 9) | (*(sptr + 1) >> 23)) |
2483 ((*(sptr) >> 9) | (*(sptr - 1) << 23));
2489 ferode_2_34(l_uint32 *datad,
2498 l_uint32 *sptr, *dptr;
2500 pwpls = (l_uint32)(w + 31) / 32;
2502 for (i = 0; i < h; i++) {
2503 sptr = datas + i * wpls;
2504 dptr = datad + i * wpld;
2505 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2506 *dptr = ((*(sptr) >> 9) | (*(sptr - 1) << 23)) &
2508 ((*(sptr) << 9) | (*(sptr + 1) >> 23));
2514 fdilate_2_35(l_uint32 *datad,
2523 l_uint32 *sptr, *dptr;
2527 pwpls = (l_uint32)(w + 31) / 32;
2529 for (i = 0; i < h; i++) {
2530 sptr = datas + i * wpls;
2531 dptr = datad + i * wpld;
2532 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2533 *dptr = (*(sptr + wpls9)) |
2541 ferode_2_35(l_uint32 *datad,
2550 l_uint32 *sptr, *dptr;
2554 pwpls = (l_uint32)(w + 31) / 32;
2556 for (i = 0; i < h; i++) {
2557 sptr = datas + i * wpls;
2558 dptr = datad + i * wpld;
2559 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2560 *dptr = (*(sptr - wpls9)) &
2568 fdilate_2_36(l_uint32 *datad,
2577 l_uint32 *sptr, *dptr;
2579 pwpls = (l_uint32)(w + 31) / 32;
2581 for (i = 0; i < h; i++) {
2582 sptr = datas + i * wpls;
2583 dptr = datad + i * wpld;
2584 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2585 *dptr = ((*(sptr) << 11) | (*(sptr + 1) >> 21)) |
2586 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
2587 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) |
2588 ((*(sptr) >> 10) | (*(sptr - 1) << 22));
2594 ferode_2_36(l_uint32 *datad,
2603 l_uint32 *sptr, *dptr;
2605 pwpls = (l_uint32)(w + 31) / 32;
2607 for (i = 0; i < h; i++) {
2608 sptr = datas + i * wpls;
2609 dptr = datad + i * wpld;
2610 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2611 *dptr = ((*(sptr) >> 11) | (*(sptr - 1) << 21)) &
2612 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
2613 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) &
2614 ((*(sptr) << 10) | (*(sptr + 1) >> 22));
2620 fdilate_2_37(l_uint32 *datad,
2629 l_uint32 *sptr, *dptr;
2639 pwpls = (l_uint32)(w + 31) / 32;
2641 for (i = 0; i < h; i++) {
2642 sptr = datas + i * wpls;
2643 dptr = datad + i * wpld;
2644 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2645 *dptr = (*(sptr + wpls11)) |
2654 ferode_2_37(l_uint32 *datad,
2663 l_uint32 *sptr, *dptr;
2673 pwpls = (l_uint32)(w + 31) / 32;
2675 for (i = 0; i < h; i++) {
2676 sptr = datas + i * wpls;
2677 dptr = datad + i * wpld;
2678 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2679 *dptr = (*(sptr - wpls11)) &
2688 fdilate_2_38(l_uint32 *datad,
2697 l_uint32 *sptr, *dptr;
2699 pwpls = (l_uint32)(w + 31) / 32;
2701 for (i = 0; i < h; i++) {
2702 sptr = datas + i * wpls;
2703 dptr = datad + i * wpld;
2704 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2705 *dptr = ((*(sptr) << 12) | (*(sptr + 1) >> 20)) |
2706 ((*(sptr) << 6) | (*(sptr + 1) >> 26)) |
2708 ((*(sptr) >> 6) | (*(sptr - 1) << 26)) |
2709 ((*(sptr) >> 12) | (*(sptr - 1) << 20));
2715 ferode_2_38(l_uint32 *datad,
2724 l_uint32 *sptr, *dptr;
2726 pwpls = (l_uint32)(w + 31) / 32;
2728 for (i = 0; i < h; i++) {
2729 sptr = datas + i * wpls;
2730 dptr = datad + i * wpld;
2731 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2732 *dptr = ((*(sptr) >> 12) | (*(sptr - 1) << 20)) &
2733 ((*(sptr) >> 6) | (*(sptr - 1) << 26)) &
2735 ((*(sptr) << 6) | (*(sptr + 1) >> 26)) &
2736 ((*(sptr) << 12) | (*(sptr + 1) >> 20));
2742 fdilate_2_39(l_uint32 *datad,
2751 l_uint32 *sptr, *dptr;
2757 pwpls = (l_uint32)(w + 31) / 32;
2759 for (i = 0; i < h; i++) {
2760 sptr = datas + i * wpls;
2761 dptr = datad + i * wpld;
2762 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2763 *dptr = (*(sptr + wpls12)) |
2773 ferode_2_39(l_uint32 *datad,
2782 l_uint32 *sptr, *dptr;
2788 pwpls = (l_uint32)(w + 31) / 32;
2790 for (i = 0; i < h; i++) {
2791 sptr = datas + i * wpls;
2792 dptr = datad + i * wpld;
2793 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2794 *dptr = (*(sptr - wpls12)) &
2804 fdilate_2_40(l_uint32 *datad,
2813 l_uint32 *sptr, *dptr;
2815 pwpls = (l_uint32)(w + 31) / 32;
2817 for (i = 0; i < h; i++) {
2818 sptr = datas + i * wpls;
2819 dptr = datad + i * wpld;
2820 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2821 *dptr = ((*(sptr) << 12) | (*(sptr + 1) >> 20)) |
2822 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
2823 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) |
2824 ((*(sptr) >> 12) | (*(sptr - 1) << 20));
2830 ferode_2_40(l_uint32 *datad,
2839 l_uint32 *sptr, *dptr;
2841 pwpls = (l_uint32)(w + 31) / 32;
2843 for (i = 0; i < h; i++) {
2844 sptr = datas + i * wpls;
2845 dptr = datad + i * wpld;
2846 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2847 *dptr = ((*(sptr) >> 12) | (*(sptr - 1) << 20)) &
2848 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
2849 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) &
2850 ((*(sptr) << 12) | (*(sptr + 1) >> 20));
2856 fdilate_2_41(l_uint32 *datad,
2865 l_uint32 *sptr, *dptr;
2871 pwpls = (l_uint32)(w + 31) / 32;
2873 for (i = 0; i < h; i++) {
2874 sptr = datas + i * wpls;
2875 dptr = datad + i * wpld;
2876 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2877 *dptr = (*(sptr + wpls12)) |
2886 ferode_2_41(l_uint32 *datad,
2895 l_uint32 *sptr, *dptr;
2901 pwpls = (l_uint32)(w + 31) / 32;
2903 for (i = 0; i < h; i++) {
2904 sptr = datas + i * wpls;
2905 dptr = datad + i * wpld;
2906 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2907 *dptr = (*(sptr - wpls12)) &
2916 fdilate_2_42(l_uint32 *datad,
2925 l_uint32 *sptr, *dptr;
2927 pwpls = (l_uint32)(w + 31) / 32;
2929 for (i = 0; i < h; i++) {
2930 sptr = datas + i * wpls;
2931 dptr = datad + i * wpld;
2932 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2933 *dptr = ((*(sptr) << 11) | (*(sptr + 1) >> 21)) |
2935 ((*(sptr) >> 11) | (*(sptr - 1) << 21));
2941 ferode_2_42(l_uint32 *datad,
2950 l_uint32 *sptr, *dptr;
2952 pwpls = (l_uint32)(w + 31) / 32;
2954 for (i = 0; i < h; i++) {
2955 sptr = datas + i * wpls;
2956 dptr = datad + i * wpld;
2957 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2958 *dptr = ((*(sptr) >> 11) | (*(sptr - 1) << 21)) &
2960 ((*(sptr) << 11) | (*(sptr + 1) >> 21));
2966 fdilate_2_43(l_uint32 *datad,
2975 l_uint32 *sptr, *dptr;
2979 pwpls = (l_uint32)(w + 31) / 32;
2981 for (i = 0; i < h; i++) {
2982 sptr = datas + i * wpls;
2983 dptr = datad + i * wpld;
2984 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
2985 *dptr = (*(sptr + wpls11)) |
2993 ferode_2_43(l_uint32 *datad,
3002 l_uint32 *sptr, *dptr;
3006 pwpls = (l_uint32)(w + 31) / 32;
3008 for (i = 0; i < h; i++) {
3009 sptr = datas + i * wpls;
3010 dptr = datad + i * wpld;
3011 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3012 *dptr = (*(sptr - wpls11)) &
3020 fdilate_2_44(l_uint32 *datad,
3029 l_uint32 *sptr, *dptr;
3031 pwpls = (l_uint32)(w + 31) / 32;
3033 for (i = 0; i < h; i++) {
3034 sptr = datas + i * wpls;
3035 dptr = datad + i * wpld;
3036 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3037 *dptr = ((*(sptr) << 14) | (*(sptr + 1) >> 18)) |
3038 ((*(sptr) << 7) | (*(sptr + 1) >> 25)) |
3040 ((*(sptr) >> 7) | (*(sptr - 1) << 25)) |
3041 ((*(sptr) >> 14) | (*(sptr - 1) << 18));
3047 ferode_2_44(l_uint32 *datad,
3056 l_uint32 *sptr, *dptr;
3058 pwpls = (l_uint32)(w + 31) / 32;
3060 for (i = 0; i < h; i++) {
3061 sptr = datas + i * wpls;
3062 dptr = datad + i * wpld;
3063 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3064 *dptr = ((*(sptr) >> 14) | (*(sptr - 1) << 18)) &
3065 ((*(sptr) >> 7) | (*(sptr - 1) << 25)) &
3067 ((*(sptr) << 7) | (*(sptr + 1) >> 25)) &
3068 ((*(sptr) << 14) | (*(sptr + 1) >> 18));
3074 fdilate_2_45(l_uint32 *datad,
3083 l_uint32 *sptr, *dptr;
3089 pwpls = (l_uint32)(w + 31) / 32;
3091 for (i = 0; i < h; i++) {
3092 sptr = datas + i * wpls;
3093 dptr = datad + i * wpld;
3094 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3095 *dptr = (*(sptr + wpls14)) |
3105 ferode_2_45(l_uint32 *datad,
3114 l_uint32 *sptr, *dptr;
3120 pwpls = (l_uint32)(w + 31) / 32;
3122 for (i = 0; i < h; i++) {
3123 sptr = datas + i * wpls;
3124 dptr = datad + i * wpld;
3125 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3126 *dptr = (*(sptr - wpls14)) &
3136 fdilate_2_46(l_uint32 *datad,
3145 l_uint32 *sptr, *dptr;
3147 pwpls = (l_uint32)(w + 31) / 32;
3149 for (i = 0; i < h; i++) {
3150 sptr = datas + i * wpls;
3151 dptr = datad + i * wpld;
3152 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3153 *dptr = ((*(sptr) << 15) | (*(sptr + 1) >> 17)) |
3154 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) |
3155 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) |
3156 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) |
3157 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) |
3158 ((*(sptr) >> 15) | (*(sptr - 1) << 17));
3164 ferode_2_46(l_uint32 *datad,
3173 l_uint32 *sptr, *dptr;
3175 pwpls = (l_uint32)(w + 31) / 32;
3177 for (i = 0; i < h; i++) {
3178 sptr = datas + i * wpls;
3179 dptr = datad + i * wpld;
3180 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3181 *dptr = ((*(sptr) >> 15) | (*(sptr - 1) << 17)) &
3182 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) &
3183 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) &
3184 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) &
3185 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) &
3186 ((*(sptr) << 15) | (*(sptr + 1) >> 17));
3192 fdilate_2_47(l_uint32 *datad,
3201 l_uint32 *sptr, *dptr;
3209 pwpls = (l_uint32)(w + 31) / 32;
3211 for (i = 0; i < h; i++) {
3212 sptr = datas + i * wpls;
3213 dptr = datad + i * wpld;
3214 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3215 *dptr = (*(sptr + wpls15)) |
3226 ferode_2_47(l_uint32 *datad,
3235 l_uint32 *sptr, *dptr;
3243 pwpls = (l_uint32)(w + 31) / 32;
3245 for (i = 0; i < h; i++) {
3246 sptr = datas + i * wpls;
3247 dptr = datad + i * wpld;
3248 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3249 *dptr = (*(sptr - wpls15)) &
3260 fdilate_2_48(l_uint32 *datad,
3269 l_uint32 *sptr, *dptr;
3271 pwpls = (l_uint32)(w + 31) / 32;
3273 for (i = 0; i < h; i++) {
3274 sptr = datas + i * wpls;
3275 dptr = datad + i * wpld;
3276 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3277 *dptr = ((*(sptr) << 13) | (*(sptr + 1) >> 19)) |
3279 ((*(sptr) >> 13) | (*(sptr - 1) << 19));
3285 ferode_2_48(l_uint32 *datad,
3294 l_uint32 *sptr, *dptr;
3296 pwpls = (l_uint32)(w + 31) / 32;
3298 for (i = 0; i < h; i++) {
3299 sptr = datas + i * wpls;
3300 dptr = datad + i * wpld;
3301 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3302 *dptr = ((*(sptr) >> 13) | (*(sptr - 1) << 19)) &
3304 ((*(sptr) << 13) | (*(sptr + 1) >> 19));
3310 fdilate_2_49(l_uint32 *datad,
3319 l_uint32 *sptr, *dptr;
3323 pwpls = (l_uint32)(w + 31) / 32;
3325 for (i = 0; i < h; i++) {
3326 sptr = datas + i * wpls;
3327 dptr = datad + i * wpld;
3328 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3329 *dptr = (*(sptr + wpls13)) |
3337 ferode_2_49(l_uint32 *datad,
3346 l_uint32 *sptr, *dptr;
3350 pwpls = (l_uint32)(w + 31) / 32;
3352 for (i = 0; i < h; i++) {
3353 sptr = datas + i * wpls;
3354 dptr = datad + i * wpld;
3355 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3356 *dptr = (*(sptr - wpls13)) &
3364 fdilate_2_50(l_uint32 *datad,
3373 l_uint32 *sptr, *dptr;
3375 pwpls = (l_uint32)(w + 31) / 32;
3377 for (i = 0; i < h; i++) {
3378 sptr = datas + i * wpls;
3379 dptr = datad + i * wpld;
3380 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3381 *dptr = ((*(sptr) << 16) | (*(sptr + 1) >> 16)) |
3382 ((*(sptr) << 8) | (*(sptr + 1) >> 24)) |
3384 ((*(sptr) >> 8) | (*(sptr - 1) << 24)) |
3385 ((*(sptr) >> 16) | (*(sptr - 1) << 16));
3391 ferode_2_50(l_uint32 *datad,
3400 l_uint32 *sptr, *dptr;
3402 pwpls = (l_uint32)(w + 31) / 32;
3404 for (i = 0; i < h; i++) {
3405 sptr = datas + i * wpls;
3406 dptr = datad + i * wpld;
3407 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3408 *dptr = ((*(sptr) >> 16) | (*(sptr - 1) << 16)) &
3409 ((*(sptr) >> 8) | (*(sptr - 1) << 24)) &
3411 ((*(sptr) << 8) | (*(sptr + 1) >> 24)) &
3412 ((*(sptr) << 16) | (*(sptr + 1) >> 16));
3418 fdilate_2_51(l_uint32 *datad,
3427 l_uint32 *sptr, *dptr;
3433 pwpls = (l_uint32)(w + 31) / 32;
3435 for (i = 0; i < h; i++) {
3436 sptr = datas + i * wpls;
3437 dptr = datad + i * wpld;
3438 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3439 *dptr = (*(sptr + wpls16)) |
3449 ferode_2_51(l_uint32 *datad,
3458 l_uint32 *sptr, *dptr;
3464 pwpls = (l_uint32)(w + 31) / 32;
3466 for (i = 0; i < h; i++) {
3467 sptr = datas + i * wpls;
3468 dptr = datad + i * wpld;
3469 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3470 *dptr = (*(sptr - wpls16)) &
3480 fdilate_2_52(l_uint32 *datad,
3489 l_uint32 *sptr, *dptr;
3491 pwpls = (l_uint32)(w + 31) / 32;
3493 for (i = 0; i < h; i++) {
3494 sptr = datas + i * wpls;
3495 dptr = datad + i * wpld;
3496 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3497 *dptr = ((*(sptr) << 18) | (*(sptr + 1) >> 14)) |
3498 ((*(sptr) << 11) | (*(sptr + 1) >> 21)) |
3499 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
3500 ((*(sptr) >> 3) | (*(sptr - 1) << 29)) |
3501 ((*(sptr) >> 10) | (*(sptr - 1) << 22)) |
3502 ((*(sptr) >> 17) | (*(sptr - 1) << 15));
3508 ferode_2_52(l_uint32 *datad,
3517 l_uint32 *sptr, *dptr;
3519 pwpls = (l_uint32)(w + 31) / 32;
3521 for (i = 0; i < h; i++) {
3522 sptr = datas + i * wpls;
3523 dptr = datad + i * wpld;
3524 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3525 *dptr = ((*(sptr) >> 18) | (*(sptr - 1) << 14)) &
3526 ((*(sptr) >> 11) | (*(sptr - 1) << 21)) &
3527 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
3528 ((*(sptr) << 3) | (*(sptr + 1) >> 29)) &
3529 ((*(sptr) << 10) | (*(sptr + 1) >> 22)) &
3530 ((*(sptr) << 17) | (*(sptr + 1) >> 15));
3536 fdilate_2_53(l_uint32 *datad,
3545 l_uint32 *sptr, *dptr;
3559 pwpls = (l_uint32)(w + 31) / 32;
3561 for (i = 0; i < h; i++) {
3562 sptr = datas + i * wpls;
3563 dptr = datad + i * wpld;
3564 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3565 *dptr = (*(sptr + wpls18)) |
3566 (*(sptr + wpls11)) |
3569 (*(sptr - wpls10)) |
3576 ferode_2_53(l_uint32 *datad,
3585 l_uint32 *sptr, *dptr;
3599 pwpls = (l_uint32)(w + 31) / 32;
3601 for (i = 0; i < h; i++) {
3602 sptr = datas + i * wpls;
3603 dptr = datad + i * wpld;
3604 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3605 *dptr = (*(sptr - wpls18)) &
3606 (*(sptr - wpls11)) &
3609 (*(sptr + wpls10)) &
3616 fdilate_2_54(l_uint32 *datad,
3625 l_uint32 *sptr, *dptr;
3627 pwpls = (l_uint32)(w + 31) / 32;
3629 for (i = 0; i < h; i++) {
3630 sptr = datas + i * wpls;
3631 dptr = datad + i * wpld;
3632 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3633 *dptr = ((*(sptr) << 17) | (*(sptr + 1) >> 15)) |
3634 ((*(sptr) << 6) | (*(sptr + 1) >> 26)) |
3635 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) |
3636 ((*(sptr) >> 16) | (*(sptr - 1) << 16));
3642 ferode_2_54(l_uint32 *datad,
3651 l_uint32 *sptr, *dptr;
3653 pwpls = (l_uint32)(w + 31) / 32;
3655 for (i = 0; i < h; i++) {
3656 sptr = datas + i * wpls;
3657 dptr = datad + i * wpld;
3658 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3659 *dptr = ((*(sptr) >> 17) | (*(sptr - 1) << 15)) &
3660 ((*(sptr) >> 6) | (*(sptr - 1) << 26)) &
3661 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) &
3662 ((*(sptr) << 16) | (*(sptr + 1) >> 16));
3668 fdilate_2_55(l_uint32 *datad,
3677 l_uint32 *sptr, *dptr;
3687 pwpls = (l_uint32)(w + 31) / 32;
3689 for (i = 0; i < h; i++) {
3690 sptr = datas + i * wpls;
3691 dptr = datad + i * wpld;
3692 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3693 *dptr = (*(sptr + wpls17)) |
3702 ferode_2_55(l_uint32 *datad,
3711 l_uint32 *sptr, *dptr;
3721 pwpls = (l_uint32)(w + 31) / 32;
3723 for (i = 0; i < h; i++) {
3724 sptr = datas + i * wpls;
3725 dptr = datad + i * wpld;
3726 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3727 *dptr = (*(sptr - wpls17)) &
3736 fdilate_2_56(l_uint32 *datad,
3745 l_uint32 *sptr, *dptr;
3747 pwpls = (l_uint32)(w + 31) / 32;
3749 for (i = 0; i < h; i++) {
3750 sptr = datas + i * wpls;
3751 dptr = datad + i * wpld;
3752 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3753 *dptr = ((*(sptr) << 18) | (*(sptr + 1) >> 14)) |
3754 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) |
3756 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) |
3757 ((*(sptr) >> 18) | (*(sptr - 1) << 14));
3763 ferode_2_56(l_uint32 *datad,
3772 l_uint32 *sptr, *dptr;
3774 pwpls = (l_uint32)(w + 31) / 32;
3776 for (i = 0; i < h; i++) {
3777 sptr = datas + i * wpls;
3778 dptr = datad + i * wpld;
3779 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3780 *dptr = ((*(sptr) >> 18) | (*(sptr - 1) << 14)) &
3781 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) &
3783 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) &
3784 ((*(sptr) << 18) | (*(sptr + 1) >> 14));
3790 fdilate_2_57(l_uint32 *datad,
3799 l_uint32 *sptr, *dptr;
3805 pwpls = (l_uint32)(w + 31) / 32;
3807 for (i = 0; i < h; i++) {
3808 sptr = datas + i * wpls;
3809 dptr = datad + i * wpld;
3810 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3811 *dptr = (*(sptr + wpls18)) |
3821 ferode_2_57(l_uint32 *datad,
3830 l_uint32 *sptr, *dptr;
3836 pwpls = (l_uint32)(w + 31) / 32;
3838 for (i = 0; i < h; i++) {
3839 sptr = datas + i * wpls;
3840 dptr = datad + i * wpld;
3841 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3842 *dptr = (*(sptr - wpls18)) &
3852 fdilate_2_58(l_uint32 *datad,
3861 l_uint32 *sptr, *dptr;
3863 pwpls = (l_uint32)(w + 31) / 32;
3865 for (i = 0; i < h; i++) {
3866 sptr = datas + i * wpls;
3867 dptr = datad + i * wpld;
3868 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3869 *dptr = ((*(sptr) << 20) | (*(sptr + 1) >> 12)) |
3870 ((*(sptr) << 12) | (*(sptr + 1) >> 20)) |
3871 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) |
3872 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) |
3873 ((*(sptr) >> 12) | (*(sptr - 1) << 20)) |
3874 ((*(sptr) >> 20) | (*(sptr - 1) << 12));
3880 ferode_2_58(l_uint32 *datad,
3889 l_uint32 *sptr, *dptr;
3891 pwpls = (l_uint32)(w + 31) / 32;
3893 for (i = 0; i < h; i++) {
3894 sptr = datas + i * wpls;
3895 dptr = datad + i * wpld;
3896 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3897 *dptr = ((*(sptr) >> 20) | (*(sptr - 1) << 12)) &
3898 ((*(sptr) >> 12) | (*(sptr - 1) << 20)) &
3899 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) &
3900 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) &
3901 ((*(sptr) << 12) | (*(sptr + 1) >> 20)) &
3902 ((*(sptr) << 20) | (*(sptr + 1) >> 12));
3908 fdilate_2_59(l_uint32 *datad,
3917 l_uint32 *sptr, *dptr;
3925 pwpls = (l_uint32)(w + 31) / 32;
3927 for (i = 0; i < h; i++) {
3928 sptr = datas + i * wpls;
3929 dptr = datad + i * wpld;
3930 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3931 *dptr = (*(sptr + wpls20)) |
3932 (*(sptr + wpls12)) |
3935 (*(sptr - wpls12)) |
3942 ferode_2_59(l_uint32 *datad,
3951 l_uint32 *sptr, *dptr;
3959 pwpls = (l_uint32)(w + 31) / 32;
3961 for (i = 0; i < h; i++) {
3962 sptr = datas + i * wpls;
3963 dptr = datad + i * wpld;
3964 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3965 *dptr = (*(sptr - wpls20)) &
3966 (*(sptr - wpls12)) &
3969 (*(sptr + wpls12)) &
3976 fdilate_2_60(l_uint32 *datad,
3985 l_uint32 *sptr, *dptr;
3987 pwpls = (l_uint32)(w + 31) / 32;
3989 for (i = 0; i < h; i++) {
3990 sptr = datas + i * wpls;
3991 dptr = datad + i * wpld;
3992 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
3993 *dptr = ((*(sptr) << 21) | (*(sptr + 1) >> 11)) |
3994 ((*(sptr) << 14) | (*(sptr + 1) >> 18)) |
3995 ((*(sptr) << 7) | (*(sptr + 1) >> 25)) |
3997 ((*(sptr) >> 7) | (*(sptr - 1) << 25)) |
3998 ((*(sptr) >> 14) | (*(sptr - 1) << 18)) |
3999 ((*(sptr) >> 21) | (*(sptr - 1) << 11));
4005 ferode_2_60(l_uint32 *datad,
4014 l_uint32 *sptr, *dptr;
4016 pwpls = (l_uint32)(w + 31) / 32;
4018 for (i = 0; i < h; i++) {
4019 sptr = datas + i * wpls;
4020 dptr = datad + i * wpld;
4021 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4022 *dptr = ((*(sptr) >> 21) | (*(sptr - 1) << 11)) &
4023 ((*(sptr) >> 14) | (*(sptr - 1) << 18)) &
4024 ((*(sptr) >> 7) | (*(sptr - 1) << 25)) &
4026 ((*(sptr) << 7) | (*(sptr + 1) >> 25)) &
4027 ((*(sptr) << 14) | (*(sptr + 1) >> 18)) &
4028 ((*(sptr) << 21) | (*(sptr + 1) >> 11));
4034 fdilate_2_61(l_uint32 *datad,
4043 l_uint32 *sptr, *dptr;
4051 pwpls = (l_uint32)(w + 31) / 32;
4053 for (i = 0; i < h; i++) {
4054 sptr = datas + i * wpls;
4055 dptr = datad + i * wpld;
4056 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4057 *dptr = (*(sptr + wpls21)) |
4058 (*(sptr + wpls14)) |
4062 (*(sptr - wpls14)) |
4069 ferode_2_61(l_uint32 *datad,
4078 l_uint32 *sptr, *dptr;
4086 pwpls = (l_uint32)(w + 31) / 32;
4088 for (i = 0; i < h; i++) {
4089 sptr = datas + i * wpls;
4090 dptr = datad + i * wpld;
4091 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4092 *dptr = (*(sptr - wpls21)) &
4093 (*(sptr - wpls14)) &
4097 (*(sptr + wpls14)) &
4104 fdilate_2_62(l_uint32 *datad,
4113 l_uint32 *sptr, *dptr;
4115 pwpls = (l_uint32)(w + 31) / 32;
4117 for (i = 0; i < h; i++) {
4118 sptr = datas + i * wpls;
4119 dptr = datad + i * wpld;
4120 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4121 *dptr = ((*(sptr) << 20) | (*(sptr + 1) >> 12)) |
4122 ((*(sptr) << 10) | (*(sptr + 1) >> 22)) |
4124 ((*(sptr) >> 10) | (*(sptr - 1) << 22)) |
4125 ((*(sptr) >> 20) | (*(sptr - 1) << 12));
4131 ferode_2_62(l_uint32 *datad,
4140 l_uint32 *sptr, *dptr;
4142 pwpls = (l_uint32)(w + 31) / 32;
4144 for (i = 0; i < h; i++) {
4145 sptr = datas + i * wpls;
4146 dptr = datad + i * wpld;
4147 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4148 *dptr = ((*(sptr) >> 20) | (*(sptr - 1) << 12)) &
4149 ((*(sptr) >> 10) | (*(sptr - 1) << 22)) &
4151 ((*(sptr) << 10) | (*(sptr + 1) >> 22)) &
4152 ((*(sptr) << 20) | (*(sptr + 1) >> 12));
4158 fdilate_2_63(l_uint32 *datad,
4167 l_uint32 *sptr, *dptr;
4173 pwpls = (l_uint32)(w + 31) / 32;
4175 for (i = 0; i < h; i++) {
4176 sptr = datas + i * wpls;
4177 dptr = datad + i * wpld;
4178 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4179 *dptr = (*(sptr + wpls20)) |
4180 (*(sptr + wpls10)) |
4182 (*(sptr - wpls10)) |
4189 ferode_2_63(l_uint32 *datad,
4198 l_uint32 *sptr, *dptr;
4204 pwpls = (l_uint32)(w + 31) / 32;
4206 for (i = 0; i < h; i++) {
4207 sptr = datas + i * wpls;
4208 dptr = datad + i * wpld;
4209 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4210 *dptr = (*(sptr - wpls20)) &
4211 (*(sptr - wpls10)) &
4213 (*(sptr + wpls10)) &
4220 fdilate_2_64(l_uint32 *datad,
4229 l_uint32 *sptr, *dptr;
4231 pwpls = (l_uint32)(w + 31) / 32;
4233 for (i = 0; i < h; i++) {
4234 sptr = datas + i * wpls;
4235 dptr = datad + i * wpld;
4236 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4237 *dptr = ((*(sptr) << 20) | (*(sptr + 1) >> 12)) |
4238 ((*(sptr) << 7) | (*(sptr + 1) >> 25)) |
4239 ((*(sptr) >> 6) | (*(sptr - 1) << 26)) |
4240 ((*(sptr) >> 19) | (*(sptr - 1) << 13));
4246 ferode_2_64(l_uint32 *datad,
4255 l_uint32 *sptr, *dptr;
4257 pwpls = (l_uint32)(w + 31) / 32;
4259 for (i = 0; i < h; i++) {
4260 sptr = datas + i * wpls;
4261 dptr = datad + i * wpld;
4262 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4263 *dptr = ((*(sptr) >> 20) | (*(sptr - 1) << 12)) &
4264 ((*(sptr) >> 7) | (*(sptr - 1) << 25)) &
4265 ((*(sptr) << 6) | (*(sptr + 1) >> 26)) &
4266 ((*(sptr) << 19) | (*(sptr + 1) >> 13));
4272 fdilate_2_65(l_uint32 *datad,
4281 l_uint32 *sptr, *dptr;
4291 pwpls = (l_uint32)(w + 31) / 32;
4293 for (i = 0; i < h; i++) {
4294 sptr = datas + i * wpls;
4295 dptr = datad + i * wpld;
4296 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4297 *dptr = (*(sptr + wpls20)) |
4306 ferode_2_65(l_uint32 *datad,
4315 l_uint32 *sptr, *dptr;
4325 pwpls = (l_uint32)(w + 31) / 32;
4327 for (i = 0; i < h; i++) {
4328 sptr = datas + i * wpls;
4329 dptr = datad + i * wpld;
4330 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4331 *dptr = (*(sptr - wpls20)) &
4340 fdilate_2_66(l_uint32 *datad,
4349 l_uint32 *sptr, *dptr;
4351 pwpls = (l_uint32)(w + 31) / 32;
4353 for (i = 0; i < h; i++) {
4354 sptr = datas + i * wpls;
4355 dptr = datad + i * wpld;
4356 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4357 *dptr = ((*(sptr) << 23) | (*(sptr + 1) >> 9)) |
4358 ((*(sptr) << 14) | (*(sptr + 1) >> 18)) |
4359 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) |
4360 ((*(sptr) >> 4) | (*(sptr - 1) << 28)) |
4361 ((*(sptr) >> 13) | (*(sptr - 1) << 19)) |
4362 ((*(sptr) >> 22) | (*(sptr - 1) << 10));
4368 ferode_2_66(l_uint32 *datad,
4377 l_uint32 *sptr, *dptr;
4379 pwpls = (l_uint32)(w + 31) / 32;
4381 for (i = 0; i < h; i++) {
4382 sptr = datas + i * wpls;
4383 dptr = datad + i * wpld;
4384 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4385 *dptr = ((*(sptr) >> 23) | (*(sptr - 1) << 9)) &
4386 ((*(sptr) >> 14) | (*(sptr - 1) << 18)) &
4387 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) &
4388 ((*(sptr) << 4) | (*(sptr + 1) >> 28)) &
4389 ((*(sptr) << 13) | (*(sptr + 1) >> 19)) &
4390 ((*(sptr) << 22) | (*(sptr + 1) >> 10));
4396 fdilate_2_67(l_uint32 *datad,
4405 l_uint32 *sptr, *dptr;
4419 pwpls = (l_uint32)(w + 31) / 32;
4421 for (i = 0; i < h; i++) {
4422 sptr = datas + i * wpls;
4423 dptr = datad + i * wpld;
4424 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4425 *dptr = (*(sptr + wpls23)) |
4426 (*(sptr + wpls14)) |
4429 (*(sptr - wpls13)) |
4436 ferode_2_67(l_uint32 *datad,
4445 l_uint32 *sptr, *dptr;
4459 pwpls = (l_uint32)(w + 31) / 32;
4461 for (i = 0; i < h; i++) {
4462 sptr = datas + i * wpls;
4463 dptr = datad + i * wpld;
4464 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4465 *dptr = (*(sptr - wpls23)) &
4466 (*(sptr - wpls14)) &
4469 (*(sptr + wpls13)) &
4476 fdilate_2_68(l_uint32 *datad,
4485 l_uint32 *sptr, *dptr;
4487 pwpls = (l_uint32)(w + 31) / 32;
4489 for (i = 0; i < h; i++) {
4490 sptr = datas + i * wpls;
4491 dptr = datad + i * wpld;
4492 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4493 *dptr = ((*(sptr) << 22) | (*(sptr + 1) >> 10)) |
4494 ((*(sptr) << 11) | (*(sptr + 1) >> 21)) |
4496 ((*(sptr) >> 11) | (*(sptr - 1) << 21)) |
4497 ((*(sptr) >> 22) | (*(sptr - 1) << 10));
4503 ferode_2_68(l_uint32 *datad,
4512 l_uint32 *sptr, *dptr;
4514 pwpls = (l_uint32)(w + 31) / 32;
4516 for (i = 0; i < h; i++) {
4517 sptr = datas + i * wpls;
4518 dptr = datad + i * wpld;
4519 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4520 *dptr = ((*(sptr) >> 22) | (*(sptr - 1) << 10)) &
4521 ((*(sptr) >> 11) | (*(sptr - 1) << 21)) &
4523 ((*(sptr) << 11) | (*(sptr + 1) >> 21)) &
4524 ((*(sptr) << 22) | (*(sptr + 1) >> 10));
4530 fdilate_2_69(l_uint32 *datad,
4539 l_uint32 *sptr, *dptr;
4545 pwpls = (l_uint32)(w + 31) / 32;
4547 for (i = 0; i < h; i++) {
4548 sptr = datas + i * wpls;
4549 dptr = datad + i * wpld;
4550 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4551 *dptr = (*(sptr + wpls22)) |
4552 (*(sptr + wpls11)) |
4554 (*(sptr - wpls11)) |
4561 ferode_2_69(l_uint32 *datad,
4570 l_uint32 *sptr, *dptr;
4576 pwpls = (l_uint32)(w + 31) / 32;
4578 for (i = 0; i < h; i++) {
4579 sptr = datas + i * wpls;
4580 dptr = datad + i * wpld;
4581 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4582 *dptr = (*(sptr - wpls22)) &
4583 (*(sptr - wpls11)) &
4585 (*(sptr + wpls11)) &
4592 fdilate_2_70(l_uint32 *datad,
4601 l_uint32 *sptr, *dptr;
4603 pwpls = (l_uint32)(w + 31) / 32;
4605 for (i = 0; i < h; i++) {
4606 sptr = datas + i * wpls;
4607 dptr = datad + i * wpld;
4608 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4609 *dptr = ((*(sptr) << 24) | (*(sptr + 1) >> 8)) |
4610 ((*(sptr) << 16) | (*(sptr + 1) >> 16)) |
4611 ((*(sptr) << 8) | (*(sptr + 1) >> 24)) |
4613 ((*(sptr) >> 8) | (*(sptr - 1) << 24)) |
4614 ((*(sptr) >> 16) | (*(sptr - 1) << 16)) |
4615 ((*(sptr) >> 24) | (*(sptr - 1) << 8));
4621 ferode_2_70(l_uint32 *datad,
4630 l_uint32 *sptr, *dptr;
4632 pwpls = (l_uint32)(w + 31) / 32;
4634 for (i = 0; i < h; i++) {
4635 sptr = datas + i * wpls;
4636 dptr = datad + i * wpld;
4637 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4638 *dptr = ((*(sptr) >> 24) | (*(sptr - 1) << 8)) &
4639 ((*(sptr) >> 16) | (*(sptr - 1) << 16)) &
4640 ((*(sptr) >> 8) | (*(sptr - 1) << 24)) &
4642 ((*(sptr) << 8) | (*(sptr + 1) >> 24)) &
4643 ((*(sptr) << 16) | (*(sptr + 1) >> 16)) &
4644 ((*(sptr) << 24) | (*(sptr + 1) >> 8));
4650 fdilate_2_71(l_uint32 *datad,
4659 l_uint32 *sptr, *dptr;
4667 pwpls = (l_uint32)(w + 31) / 32;
4669 for (i = 0; i < h; i++) {
4670 sptr = datas + i * wpls;
4671 dptr = datad + i * wpld;
4672 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4673 *dptr = (*(sptr + wpls24)) |
4674 (*(sptr + wpls16)) |
4678 (*(sptr - wpls16)) |
4685 ferode_2_71(l_uint32 *datad,
4694 l_uint32 *sptr, *dptr;
4702 pwpls = (l_uint32)(w + 31) / 32;
4704 for (i = 0; i < h; i++) {
4705 sptr = datas + i * wpls;
4706 dptr = datad + i * wpld;
4707 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4708 *dptr = (*(sptr - wpls24)) &
4709 (*(sptr - wpls16)) &
4713 (*(sptr + wpls16)) &
4720 fdilate_2_72(l_uint32 *datad,
4729 l_uint32 *sptr, *dptr;
4731 pwpls = (l_uint32)(w + 31) / 32;
4733 for (i = 0; i < h; i++) {
4734 sptr = datas + i * wpls;
4735 dptr = datad + i * wpld;
4736 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4737 *dptr = ((*(sptr) << 25) | (*(sptr + 1) >> 7)) |
4738 ((*(sptr) << 15) | (*(sptr + 1) >> 17)) |
4739 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) |
4740 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) |
4741 ((*(sptr) >> 15) | (*(sptr - 1) << 17)) |
4742 ((*(sptr) >> 25) | (*(sptr - 1) << 7));
4748 ferode_2_72(l_uint32 *datad,
4757 l_uint32 *sptr, *dptr;
4759 pwpls = (l_uint32)(w + 31) / 32;
4761 for (i = 0; i < h; i++) {
4762 sptr = datas + i * wpls;
4763 dptr = datad + i * wpld;
4764 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4765 *dptr = ((*(sptr) >> 25) | (*(sptr - 1) << 7)) &
4766 ((*(sptr) >> 15) | (*(sptr - 1) << 17)) &
4767 ((*(sptr) >> 5) | (*(sptr - 1) << 27)) &
4768 ((*(sptr) << 5) | (*(sptr + 1) >> 27)) &
4769 ((*(sptr) << 15) | (*(sptr + 1) >> 17)) &
4770 ((*(sptr) << 25) | (*(sptr + 1) >> 7));
4776 fdilate_2_73(l_uint32 *datad,
4785 l_uint32 *sptr, *dptr;
4793 pwpls = (l_uint32)(w + 31) / 32;
4795 for (i = 0; i < h; i++) {
4796 sptr = datas + i * wpls;
4797 dptr = datad + i * wpld;
4798 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4799 *dptr = (*(sptr + wpls25)) |
4800 (*(sptr + wpls15)) |
4803 (*(sptr - wpls15)) |
4810 ferode_2_73(l_uint32 *datad,
4819 l_uint32 *sptr, *dptr;
4827 pwpls = (l_uint32)(w + 31) / 32;
4829 for (i = 0; i < h; i++) {
4830 sptr = datas + i * wpls;
4831 dptr = datad + i * wpld;
4832 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4833 *dptr = (*(sptr - wpls25)) &
4834 (*(sptr - wpls15)) &
4837 (*(sptr + wpls15)) &
4844 fdilate_2_74(l_uint32 *datad,
4853 l_uint32 *sptr, *dptr;
4855 pwpls = (l_uint32)(w + 31) / 32;
4857 for (i = 0; i < h; i++) {
4858 sptr = datas + i * wpls;
4859 dptr = datad + i * wpld;
4860 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4861 *dptr = ((*(sptr) << 27) | (*(sptr + 1) >> 5)) |
4862 ((*(sptr) << 18) | (*(sptr + 1) >> 14)) |
4863 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) |
4865 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) |
4866 ((*(sptr) >> 18) | (*(sptr - 1) << 14)) |
4867 ((*(sptr) >> 27) | (*(sptr - 1) << 5));
4873 ferode_2_74(l_uint32 *datad,
4882 l_uint32 *sptr, *dptr;
4884 pwpls = (l_uint32)(w + 31) / 32;
4886 for (i = 0; i < h; i++) {
4887 sptr = datas + i * wpls;
4888 dptr = datad + i * wpld;
4889 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4890 *dptr = ((*(sptr) >> 27) | (*(sptr - 1) << 5)) &
4891 ((*(sptr) >> 18) | (*(sptr - 1) << 14)) &
4892 ((*(sptr) >> 9) | (*(sptr - 1) << 23)) &
4894 ((*(sptr) << 9) | (*(sptr + 1) >> 23)) &
4895 ((*(sptr) << 18) | (*(sptr + 1) >> 14)) &
4896 ((*(sptr) << 27) | (*(sptr + 1) >> 5));
4902 fdilate_2_75(l_uint32 *datad,
4911 l_uint32 *sptr, *dptr;
4919 pwpls = (l_uint32)(w + 31) / 32;
4921 for (i = 0; i < h; i++) {
4922 sptr = datas + i * wpls;
4923 dptr = datad + i * wpld;
4924 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4925 *dptr = (*(sptr + wpls27)) |
4926 (*(sptr + wpls18)) |
4930 (*(sptr - wpls18)) |
4937 ferode_2_75(l_uint32 *datad,
4946 l_uint32 *sptr, *dptr;
4954 pwpls = (l_uint32)(w + 31) / 32;
4956 for (i = 0; i < h; i++) {
4957 sptr = datas + i * wpls;
4958 dptr = datad + i * wpld;
4959 for (j = 0; j < pwpls; j++, sptr++, dptr++) {
4960 *dptr = (*(sptr - wpls27)) &
4961 (*(sptr - wpls18)) &
4965 (*(sptr + wpls18)) &