Home | History | Annotate | Download | only in cuda

Lines Matching full:ptidx

78             const int ptidx = blockIdx.x * blockDim.y + threadIdx.y;
80 if (ptidx < npoints)
82 const short2 loc = loc_[ptidx];
121 response[ptidx] = ((float)a * b - (float)c * c - harris_k * ((float)a + b) * ((float)a + b)) * scale_sq_sq;
161 const int ptidx = blockIdx.x * blockDim.y + threadIdx.y;
163 if (ptidx < npoints)
167 const short2 loc = loc_[ptidx];
203 angle[ptidx] = kp_dir;
347 const int ptidx = blockIdx.y * blockDim.y + threadIdx.y;
349 if (ptidx < npoints && descidx < dsize)
351 float angle = angle_[ptidx];
357 desc.ptr(ptidx)[descidx] = OrbDescriptor<WTA_K>::calc(img, loc[ptidx], pattern_x, pattern_y, sina, cosa, descidx);
396 const int ptidx = blockIdx.x * blockDim.x + threadIdx.x;
398 if (ptidx < npoints)
400 short2 loc = loc_[ptidx];
402 x[ptidx] = loc.x * scale;
403 y[ptidx] = loc.y * scale;