Lines Matching refs:step
68 int step, float* dist, int dststep, CvSize size, const float* metrics ) in icvDistanceTransform_3x3_C1R() argument
77 step /= sizeof(temp[0]); in icvDistanceTransform_3x3_C1R()
80 icvInitTopBottom( temp, step, size, BORDER ); in icvDistanceTransform_3x3_C1R()
86 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransform_3x3_C1R()
97 int t0 = tmp[j-step-1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
98 int t = tmp[j-step] + HV_DIST; in icvDistanceTransform_3x3_C1R()
100 t = tmp[j-step+1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
113 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransform_3x3_C1R()
120 int t = tmp[j+step+1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
122 t = tmp[j+step] + HV_DIST; in icvDistanceTransform_3x3_C1R()
124 t = tmp[j+step-1] + DIAG_DIST; in icvDistanceTransform_3x3_C1R()
140 int step, float* dist, int dststep, CvSize size, const float* metrics ) in icvDistanceTransform_5x5_C1R() argument
150 step /= sizeof(temp[0]); in icvDistanceTransform_5x5_C1R()
153 icvInitTopBottom( temp, step, size, BORDER ); in icvDistanceTransform_5x5_C1R()
159 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransform_5x5_C1R()
170 int t0 = tmp[j-step*2-1] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
171 int t = tmp[j-step*2+1] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
173 t = tmp[j-step-2] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
175 t = tmp[j-step-1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
177 t = tmp[j-step] + HV_DIST; in icvDistanceTransform_5x5_C1R()
179 t = tmp[j-step+1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
181 t = tmp[j-step+2] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
194 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransform_5x5_C1R()
201 int t = tmp[j+step*2+1] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
203 t = tmp[j+step*2-1] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
205 t = tmp[j+step+2] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
207 t = tmp[j+step+1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
209 t = tmp[j+step] + HV_DIST; in icvDistanceTransform_5x5_C1R()
211 t = tmp[j+step-1] + DIAG_DIST; in icvDistanceTransform_5x5_C1R()
213 t = tmp[j+step-2] + LONG_DIST; in icvDistanceTransform_5x5_C1R()
229 int step, float* dist, int dststep, int* labels, int lstep, in icvDistanceTransformEx_5x5_C1R() argument
241 step /= sizeof(temp[0]); in icvDistanceTransformEx_5x5_C1R()
245 icvInitTopBottom( temp, step, size, BORDER ); in icvDistanceTransformEx_5x5_C1R()
251 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransformEx_5x5_C1R()
269 t = tmp[j-step*2-1] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
275 t = tmp[j-step*2+1] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
281 t = tmp[j-step-2] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
287 t = tmp[j-step-1] + DIAG_DIST; in icvDistanceTransformEx_5x5_C1R()
293 t = tmp[j-step] + HV_DIST; in icvDistanceTransformEx_5x5_C1R()
299 t = tmp[j-step+1] + DIAG_DIST; in icvDistanceTransformEx_5x5_C1R()
305 t = tmp[j-step+2] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
328 int* tmp = (int*)(temp + (i+BORDER)*step) + BORDER; in icvDistanceTransformEx_5x5_C1R()
337 int t = tmp[j+step*2+1] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
343 t = tmp[j+step*2-1] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
349 t = tmp[j+step+2] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
355 t = tmp[j+step+1] + DIAG_DIST; in icvDistanceTransformEx_5x5_C1R()
361 t = tmp[j+step] + HV_DIST; in icvDistanceTransformEx_5x5_C1R()
367 t = tmp[j+step-1] + DIAG_DIST; in icvDistanceTransformEx_5x5_C1R()
373 t = tmp[j+step-2] + LONG_DIST; in icvDistanceTransformEx_5x5_C1R()
478 sstep = src->step; in icvTrueDistTrans()
479 dstep = dst->step / sizeof(float); in icvTrueDistTrans()
539 float* d = (float*)(dst->data.ptr + i*dst->step); in icvTrueDistTrans()
634 int srcstep = src->step; in icvDistanceATS_L1_8u()
635 int dststep = dst->step; in icvDistanceATS_L1_8u()
798 IPPI_CALL( ipp_func( src->data.ptr, src->step, in cvDistTransform()
799 dst->data.fl, dst->step, size, in cvDistTransform()
805 IPPI_CALL( ipp_inp_func( src->data.ptr, src->step, size, _imask )); in cvDistTransform()
823 func( src->data.ptr, src->step, temp->data.i, temp->step, in cvDistTransform()
824 dst->data.fl, dst->step, size, _mask ); in cvDistTransform()
847 … icvDistanceTransformEx_5x5_C1R( src_copy->data.ptr, src_copy->step, temp->data.i, temp->step, in cvDistTransform()
848 dst->data.fl, dst->step, labels->data.i, labels->step, size, _mask ); in cvDistTransform()