Lines Matching refs:j
116 int i, j; in icvCopyReplicateBorder_8u() local
166 for( j = 0; j < srcroi.width; j++ ) in icvCopyReplicateBorder_8u()
167 idst[j + left] = isrc[j]; in icvCopyReplicateBorder_8u()
168 for( j = left - 1; j >= 0; j-- ) in icvCopyReplicateBorder_8u()
169 idst[j] = idst[j + cn]; in icvCopyReplicateBorder_8u()
170 for( j = left+srcroi.width; j < dstroi.width; j++ ) in icvCopyReplicateBorder_8u()
171 idst[j] = idst[j - cn]; in icvCopyReplicateBorder_8u()
185 for( j = 0; j < srcroi.width; j++ ) in icvCopyReplicateBorder_8u()
186 dst[j + left] = src[j]; in icvCopyReplicateBorder_8u()
187 for( j = left - 1; j >= 0; j-- ) in icvCopyReplicateBorder_8u()
188 dst[j] = dst[j + cn]; in icvCopyReplicateBorder_8u()
189 for( j = left+srcroi.width; j < dstroi.width; j++ ) in icvCopyReplicateBorder_8u()
190 dst[j] = dst[j - cn]; in icvCopyReplicateBorder_8u()
206 int i, j, k, t, dj, tab_size, int_mode = 0; in icvCopyReflect101Border_8u() local
234 j = dj = cn; in icvCopyReflect101Border_8u()
238 tab[i + k] = j + k + left; in icvCopyReflect101Border_8u()
239 if( (unsigned)(j += dj) >= (unsigned)srcroi.width ) in icvCopyReflect101Border_8u()
240 j -= 2*dj, dj = -dj; in icvCopyReflect101Border_8u()
243 j = srcroi.width - cn*2; in icvCopyReflect101Border_8u()
248 tab[i + k] = j + k + left; in icvCopyReflect101Border_8u()
249 if( (unsigned)(j += dj) >= (unsigned)srcroi.width ) in icvCopyReflect101Border_8u()
250 j -= 2*dj, dj = -dj; in icvCopyReflect101Border_8u()
260 for( j = 0; j < srcroi.width; j++ ) in icvCopyReflect101Border_8u()
261 idst[j + left] = isrc[j]; in icvCopyReflect101Border_8u()
262 for( j = 0; j < left; j++ ) in icvCopyReflect101Border_8u()
264 k = tab[j]; in icvCopyReflect101Border_8u()
265 idst[j] = idst[k]; in icvCopyReflect101Border_8u()
267 for( ; j < tab_size; j++ ) in icvCopyReflect101Border_8u()
269 k = tab[j]; in icvCopyReflect101Border_8u()
270 idst[j + srcroi.width] = idst[k]; in icvCopyReflect101Border_8u()
282 for( j = 0; j < srcroi.width; j++ ) in icvCopyReflect101Border_8u()
283 dst[j + left] = src[j]; in icvCopyReflect101Border_8u()
284 for( j = 0; j < left; j++ ) in icvCopyReflect101Border_8u()
286 k = tab[j]; in icvCopyReflect101Border_8u()
287 dst[j] = dst[k]; in icvCopyReflect101Border_8u()
289 for( ; j < tab_size; j++ ) in icvCopyReflect101Border_8u()
291 k = tab[j]; in icvCopyReflect101Border_8u()
292 dst[j + srcroi.width] = dst[k]; in icvCopyReflect101Border_8u()
303 i1 = top-1, i2 = 0, di = -1, j = 1, dj = 1; in icvCopyReflect101Border_8u()
305 i1 = top+srcroi.height, i2=dstroi.height, di = 1, j = srcroi.height-2, dj = -1; in icvCopyReflect101Border_8u()
312 int* d = idst + (j+top)*dststep; in icvCopyReflect101Border_8u()
319 uchar* d = dst + (j+top)*dststep; in icvCopyReflect101Border_8u()
324 if( (unsigned)(j += dj) >= (unsigned)srcroi.height ) in icvCopyReflect101Border_8u()
325 j -= 2*dj, dj = -dj; in icvCopyReflect101Border_8u()
339 int i, j, k; in icvCopyConstBorder_8u() local
355 for( j = 1; j < cn; j++ ) in icvCopyConstBorder_8u()
356 if( ivalue[j] != ivalue[0] ) in icvCopyConstBorder_8u()
359 if( j == cn ) in icvCopyConstBorder_8u()
371 for( j = 0; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
372 idst[j] = v0; in icvCopyConstBorder_8u()
376 for( j = 0; j < cn; j++ ) in icvCopyConstBorder_8u()
377 idst[j] = ivalue[j]; in icvCopyConstBorder_8u()
378 for( ; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
379 idst[j] = idst[j - cn]; in icvCopyConstBorder_8u()
386 for( j = 0; j < left; j++ ) in icvCopyConstBorder_8u()
387 idst[j] = v0; in icvCopyConstBorder_8u()
388 for( j = srcroi.width + left; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
389 idst[j] = v0; in icvCopyConstBorder_8u()
395 for( j = 0; j < left; j += cn ) in icvCopyConstBorder_8u()
396 idst[j+k] = ivalue[k]; in icvCopyConstBorder_8u()
397 for( j = srcroi.width + left; j < dstroi.width; j += cn ) in icvCopyConstBorder_8u()
398 idst[j+k] = ivalue[k]; in icvCopyConstBorder_8u()
403 for( j = 0; j < srcroi.width; j++ ) in icvCopyConstBorder_8u()
404 idst[j + left] = isrc[j]; in icvCopyConstBorder_8u()
416 for( j = 1; j < cn; j++ ) in icvCopyConstBorder_8u()
417 if( value[j] != value[0] ) in icvCopyConstBorder_8u()
420 if( j == cn ) in icvCopyConstBorder_8u()
432 for( j = 0; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
433 dst[j] = v0; in icvCopyConstBorder_8u()
437 for( j = 0; j < cn; j++ ) in icvCopyConstBorder_8u()
438 dst[j] = value[j]; in icvCopyConstBorder_8u()
439 for( ; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
440 dst[j] = dst[j - cn]; in icvCopyConstBorder_8u()
447 for( j = 0; j < left; j++ ) in icvCopyConstBorder_8u()
448 dst[j] = v0; in icvCopyConstBorder_8u()
449 for( j = srcroi.width + left; j < dstroi.width; j++ ) in icvCopyConstBorder_8u()
450 dst[j] = v0; in icvCopyConstBorder_8u()
456 for( j = 0; j < left; j += cn ) in icvCopyConstBorder_8u()
457 dst[j+k] = value[k]; in icvCopyConstBorder_8u()
458 for( j = srcroi.width + left; j < dstroi.width; j += cn ) in icvCopyConstBorder_8u()
459 dst[j+k] = value[k]; in icvCopyConstBorder_8u()
464 for( j = 0; j < srcroi.width; j++ ) in icvCopyConstBorder_8u()
465 dst[j + left] = src[j]; in icvCopyConstBorder_8u()