Lines Matching refs:k
126 l_int32 i, j, k; in dilateGrayLow() local
147 for (k = 1; k < size; k++) { in dilateGrayLow()
148 maxarray[size - 1 - k] = in dilateGrayLow()
149 L_MAX(maxarray[size - k], buffer[startmax - k]); in dilateGrayLow()
150 maxarray[size - 1 + k] = in dilateGrayLow()
151 L_MAX(maxarray[size + k - 2], buffer[startmax + k]); in dilateGrayLow()
158 for (k = 1; k < size - 1; k++) { in dilateGrayLow()
159 maxval = L_MAX(maxarray[k], maxarray[k + size - 1]); in dilateGrayLow()
160 SET_DATA_BYTE(lined, startx + k, maxval); in dilateGrayLow()
181 for (k = 1; k < size; k++) { in dilateGrayLow()
182 maxarray[size - 1 - k] = in dilateGrayLow()
183 L_MAX(maxarray[size - k], buffer[startmax - k]); in dilateGrayLow()
184 maxarray[size - 1 + k] = in dilateGrayLow()
185 L_MAX(maxarray[size + k - 2], buffer[startmax + k]); in dilateGrayLow()
194 for (k = 1; k < size - 1; k++) { in dilateGrayLow()
195 maxval = L_MAX(maxarray[k], maxarray[k + size - 1]); in dilateGrayLow()
196 SET_DATA_BYTE(lined + wpld * k, j, maxval); in dilateGrayLow()
242 l_int32 i, j, k; in erodeGrayLow() local
263 for (k = 1; k < size; k++) { in erodeGrayLow()
264 minarray[size - 1 - k] = in erodeGrayLow()
265 L_MIN(minarray[size - k], buffer[startmin - k]); in erodeGrayLow()
266 minarray[size - 1 + k] = in erodeGrayLow()
267 L_MIN(minarray[size + k - 2], buffer[startmin + k]); in erodeGrayLow()
274 for (k = 1; k < size - 1; k++) { in erodeGrayLow()
275 minval = L_MIN(minarray[k], minarray[k + size - 1]); in erodeGrayLow()
276 SET_DATA_BYTE(lined, startx + k, minval); in erodeGrayLow()
297 for (k = 1; k < size; k++) { in erodeGrayLow()
298 minarray[size - 1 - k] = in erodeGrayLow()
299 L_MIN(minarray[size - k], buffer[startmin - k]); in erodeGrayLow()
300 minarray[size - 1 + k] = in erodeGrayLow()
301 L_MIN(minarray[size + k - 2], buffer[startmin + k]); in erodeGrayLow()
310 for (k = 1; k < size - 1; k++) { in erodeGrayLow()
311 minval = L_MIN(minarray[k], minarray[k + size - 1]); in erodeGrayLow()
312 SET_DATA_BYTE(lined + wpld * k, j, minval); in erodeGrayLow()