Lines Matching refs:deltas
44 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \ argument
45 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \
46 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \
47 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \
48 (deltas)[6] = (step), (deltas)[7] = (step) + (nch))
75 reader->deltas[i][0] = (schar) icvCodeDeltas[i].x; in cvStartReadChainPoints()
76 reader->deltas[i][1] = (schar) icvCodeDeltas[i].y; in cvStartReadChainPoints()
537 int deltas[16]; in icvFetchContour() local
546 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvFetchContour()
547 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvFetchContour()
560 i1 = i0 + deltas[s]; in icvFetchContour()
586 i4 = i3 + deltas[++s]; in icvFetchContour()
651 int deltas[16]; in icvTraceContour() local
656 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvTraceContour()
657 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvTraceContour()
666 i1 = i0 + deltas[s]; in icvTraceContour()
684 i4 = i3 + deltas[++s]; in icvTraceContour()
709 int deltas[16]; in icvFetchContourEx() local
720 CV_INIT_3X3_DELTAS( deltas, step, 1 ); in icvFetchContourEx()
721 memcpy( deltas + 8, deltas, 8 * sizeof( deltas[0] )); in icvFetchContourEx()
737 i1 = i0 + deltas[s]; in icvFetchContourEx()
764 i4 = i3 + deltas[++s]; in icvFetchContourEx()