Lines Matching refs:Dx
84 float dx = tex2D(harrisDxTex, j, i);
87 a += dx * dx;
88 b += dx * dy;
122 float dx = tex2D(harrisDxTex, x, y);
125 a += dx * dx;
126 b += dx * dy;
135 void cornerHarris_gpu(int block_size, float k, PtrStepSzf Dx, PtrStepSzf Dy, PtrStepSzf dst, int border_type, cudaStream_t stream)
138 dim3 grid(divUp(Dx.cols, block.x), divUp(Dx.rows, block.y));
140 bindTexture(&harrisDxTex, Dx);
146 cornerHarris_kernel<<<grid, block, 0, stream>>>(block_size, k, dst, BrdRowReflect101<void>(Dx.cols), BrdColReflect101<void>(Dx.rows));
150 cornerHarris_kernel<<<grid, block, 0, stream>>>(block_size, k, dst, BrdRowReflect<void>(Dx.cols), BrdColReflect<void>(Dx.rows));
189 float dx = tex2D(minEigenValDxTex, j, i);
192 a += dx * dx;
193 b += dx * dy;
231 float dx = tex2D(minEigenValDxTex, x, y);
234 a += dx * dx;
235 b += dx * dy;
247 void cornerMinEigenVal_gpu(int block_size, PtrStepSzf Dx, PtrStepSzf Dy, PtrStepSzf dst, int border_type, cudaStream_t stream)
250 dim3 grid(divUp(Dx.cols, block.x), divUp(Dx.rows, block.y));
252 bindTexture(&minEigenValDxTex, Dx);
258 cornerMinEigenVal_kernel<<<grid, block, 0, stream>>>(block_size, dst, BrdRowReflect101<void>(Dx.cols), BrdColReflect101<void>(Dx.rows));
262 cornerMinEigenVal_kernel<<<grid, block, 0, stream>>>(block_size, dst, BrdRowReflect<void>(Dx.cols), BrdColReflect<void>(Dx.rows));