Lines Matching refs:mapstep

261         ptrdiff_t mapstep = src.cols + 2;  in operator ()()  local
335 AutoBuffer<uchar> buffer(cn * mapstep * 3 * sizeof(int)); in operator ()()
339 mag_buf[1] = mag_buf[0] + mapstep*cn; in operator ()()
340 mag_buf[2] = mag_buf[1] + mapstep*cn; in operator ()()
445 uchar* _map = map + mapstep*i + 1; in operator ()()
513 … if (!prev_flag && m > high && (i <= boundaries.start+1 || _map[j-mapstep] != 2) ) in operator ()()
549 … if ( (m < map + (boundaries.start + 2) * mapstep) || (m >= map + boundaries.end * mapstep) ) in operator ()()
557 if (!m[-mapstep-1]) CANNY_PUSH(m - mapstep - 1); in operator ()()
558 if (!m[-mapstep]) CANNY_PUSH(m - mapstep); in operator ()()
559 if (!m[-mapstep+1]) CANNY_PUSH(m - mapstep + 1); in operator ()()
560 if (!m[mapstep-1]) CANNY_PUSH(m + mapstep - 1); in operator ()()
561 if (!m[mapstep]) CANNY_PUSH(m + mapstep); in operator ()()
562 if (!m[mapstep+1]) CANNY_PUSH(m + mapstep + 1); in operator ()()
641 ptrdiff_t mapstep = src.cols + 2; in Canny() local
645 memset(map, 1, mapstep); in Canny()
646 memset(map + mapstep*(src.rows + 1), 1, mapstep); in Canny()
681 if (!m[-mapstep-1]) CANNY_PUSH_SERIAL(m - mapstep - 1); in Canny()
682 if (!m[-mapstep]) CANNY_PUSH_SERIAL(m - mapstep); in Canny()
683 if (!m[-mapstep+1]) CANNY_PUSH_SERIAL(m - mapstep + 1); in Canny()
684 if (!m[mapstep-1]) CANNY_PUSH_SERIAL(m + mapstep - 1); in Canny()
685 if (!m[mapstep]) CANNY_PUSH_SERIAL(m + mapstep); in Canny()
686 if (!m[mapstep+1]) CANNY_PUSH_SERIAL(m + mapstep + 1); in Canny()
708 ptrdiff_t mapstep = src.cols + 2; in Canny() local
709 AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2) + cn * mapstep * 3 * sizeof(int)); in Canny()
713 mag_buf[1] = mag_buf[0] + mapstep*cn; in Canny()
714 mag_buf[2] = mag_buf[1] + mapstep*cn; in Canny()
715 memset(mag_buf[0], 0, /* cn* */mapstep*sizeof(int)); in Canny()
717 uchar* map = (uchar*)(mag_buf[2] + mapstep*cn); in Canny()
718 memset(map, 1, mapstep); in Canny()
719 memset(map + mapstep*(src.rows + 1), 1, mapstep); in Canny()
845 memset(_norm-1, 0, /* cn* */mapstep*sizeof(int)); in Canny()
852 uchar* _map = map + mapstep*i + 1; in Canny()
910 if (!prev_flag && m > high && _map[j-mapstep] != 2) in Canny()
943 if (!m[-mapstep-1]) CANNY_PUSH(m - mapstep - 1); in Canny()
944 if (!m[-mapstep]) CANNY_PUSH(m - mapstep); in Canny()
945 if (!m[-mapstep+1]) CANNY_PUSH(m - mapstep + 1); in Canny()
946 if (!m[mapstep-1]) CANNY_PUSH(m + mapstep - 1); in Canny()
947 if (!m[mapstep]) CANNY_PUSH(m + mapstep); in Canny()
948 if (!m[mapstep+1]) CANNY_PUSH(m + mapstep + 1); in Canny()
954 const uchar* pmap = map + mapstep + 1; in Canny()
956 for (int i = 0; i < src.rows; i++, pmap += mapstep, pdst += dst.step) in Canny()