Searched refs:checkIdx (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | canny.cu | 242 __device__ __forceinline__ bool checkIdx(int y, int x, int rows, int cols) in checkIdx() function 254 smem[threadIdx.y + 1][threadIdx.x + 1] = checkIdx(y, x, map.rows, map.cols) ? map(y, x) : 0; in edgesHysteresisLocalKernel() 256 smem[0][threadIdx.x + 1] = checkIdx(y - 1, x, map.rows, map.cols) ? map(y - 1, x) : 0; in edgesHysteresisLocalKernel() 258 …smem[blockDim.y + 1][threadIdx.x + 1] = checkIdx(y + 1, x, map.rows, map.cols) ? map(y + 1, x) : 0; in edgesHysteresisLocalKernel() 260 smem[threadIdx.y + 1][0] = checkIdx(y, x - 1, map.rows, map.cols) ? map(y, x - 1) : 0; in edgesHysteresisLocalKernel() 262 …smem[threadIdx.y + 1][blockDim.x + 1] = checkIdx(y, x + 1, map.rows, map.cols) ? map(y, x + 1) : 0; in edgesHysteresisLocalKernel() 264 smem[0][0] = checkIdx(y - 1, x - 1, map.rows, map.cols) ? map(y - 1, x - 1) : 0; in edgesHysteresisLocalKernel() 266 … smem[0][blockDim.x + 1] = checkIdx(y - 1, x + 1, map.rows, map.cols) ? map(y - 1, x + 1) : 0; in edgesHysteresisLocalKernel() 268 … smem[blockDim.y + 1][0] = checkIdx(y + 1, x - 1, map.rows, map.cols) ? map(y + 1, x - 1) : 0; in edgesHysteresisLocalKernel() 270 …smem[blockDim.y + 1][blockDim.x + 1] = checkIdx(y + 1, x + 1, map.rows, map.cols) ? map(y + 1, x +… in edgesHysteresisLocalKernel()
|