Lines Matching refs:ocl
103 const ocl::Device &dev = ocl::Device::getDefault();
141 ocl::Kernel with_sobel("stage1_with_sobel", ocl::imgproc::canny_oclsrc,
143 cn, ocl::memopTypeToStr(_src.depth()),
144 ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt),
145 ocl::typeToStr(CV_MAKE_TYPE(CV_32F, cn)),
153 with_sobel.args(ocl::KernelArg::ReadOnly(src),
154 ocl::KernelArg::WriteOnlyNoSize(map),
175 ocl::Kernel without_sobel("stage1_without_sobel", ocl::imgproc::canny_oclsrc,
182 without_sobel.args(ocl::KernelArg::ReadOnlyNoSize(dx), ocl::KernelArg::ReadOnlyNoSize(dy),
183 ocl::KernelArg::WriteOnly(map),
205 ocl::Kernel edgesHysteresis("stage2_hysteresis", ocl::imgproc::canny_oclsrc,
212 edgesHysteresis.args(ocl::KernelArg::ReadWrite(map));
218 ocl::Kernel getEdgesKernel("getEdges", ocl::imgproc::canny_oclsrc,
226 getEdgesKernel.args(ocl::KernelArg::ReadOnly(map), ocl::KernelArg::WriteOnlyNoSize(dst));