Lines Matching refs:accum
61 …__global__ void linesAccumGlobal(const unsigned int* list, const int count, PtrStepi accum, const … in linesAccumGlobal() argument
74 int* accumRow = accum.ptr(n + 1); in linesAccumGlobal()
89 …__global__ void linesAccumShared(const unsigned int* list, const int count, PtrStepi accum, const … in linesAccumShared() argument
124 int* accumRow = accum.ptr(n + 1); in linesAccumShared()
129 …void linesAccum_gpu(const unsigned int* list, int count, PtrStepSzi accum, float rho, float theta,… in linesAccum_gpu() argument
132 const dim3 grid(accum.rows - 2); in linesAccum_gpu()
134 size_t smemSize = (accum.cols - 1) * sizeof(int); in linesAccum_gpu()
137 …linesAccumShared<<<grid, block, smemSize>>>(list, count, accum, 1.0f / rho, theta, accum.cols - 2); in linesAccum_gpu()
139 … linesAccumGlobal<<<grid, block>>>(list, count, accum, 1.0f / rho, theta, accum.cols - 2); in linesAccum_gpu()
149 …__global__ void linesGetResult(const PtrStepSzi accum, float2* out, int* votes, const int maxSize,… in linesGetResult() argument
154 if (r >= accum.cols - 2 || n >= accum.rows - 2) in linesGetResult()
157 const int curVotes = accum(n + 1, r + 1); in linesGetResult()
160 curVotes > accum(n + 1, r) && in linesGetResult()
161 curVotes >= accum(n + 1, r + 2) && in linesGetResult()
162 curVotes > accum(n, r + 1) && in linesGetResult()
163 curVotes >= accum(n + 2, r + 1)) in linesGetResult()
177 …int linesGetResult_gpu(PtrStepSzi accum, float2* out, int* votes, int maxSize, float rho, float th… in linesGetResult_gpu() argument
185 const dim3 grid(divUp(accum.cols - 2, block.x), divUp(accum.rows - 2, block.y)); in linesGetResult_gpu()
189 …linesGetResult<<<grid, block>>>(accum, out, votes, maxSize, rho, theta, threshold, accum.cols - 2); in linesGetResult_gpu()