Home | History | Annotate | Download | only in src

Lines Matching full:mapstep

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