ocl 91 modules/calib3d/src/stereobm.cpp ocl::Kernel k("prefilter_norm", ocl::calib3d::stereobm_oclsrc, cv::format("-D WSZ=%d", winsize)); ocl 104 modules/calib3d/src/stereobm.cpp k.args(ocl::KernelArg::PtrReadOnly(input), ocl::KernelArg::PtrWriteOnly(output), input.rows, input.cols, ocl 175 modules/calib3d/src/stereobm.cpp ocl::Kernel k("prefilter_xsobel", ocl::calib3d::stereobm_oclsrc); ocl 185 modules/calib3d/src/stereobm.cpp k.args(ocl::KernelArg::PtrReadOnly(input), ocl::KernelArg::PtrWriteOnly(output), input.rows, input.cols, prefilterCap); ocl 907 modules/calib3d/src/stereobm.cpp ocl::Device devDef = ocl::Device::getDefault(); ocl 916 modules/calib3d/src/stereobm.cpp ocl::Kernel k("stereoBM", ocl::calib3d::stereobm_oclsrc, opt); ocl 934 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(left)); ocl 935 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(right)); ocl 936 modules/calib3d/src/stereobm.cpp idx = k.set(idx, ocl::KernelArg::WriteOnlyNoSize(disp)); ocl 1077 modules/calib3d/src/stereobm.cpp if(ocl::useOpenCL() && disparr.isUMat() && params.textureThreshold == 0) ocl 68 modules/core/include/opencv2/core/directx.hpp using namespace cv::ocl; ocl 680 modules/core/include/opencv2/core/ocl.hpp #define OCL_PERFORMANCE_CHECK(condition) (cv::ocl::internal::isPerformanceCheckBypassed() || (condition)) ocl 16 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ ocl 32 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition)) \ ocl 47 modules/core/include/opencv2/core/opencl/ocl_defs.hpp if (cv::ocl::useOpenCL() && (condition) && func) \ ocl 41 modules/core/include/opencv2/core/opencl/opencl_svm.hpp CV_EXPORTS const SVMCapabilities getSVMCapabilitites(const ocl::Context& context); ocl 73 modules/core/include/opencv2/core/opencl/opencl_svm.hpp CV_EXPORTS const SVMFunctions* getSVMFunctions(const ocl::Context& context); ocl 23 modules/core/perf/opencl/perf_bufferpool.cpp if (!cv::ocl::useOpenCL()) ocl 52 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); ocl 69 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); ocl 87 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); ocl 112 modules/core/perf/opencl/perf_bufferpool.cpp BufferPoolState s(cv::ocl::getOpenCLAllocator()->getBufferPoolController(), GetParam()); ocl 142 modules/core/perf/opencl/perf_matop.cpp cv::ocl::finish(); ocl 1445 modules/core/src/arithm.cpp const ocl::Device d = ocl::Device::getDefault(); ocl 1452 modules/core/src/arithm.cpp int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); ocl 1458 modules/core/src/arithm.cpp bitwise ? ocl::memopTypeToStr(CV_MAKETYPE(srcdepth, kercn)) : ocl 1459 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKETYPE(srcdepth, kercn)), doubleSupport ? " -D DOUBLE_SUPPORT" : "", ocl 1460 modules/core/src/arithm.cpp bitwise ? ocl::memopTypeToStr(CV_MAKETYPE(srcdepth, 1)) : ocl 1461 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKETYPE(srcdepth, 1)), ocl 1462 modules/core/src/arithm.cpp bitwise ? ocl::memopTypeToStr(CV_MAKETYPE(srcdepth, scalarcn)) : ocl 1463 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKETYPE(srcdepth, scalarcn)), ocl 1466 modules/core/src/arithm.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, opts); ocl 1473 modules/core/src/arithm.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn); ocl 1474 modules/core/src/arithm.cpp ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) : ocl 1475 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 1476 modules/core/src/arithm.cpp ocl::KernelArg maskarg = ocl::KernelArg::ReadOnlyNoSize(mask, 1); ocl 1489 modules/core/src/arithm.cpp ocl::KernelArg scalararg = ocl::KernelArg(0, 0, 0, 0, buf, esz); ocl 1499 modules/core/src/arithm.cpp ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn); ocl 1810 modules/core/src/arithm.cpp const ocl::Device d = ocl::Device::getDefault(); ocl 1827 modules/core/src/arithm.cpp int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); ocl 1835 modules/core/src/arithm.cpp oclop2str[oclop], ocl::typeToStr(CV_MAKETYPE(depth1, kercn)), ocl 1836 modules/core/src/arithm.cpp ocl::typeToStr(depth1), ocl::typeToStr(CV_MAKETYPE(depth2, kercn)), ocl 1837 modules/core/src/arithm.cpp ocl::typeToStr(depth2), ocl::typeToStr(CV_MAKETYPE(ddepth, kercn)), ocl 1838 modules/core/src/arithm.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKETYPE(wdepth, kercn)), ocl 1839 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKETYPE(wdepth, scalarcn)), ocl 1840 modules/core/src/arithm.cpp ocl::typeToStr(wdepth), wdepth, ocl 1841 modules/core/src/arithm.cpp ocl::convertTypeStr(depth1, wdepth, kercn, cvtstr[0]), ocl 1842 modules/core/src/arithm.cpp ocl::convertTypeStr(depth2, wdepth, kercn, cvtstr[1]), ocl 1843 modules/core/src/arithm.cpp ocl::convertTypeStr(wdepth, ddepth, kercn, cvtstr[2]), ocl 1846 modules/core/src/arithm.cpp ocl::convertTypeStr(CV_8U, ddepth, kercn, cvtstr[3]) : "noconvert"); ocl 1861 modules/core/src/arithm.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, opts); ocl 1868 modules/core/src/arithm.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn); ocl 1869 modules/core/src/arithm.cpp ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) : ocl 1870 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 1871 modules/core/src/arithm.cpp ocl::KernelArg maskarg = ocl::KernelArg::ReadOnlyNoSize(mask, 1); ocl 1881 modules/core/src/arithm.cpp ocl::KernelArg scalararg = ocl::KernelArg(0, 0, 0, 0, buf, esz); ocl 1889 modules/core/src/arithm.cpp ocl::KernelArg(0, 0, 0, 0, usrdata_p, usrdata_esz)); ocl 1899 modules/core/src/arithm.cpp ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn); ocl 1907 modules/core/src/arithm.cpp ocl::KernelArg(0, 0, 0, 0, usrdata_p, usrdata_esz)); ocl 1910 modules/core/src/arithm.cpp ocl::KernelArg(0, 0, 0, 0, usrdata_p, usrdata_esz), ocl 1911 modules/core/src/arithm.cpp ocl::KernelArg(0, 0, 0, 0, usrdata_p + usrdata_esz, usrdata_esz), ocl 1912 modules/core/src/arithm.cpp ocl::KernelArg(0, 0, 0, 0, usrdata_p + usrdata_esz*2, usrdata_esz)); ocl 4891 modules/core/src/arithm.cpp const ocl::Device& dev = ocl::Device::getDefault(); ocl 4902 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; ocl 4915 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKE_TYPE(depth1, kercn)), ocl 4916 modules/core/src/arithm.cpp ocl::typeToStr(CV_8UC(kercn)), kercn, ocl 4917 modules/core/src/arithm.cpp ocl::convertTypeStr(depth1, CV_8U, kercn, cvt), ocl 4918 modules/core/src/arithm.cpp operationMap[op], ocl::typeToStr(depth1), ocl 4919 modules/core/src/arithm.cpp ocl::typeToStr(depth1), ocl::typeToStr(CV_8U), ocl 4920 modules/core/src/arithm.cpp ocl::typeToStr(CV_MAKE_TYPE(depth1, scalarcn)), rowsPerWI, ocl 4923 modules/core/src/arithm.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, opts); ocl 4963 modules/core/src/arithm.cpp ocl::KernelArg scalararg = ocl::KernelArg(0, 0, 0, 0, buf, esz); ocl 4965 modules/core/src/arithm.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn), ocl 4966 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn), scalararg); ocl 4972 modules/core/src/arithm.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1), ocl 4973 modules/core/src/arithm.cpp ocl::KernelArg::ReadOnlyNoSize(src2), ocl 4974 modules/core/src/arithm.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn)); ocl 5564 modules/core/src/arithm.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 5600 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn); ocl 5605 modules/core/src/arithm.cpp haveScalar ? "-D HAVE_SCALAR " : "", cn, ocl::typeToStr(CV_MAKE_TYPE(sdepth, kercn)), ocl 5606 modules/core/src/arithm.cpp ocl::typeToStr(sdepth), ocl::typeToStr(CV_8UC(colsPerWI)), kercn, sdepth, ocl 5609 modules/core/src/arithm.cpp ocl::Kernel ker("inrange", ocl::core::inrange_oclsrc, opts); ocl 5656 modules/core/src/arithm.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 5657 modules/core/src/arithm.cpp dstarg = ocl::KernelArg::WriteOnly(dst, 1, colsPerWI); ocl 5664 modules/core/src/arithm.cpp ker.args(srcarg, dstarg, ocl::KernelArg::PtrReadOnly(lscalaru), ocl 5665 modules/core/src/arithm.cpp ocl::KernelArg::PtrReadOnly(uscalaru), rowsPerWI); ocl 5668 modules/core/src/arithm.cpp ker.args(srcarg, dstarg, ocl::KernelArg::ReadOnlyNoSize(lscalaru), ocl 5669 modules/core/src/arithm.cpp ocl::KernelArg::ReadOnlyNoSize(uscalaru), rowsPerWI); ocl 874 modules/core/src/convert.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 884 modules/core/src/convert.cpp ocl::Kernel k("split", ocl::core::split_merge_oclsrc, ocl 887 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), cn, dstargs.c_str(), ocl 900 modules/core/src/convert.cpp int argidx = k.set(0, ocl::KernelArg::ReadOnly(_m.getUMat())); ocl 902 modules/core/src/convert.cpp argidx = k.set(argidx, ocl::KernelArg::WriteOnlyNoSize(dst[i])); ocl 1025 modules/core/src/convert.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 1055 modules/core/src/convert.cpp ocl::Kernel k("merge", ocl::core::split_merge_oclsrc, ocl 1058 modules/core/src/convert.cpp dcn, ocl::memopTypeToStr(depth), srcargs.c_str(), ocl 1068 modules/core/src/convert.cpp argidx = k.set(argidx, ocl::KernelArg::ReadOnlyNoSize(ksrc[i])); ocl 1069 modules/core/src/convert.cpp argidx = k.set(argidx, ocl::KernelArg::WriteOnly(dst)); ocl 1291 modules/core/src/convert.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 1324 modules/core/src/convert.cpp ocl::Kernel k("mixChannels", ocl::core::mixchannels_oclsrc, ocl 1327 modules/core/src/convert.cpp ocl::memopTypeToStr(depth), declsrc.c_str(), decldst.c_str(), ocl 1334 modules/core/src/convert.cpp argindex = k.set(argindex, ocl::KernelArg::ReadOnlyNoSize(srcargs[i])); ocl 1336 modules/core/src/convert.cpp argindex = k.set(argindex, ocl::KernelArg::WriteOnlyNoSize(dstargs[i])); ocl 1413 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) ocl 1436 modules/core/src/convert.cpp if (ocl::useOpenCL() && _src.dims() <= 2 && _dst.isUMat()) ocl 5482 modules/core/src/convert.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 5494 modules/core/src/convert.cpp kercn = ocl::checkOptimalVectorWidth( vectorWidths, _src, _dst, ocl 5497 modules/core/src/convert.cpp noArray(), ocl::OCL_VECTOR_MAX); ocl 5500 modules/core/src/convert.cpp kercn = ocl::predictOptimalVectorWidthMax(_src, _dst); ocl 5508 modules/core/src/convert.cpp ocl::typeToStr(CV_8UC(kercn)), ocl 5509 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 5510 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), wdepth, ocl 5511 modules/core/src/convert.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), ocl 5512 modules/core/src/convert.cpp ocl::convertTypeStr(wdepth, CV_8U, kercn, cvt[1]), ocl 5513 modules/core/src/convert.cpp ocl::typeToStr(wdepth), rowsPerWI, ocl 5515 modules/core/src/convert.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, build_opt); ocl 5522 modules/core/src/convert.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 5523 modules/core/src/convert.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 5687 modules/core/src/convert.cpp int kercn = lcn == 1 ? std::min(4, ocl::predictOptimalVectorWidth(_src, _dst)) : dcn; ocl 5689 modules/core/src/convert.cpp ocl::Kernel k("LUT", ocl::core::lut_oclsrc, ocl 5691 modules/core/src/convert.cpp ocl::typeToStr(src.depth()), ocl::memopTypeToStr(ddepth))); ocl 5695 modules/core/src/convert.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::ReadOnlyNoSize(lut), ocl 5696 modules/core/src/convert.cpp ocl::KernelArg::WriteOnly(dst, dcn, kercn)); ocl 5992 modules/core/src/convert.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 6021 modules/core/src/convert.cpp ocl::typeToStr(stype), ocl::typeToStr(dtype), ocl 6022 modules/core/src/convert.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), cn, ocl 6023 modules/core/src/convert.cpp rowsPerWI, ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), ocl 6024 modules/core/src/convert.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), ocl 6028 modules/core/src/convert.cpp ocl::typeToStr(sdepth), ocl::typeToStr(ddepth)); ocl 6030 modules/core/src/convert.cpp ocl::Kernel k("normalizek", ocl::core::normalize_oclsrc, opts); ocl 6036 modules/core/src/convert.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 6037 modules/core/src/convert.cpp maskarg = ocl::KernelArg::ReadOnlyNoSize(mask), ocl 6038 modules/core/src/convert.cpp dstarg = ocl::KernelArg::ReadWrite(dst); ocl 678 modules/core/src/copy.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 680 modules/core/src/copy.cpp flipType, kercn = std::min(ocl::predictOptimalVectorWidth(_src, _dst), 4); ocl 697 modules/core/src/copy.cpp int pxPerWIy = (dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1; ocl 700 modules/core/src/copy.cpp ocl::Kernel k(kernelName, ocl::core::flip_oclsrc, ocl 702 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 703 modules/core/src/copy.cpp kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), cn, pxPerWIy, kercn)); ocl 715 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl 716 modules/core/src/copy.cpp ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols); ocl 849 modules/core/src/copy.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1, ocl 850 modules/core/src/copy.cpp kercn = ocl::predictOptimalVectorWidth(_src, _dst); ocl 852 modules/core/src/copy.cpp ocl::Kernel k("repeat", ocl::core::repeat_oclsrc, ocl 854 modules/core/src/copy.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 860 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnly(src, cn, kercn), ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 1088 modules/core/src/copy.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 1101 modules/core/src/copy.cpp ocl::memopTypeToStr(type), borderMap[borderType], ocl 1102 modules/core/src/copy.cpp ocl::memopTypeToStr(depth), cn, ocl 1103 modules/core/src/copy.cpp ocl::memopTypeToStr(sctype), rowsPerWI); ocl 1105 modules/core/src/copy.cpp ocl::Kernel k("copyMakeBorder", ocl::core::copymakeborder_oclsrc, buildOptions); ocl 1136 modules/core/src/copy.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl 1137 modules/core/src/copy.cpp top, left, ocl::KernelArg::Constant(Mat(1, 1, sctype, value))); ocl 684 modules/core/src/directx.cpp using namespace cv::ocl; ocl 722 modules/core/src/directx.cpp using namespace cv::ocl; ocl 779 modules/core/src/directx.cpp using namespace cv::ocl; ocl 832 modules/core/src/directx.cpp using namespace cv::ocl; ocl 870 modules/core/src/directx.cpp using namespace cv::ocl; ocl 927 modules/core/src/directx.cpp using namespace cv::ocl; ocl 980 modules/core/src/directx.cpp using namespace cv::ocl; ocl 1021 modules/core/src/directx.cpp using namespace cv::ocl; ocl 1034 modules/core/src/directx.cpp ocl::g_isDirect3DDevice9Ex ? CL_ADAPTER_D3D9EX_KHR : CL_ADAPTER_D3D9_KHR, ocl 1085 modules/core/src/directx.cpp using namespace cv::ocl; ocl 1100 modules/core/src/directx.cpp ocl::g_isDirect3DDevice9Ex ? CL_ADAPTER_D3D9EX_KHR : CL_ADAPTER_D3D9_KHR, ocl 1838 modules/core/src/dxt.cpp if (thread_count > (int) ocl::Device::getDefault().maxWorkGroupSize()) ocl 1865 modules/core/src/dxt.cpp dft_size, min_radix, ocl::typeToStr(dft_depth), ocl::typeToStr(CV_MAKE_TYPE(dft_depth, 2)), ocl 1919 modules/core/src/dxt.cpp ocl::Kernel k(kernel_name.c_str(), ocl::core::fft_oclsrc, options); ocl 1923 modules/core/src/dxt.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::ReadOnlyNoSize(twiddles), thread_count, num_dfts); ocl 2080 modules/core/src/dxt.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 2209 modules/core/src/dxt.cpp context((cl_context)ocl::Context::getDefault().ptr()), plHandle(0) ocl 2253 modules/core/src/dxt.cpp CLAMDDFT_Assert(clAmdFftCreateDefaultPlan(&plHandle, (cl_context)ocl::Context::getDefault().ptr(), dim, clLengthsIn)) ocl 2268 modules/core/src/dxt.cpp cl_command_queue queue = (cl_command_queue)ocl::Queue::getDefault().ptr(); ocl 2301 modules/core/src/dxt.cpp cl_context currentContext = (cl_context)ocl::Context::getDefault().ptr(); ocl 2366 modules/core/src/dxt.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 2411 modules/core/src/dxt.cpp cl_command_queue queue = (cl_command_queue)ocl::Queue::getDefault().ptr(); ocl 2473 modules/core/src/dxt.cpp CV_OCL_RUN(ocl::haveAmdFft() && ocl::Device::getDefault().type() != ocl::Device::TYPE_CPU && ocl 2917 modules/core/src/dxt.cpp rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 2930 modules/core/src/dxt.cpp ocl::Kernel k("mulAndScaleSpectrums", ocl 2931 modules/core/src/dxt.cpp ocl::core::mulspectrums_oclsrc, ocl 2936 modules/core/src/dxt.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(A), ocl::KernelArg::ReadOnlyNoSize(B), ocl 2937 modules/core/src/dxt.cpp ocl::KernelArg::WriteOnly(dst), rowsPerWI); ocl 68 modules/core/src/mathfuncs.cpp oclop == OCL_OP_PHASE_RADIANS ? 1 : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); ocl 70 modules/core/src/mathfuncs.cpp const ocl::Device d = ocl::Device::getDefault(); ocl 76 modules/core/src/mathfuncs.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 78 modules/core/src/mathfuncs.cpp oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, ocl 87 modules/core/src/mathfuncs.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1), ocl 88 modules/core/src/mathfuncs.cpp src2arg = ocl::KernelArg::ReadOnlyNoSize(src2), ocl 89 modules/core/src/mathfuncs.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 302 modules/core/src/mathfuncs.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 312 modules/core/src/mathfuncs.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 314 modules/core/src/mathfuncs.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), ocl 328 modules/core/src/mathfuncs.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1), ocl 329 modules/core/src/mathfuncs.cpp ocl::KernelArg::ReadOnlyNoSize(src2), ocl 330 modules/core/src/mathfuncs.cpp ocl::KernelArg::WriteOnly(dst1, cn), ocl 331 modules/core/src/mathfuncs.cpp ocl::KernelArg::WriteOnlyNoSize(dst2)); ocl 588 modules/core/src/mathfuncs.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 596 modules/core/src/mathfuncs.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 598 modules/core/src/mathfuncs.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), rowsPerWI, ocl 612 modules/core/src/mathfuncs.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(mag), ocl::KernelArg::ReadOnlyNoSize(angle), ocl 613 modules/core/src/mathfuncs.cpp ocl::KernelArg::WriteOnly(dst1, cn), ocl::KernelArg::WriteOnlyNoSize(dst2)); ocl 1293 modules/core/src/mathfuncs.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 1326 modules/core/src/mathfuncs.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 1328 modules/core/src/mathfuncs.cpp ocl::typeToStr(depth), depth, rowsPerWI, op, ocl 1337 modules/core/src/mathfuncs.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 1338 modules/core/src/mathfuncs.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn); ocl 1370 modules/core/src/mathfuncs.cpp if( is_ipower && !(ocl::Device::getDefault().isIntel() && useOpenCL && depth != CV_64F)) ocl 1724 modules/core/src/mathfuncs.cpp int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 1725 modules/core/src/mathfuncs.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 1734 modules/core/src/mathfuncs.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(a), ocl 1735 modules/core/src/mathfuncs.cpp ocl::KernelArg::WriteOnly(a, cn), (float)value); ocl 724 modules/core/src/matmul.cpp if (!ocl::internal::isCLBuffer(A) || !ocl::internal::isCLBuffer(B) || !ocl::internal::isCLBuffer(D)) ocl 731 modules/core/src/matmul.cpp if (!ocl::internal::isCLBuffer(C)) ocl 743 modules/core/src/matmul.cpp cl_command_queue clq = (cl_command_queue)ocl::Queue::getDefault().ptr(); ocl 799 modules/core/src/matmul.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 838 modules/core/src/matmul.cpp int kercn = ocl::checkOptimalVectorWidth(vectorWidths, B, D); ocl 841 modules/core/src/matmul.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), ocl 847 modules/core/src/matmul.cpp ocl::Kernel k("gemm", cv::ocl::core::gemm_oclsrc, opts); ocl 852 modules/core/src/matmul.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(A), ocl 853 modules/core/src/matmul.cpp ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), ocl 854 modules/core/src/matmul.cpp ocl::KernelArg::ReadWrite(D, cn, kercn), ocl 857 modules/core/src/matmul.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(A), ocl 858 modules/core/src/matmul.cpp ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), ocl 859 modules/core/src/matmul.cpp ocl::KernelArg::ReadWrite(D, cn, kercn), ocl 873 modules/core/src/matmul.cpp CV_OCL_RUN(ocl::haveAmdBlas() && matA.dims() <= 2 && matB.dims() <= 2 && matC.dims() <= 2 && _matD.isUMat() && ocl 2269 modules/core/src/matmul.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 2279 modules/core/src/matmul.cpp int kercn = ocl::predictOptimalVectorWidthMax(_src1, _src2, _dst), ocl 2283 modules/core/src/matmul.cpp ocl::Kernel k("KF", ocl::core::arithm_oclsrc, ocl 2287 modules/core/src/matmul.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 2288 modules/core/src/matmul.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), ocl 2289 modules/core/src/matmul.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), ocl 2290 modules/core/src/matmul.cpp ocl::convertTypeStr(wdepth, depth, kercn, cvt[1]), ocl 2291 modules/core/src/matmul.cpp ocl::typeToStr(wdepth), wdepth, ocl 2298 modules/core/src/matmul.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1), ocl 2299 modules/core/src/matmul.cpp src2arg = ocl::KernelArg::ReadOnlyNoSize(src2), ocl 2300 modules/core/src/matmul.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 2814 modules/core/src/matrix.cpp if (ocl::Device::getDefault().isIntel()) ocl 2819 modules/core/src/matrix.cpp kercn = std::min(ocl::predictOptimalVectorWidth(_m), 4); ocl 2825 modules/core/src/matrix.cpp ocl::Kernel k("setIdentity", ocl::core::set_identity_oclsrc, ocl 2827 modules/core/src/matrix.cpp ocl::memopTypeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 2828 modules/core/src/matrix.cpp ocl::memopTypeToStr(depth), cn, ocl 2829 modules/core/src/matrix.cpp ocl::memopTypeToStr(sctype), ocl 2835 modules/core/src/matrix.cpp k.args(ocl::KernelArg::WriteOnly(m, cn, kercn), ocl 2836 modules/core/src/matrix.cpp ocl::KernelArg::Constant(Mat(1, 1, sctype, s))); ocl 3039 modules/core/src/matrix.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 3060 modules/core/src/matrix.cpp if (required_local_memory > ocl::Device::getDefault().localMemSize()) ocl 3064 modules/core/src/matrix.cpp ocl::Kernel k(kernelName.c_str(), ocl::core::transpose_oclsrc, ocl 3066 modules/core/src/matrix.cpp ocl::memopTypeToStr(type), ocl::memopTypeToStr(depth), ocl 3072 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadWriteNoSize(dst), dst.rows); ocl 3074 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl 3075 modules/core/src/matrix.cpp ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 3532 modules/core/src/matrix.cpp const ocl::Device &defDev = ocl::Device::getDefault(); ocl 3564 modules/core/src/matrix.cpp ocl::typeToStr(sdepth), ocl 3565 modules/core/src/matrix.cpp ocl::typeToStr(ddepth), ocl 3566 modules/core/src/matrix.cpp ocl::typeToStr(ddepth0), ocl 3567 modules/core/src/matrix.cpp ocl::convertTypeStr(ddepth, wdepth, 1, cvt[0]), ocl 3568 modules/core/src/matrix.cpp ocl::convertTypeStr(sdepth, ddepth, 1, cvt[1]), ocl 3569 modules/core/src/matrix.cpp ocl::convertTypeStr(wdepth, ddepth0, 1, cvt[2]), ocl 3571 modules/core/src/matrix.cpp ocl::Kernel k("reduce_horz_opt", ocl::core::reduce2_oclsrc, build_opt); ocl 3580 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl 3581 modules/core/src/matrix.cpp ocl::KernelArg::WriteOnlyNoSize(dst), 1.0f / src.cols); ocl 3583 modules/core/src/matrix.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl 3584 modules/core/src/matrix.cpp ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 3596 modules/core/src/matrix.cpp ops[op], dim, cn, ddepth, ocl::typeToStr(useOptimized ? ddepth : sdepth), ocl 3597 modules/core/src/matrix.cpp ocl::typeToStr(ddepth), ocl::typeToStr(ddepth0), ocl 3598 modules/core/src/matrix.cpp ocl::convertTypeStr(ddepth, wdepth, 1, cvt[0]), ocl 3599 modules/core/src/matrix.cpp ocl::convertTypeStr(sdepth, ddepth, 1, cvt[0]), ocl 3600 modules/core/src/matrix.cpp ocl::convertTypeStr(wdepth, ddepth0, 1, cvt[1]), ocl 3603 modules/core/src/matrix.cpp ocl::Kernel k("reduce", ocl::core::reduce2_oclsrc, build_opt); ocl 3612 modules/core/src/matrix.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), ocl 3613 modules/core/src/matrix.cpp temparg = ocl::KernelArg::WriteOnlyNoSize(dst); ocl 2895 modules/core/src/ocl.cpp const SVMCapabilities getSVMCapabilitites(const ocl::Context& context) ocl 2904 modules/core/src/ocl.cpp CV_EXPORTS const SVMFunctions* getSVMFunctions(const ocl::Context& context) ocl 3159 modules/core/src/ocl.cpp ((cv::ocl::Kernel::Impl*)p)->finit(); ocl 4153 modules/core/src/ocl.cpp defaultPoolSize = ocl::Device::getDefault().isIntel() ? 1 << 27 : 0; ocl 5447 modules/core/src/ocl.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 5518 modules/core/src/ocl.cpp name.c_str(), ocl::typeToStr(type), ocl 5519 modules/core/src/ocl.cpp name.c_str(), ocl::typeToStr(CV_MAKE_TYPE(depth, 1)), ocl 5591 modules/core/src/ocl.cpp CV_Assert(ocl::Device::getDefault().imageSupport()); ocl 5609 modules/core/src/ocl.cpp const Device & d = ocl::Device::getDefault(); ocl 5686 modules/core/src/ocl.cpp const Device & d = ocl::Device::getDefault(); ocl 55 modules/core/src/opencl/runtime/runtime_common.hpp using namespace cv::ocl::runtime; ocl 273 modules/core/src/precomp.hpp ocl::Queue oclQueue; ocl 1053 modules/core/src/stat.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 1058 modules/core/src/stat.cpp kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1, ocl 1082 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, mcn)), ocl::typeToStr(depth), ocl 1083 modules/core/src/stat.cpp ocl::typeToStr(dtype), ocl::typeToStr(CV_MAKE_TYPE(ddepth, mcn)), ocl 1084 modules/core/src/stat.cpp ocl::typeToStr(ddepth), ddepth, cn, ocl 1085 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, mcn, cvt[0]), ocl 1093 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, convert_cn, cvt[1]) : "noconvert"); ocl 1095 modules/core/src/stat.cpp ocl::Kernel k("reduce", ocl::core::reduce_oclsrc, opts); ocl 1102 modules/core/src/stat.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 1103 modules/core/src/stat.cpp dbarg = ocl::KernelArg::PtrWriteOnly(db), ocl 1104 modules/core/src/stat.cpp maskarg = ocl::KernelArg::ReadOnlyNoSize(mask), ocl 1105 modules/core/src/stat.cpp src2arg = ocl::KernelArg::ReadOnlyNoSize(src2); ocl 1256 modules/core/src/stat.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), kercn = ocl::predictOptimalVectorWidth(_src); ocl 1257 modules/core/src/stat.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 1262 modules/core/src/stat.cpp int dbsize = ocl::Device::getDefault().maxComputeUnits(); ocl 1263 modules/core/src/stat.cpp size_t wgs = ocl::Device::getDefault().maxWorkGroupSize(); ocl 1270 modules/core/src/stat.cpp ocl::Kernel k("reduce", ocl::core::reduce_oclsrc, ocl 1273 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 1274 modules/core/src/stat.cpp ocl::typeToStr(depth), (int)wgs, kercn, ocl 1281 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), ocl 1282 modules/core/src/stat.cpp dbsize, ocl::KernelArg::PtrWriteOnly(db)); ocl 1513 modules/core/src/stat.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0, ocl 1516 modules/core/src/stat.cpp const ocl::Device &defDev = ocl::Device::getDefault(); ocl 1542 modules/core/src/stat.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl 1543 modules/core/src/stat.cpp ocl::typeToStr(dtype), ocl::typeToStr(ddepth), sqddepth, ocl 1544 modules/core/src/stat.cpp ocl::typeToStr(sqdtype), ocl::typeToStr(sqddepth), ocl 1545 modules/core/src/stat.cpp ocl::convertTypeStr(depth, sqddepth, cn, cvt[0]), ocl 1548 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, cn, cvt[1]), ocl 1552 modules/core/src/stat.cpp ocl::Kernel k("meanStdDev", ocl::core::meanstddev_oclsrc, opts); ocl 1560 modules/core/src/stat.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 1561 modules/core/src/stat.cpp dbarg = ocl::KernelArg::PtrWriteOnly(db), ocl 1562 modules/core/src/stat.cpp maskarg = ocl::KernelArg::ReadOnlyNoSize(mask); ocl 2051 modules/core/src/stat.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 2061 modules/core/src/stat.cpp kercn = haveMask ? cn : std::min(4, ocl::predictOptimalVectorWidth(_src, _src2)); ocl 2106 modules/core/src/stat.cpp depth, ocl::typeToStr(depth), haveMask ? " -D HAVE_MASK" : "", (int)wgs, ocl 2107 modules/core/src/stat.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), wgs2_aligned, ocl 2113 modules/core/src/stat.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), ocl 2114 modules/core/src/stat.cpp ocl::convertTypeStr(depth, ddepth, kercn, cvt[0]), ocl 2118 modules/core/src/stat.cpp depth <= CV_32S && ddepth == CV_32S ? ocl::convertTypeStr(CV_8U, ddepth, kercn, cvt[1]) : "noconvert"); ocl 2120 modules/core/src/stat.cpp ocl::Kernel k("minmaxloc", ocl::core::minmaxloc_oclsrc, opts); ocl 2139 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), ocl 2140 modules/core/src/stat.cpp groupnum, ocl::KernelArg::PtrWriteOnly(db), ocl::KernelArg::ReadOnlyNoSize(src2)); ocl 2142 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), ocl 2143 modules/core/src/stat.cpp groupnum, ocl::KernelArg::PtrWriteOnly(db), ocl::KernelArg::ReadOnlyNoSize(mask), ocl 2144 modules/core/src/stat.cpp ocl::KernelArg::ReadOnlyNoSize(src2)); ocl 2149 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), ocl 2150 modules/core/src/stat.cpp groupnum, ocl::KernelArg::PtrWriteOnly(db)); ocl 2152 modules/core/src/stat.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), src.cols, (int)src.total(), ocl 2153 modules/core/src/stat.cpp groupnum, ocl::KernelArg::PtrWriteOnly(db), ocl::KernelArg::ReadOnlyNoSize(mask)); ocl 2567 modules/core/src/stat.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 2946 modules/core/src/stat.cpp if (ocl::Device::getDefault().isNVidia()) ocl 394 modules/core/src/system.cpp ocl::setUseOpenCL(flag); ocl 91 modules/core/src/umatrix.cpp if( ocl::haveOpenCL() && ocl::useOpenCL() ) ocl 92 modules/core/src/umatrix.cpp return ocl::getOpenCLAllocator(); ocl 674 modules/core/src/umatrix.cpp if (ocl::useOpenCL() && _dst.isUMat() && dims <= 2) ocl 686 modules/core/src/umatrix.cpp ocl::memopTypeToStr(depth()), cn, mcn, ocl 689 modules/core/src/umatrix.cpp ocl::Kernel k("copyToMask", ocl::core::copyset_oclsrc, opts); ocl 692 modules/core/src/umatrix.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(*this), ocl 693 modules/core/src/umatrix.cpp ocl::KernelArg::ReadOnlyNoSize(_mask.getUMat()), ocl 694 modules/core/src/umatrix.cpp haveDstUninit ? ocl::KernelArg::WriteOnly(dst) : ocl 695 modules/core/src/umatrix.cpp ocl::KernelArg::ReadWrite(dst)); ocl 727 modules/core/src/umatrix.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 729 modules/core/src/umatrix.cpp if( dims <= 2 && cn && _dst.isUMat() && ocl::useOpenCL() && ocl 735 modules/core/src/umatrix.cpp ocl::Kernel k("convertTo", ocl::core::convert_oclsrc, ocl 737 modules/core/src/umatrix.cpp ocl::typeToStr(sdepth), ocl::typeToStr(wdepth), ocl::typeToStr(ddepth), ocl 738 modules/core/src/umatrix.cpp ocl::convertTypeStr(sdepth, wdepth, 1, cvt[0]), ocl 739 modules/core/src/umatrix.cpp ocl::convertTypeStr(wdepth, ddepth, 1, cvt[1]), ocl 748 modules/core/src/umatrix.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 749 modules/core/src/umatrix.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn); ocl 775 modules/core/src/umatrix.cpp if( dims <= 2 && cn <= 4 && CV_MAT_DEPTH(tp) < CV_64F && ocl::useOpenCL() ) ocl 779 modules/core/src/umatrix.cpp int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), ocl 786 modules/core/src/umatrix.cpp int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 788 modules/core/src/umatrix.cpp ocl::memopTypeToStr(kertp), rowsPerWI, ocl 789 modules/core/src/umatrix.cpp ocl::memopTypeToStr(CV_MAKETYPE(d, scalarcn)), ocl 790 modules/core/src/umatrix.cpp ocl::memopTypeToStr(d), kercn); ocl 792 modules/core/src/umatrix.cpp ocl::Kernel setK(haveMask ? "setMask" : "set", ocl::core::copyset_oclsrc, opts); ocl 795 modules/core/src/umatrix.cpp ocl::KernelArg scalararg(0, 0, 0, 0, buf, CV_ELEM_SIZE(d) * scalarcn); ocl 802 modules/core/src/umatrix.cpp ocl::KernelArg maskarg = ocl::KernelArg::ReadOnlyNoSize(mask), ocl 803 modules/core/src/umatrix.cpp dstarg = ocl::KernelArg::ReadWrite(*this); ocl 808 modules/core/src/umatrix.cpp ocl::KernelArg dstarg = ocl::KernelArg::WriteOnly(*this, cn, kercn); ocl 860 modules/core/src/umatrix.cpp kercn = ocl::predictOptimalVectorWidth(src1, src2); ocl 861 modules/core/src/umatrix.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 866 modules/core/src/umatrix.cpp int dbsize = ocl::Device::getDefault().maxComputeUnits(); ocl 867 modules/core/src/umatrix.cpp size_t wgs = ocl::Device::getDefault().maxWorkGroupSize(); ocl 876 modules/core/src/umatrix.cpp ocl::Kernel k("reduce", ocl::core::reduce_oclsrc, ocl 879 modules/core/src/umatrix.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl::typeToStr(depth), ocl 880 modules/core/src/umatrix.cpp ocl::typeToStr(ddepth), ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), ocl 881 modules/core/src/umatrix.cpp ddepth, ocl::convertTypeStr(depth, ddepth, kercn, cvt), ocl 890 modules/core/src/umatrix.cpp ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1), ocl 891 modules/core/src/umatrix.cpp src2arg = ocl::KernelArg::ReadOnlyNoSize(src2), ocl 892 modules/core/src/umatrix.cpp dbarg = ocl::KernelArg::PtrWriteOnly(db); ocl 18 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) ocl 21 modules/core/test/ocl/test_image2d.cpp EXPECT_FALSE(cv::ocl::Image2D::canCreateAlias(um)); ocl 29 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) ocl 32 modules/core/test/ocl/test_image2d.cpp EXPECT_ANY_THROW(cv::ocl::Image2D image(um)); ocl 40 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) ocl 42 modules/core/test/ocl/test_image2d.cpp const cv::ocl::Device & d = cv::ocl::Device::getDefault(); ocl 51 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, false)); ocl 52 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(canCreateAlias = cv::ocl::Image2D::canCreateAlias(um)); ocl 56 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(cv::ocl::Image2D image(um, false, true)); ocl 68 modules/core/test/ocl/test_image2d.cpp if (cv::ocl::haveOpenCL()) ocl 71 modules/core/test/ocl/test_image2d.cpp bool useOCL = cv::ocl::useOpenCL(); ocl 74 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(true); ocl 77 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(false); ocl 78 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(isFormatSupported = cv::ocl::Image2D::isFormatSupported(CV_8U, 1, true)); ocl 82 modules/core/test/ocl/test_image2d.cpp EXPECT_NO_THROW(cv::ocl::Image2D image(um)); ocl 88 modules/core/test/ocl/test_image2d.cpp cv::ocl::setUseOpenCL(useOCL); ocl 535 modules/core/test/test_umat.cpp BufferPoolController* c = cv::ocl::getOpenCLAllocator()->getBufferPoolController(); ocl 692 modules/core/test/test_umat.cpp cv::ocl::useOpenCL() ? "TRUE" : "FALSE", ocl 693 modules/core/test/test_umat.cpp cv::ocl::haveOpenCL() ? "TRUE" : "FALSE" ); ocl 775 modules/core/test/test_umat.cpp bool useOCL = cv::ocl::useOpenCL(); ocl 779 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(true); ocl 783 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(false); ocl 787 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(true); ocl 798 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(false); ocl 810 modules/core/test/test_umat.cpp cv::ocl::setUseOpenCL(useOCL); ocl 66 modules/features2d/perf/opencl/perf_orb.cpp if (cv::ocl::Device::getDefault().isNVidia()) ocl 267 modules/features2d/src/fast.cpp ocl::Kernel fastKptKernel("FAST_findKeypoints", ocl::features2d::fast_oclsrc); ocl 276 modules/features2d/src/fast.cpp if( !fastKptKernel.args(ocl::KernelArg::ReadOnly(img), ocl 277 modules/features2d/src/fast.cpp ocl::KernelArg::PtrReadWrite(kp1), ocl 305 modules/features2d/src/fast.cpp ocl::Kernel fastNMSKernel("FAST_nonmaxSupression", ocl::features2d::fast_oclsrc); ocl 310 modules/features2d/src/fast.cpp if( !fastNMSKernel.args(ocl::KernelArg::PtrReadOnly(kp1), ocl 311 modules/features2d/src/fast.cpp ocl::KernelArg::PtrReadWrite(kp2), ocl 312 modules/features2d/src/fast.cpp ocl::KernelArg::ReadOnly(img), ocl 333 modules/features2d/src/fast.cpp if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 && ocl 75 modules/features2d/src/matchers.cpp ocl::Device devDef = ocl::Device::getDefault(); ocl 86 modules/features2d/src/matchers.cpp bool is_cpu = devDef.type() == ocl::Device::TYPE_CPU; ocl 95 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); ocl 96 modules/features2d/src/matchers.cpp ocl::Kernel k("BruteForceMatch_Match", ocl::features2d::brute_force_match_oclsrc, opts); ocl 104 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); ocl 105 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); ocl 106 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); ocl 107 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); ocl 175 modules/features2d/src/matchers.cpp ocl::Device devDef = ocl::Device::getDefault(); ocl 186 modules/features2d/src/matchers.cpp bool is_cpu = devDef.type() == ocl::Device::TYPE_CPU; ocl 195 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); ocl 196 modules/features2d/src/matchers.cpp ocl::Kernel k("BruteForceMatch_knnMatch", ocl::features2d::brute_force_match_oclsrc, opts); ocl 204 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); ocl 205 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); ocl 206 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); ocl 207 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); ocl 292 modules/features2d/src/matchers.cpp ocl::Device devDef = ocl::Device::getDefault(); ocl 304 modules/features2d/src/matchers.cpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size); ocl 305 modules/features2d/src/matchers.cpp ocl::Kernel k("BruteForceMatch_RadiusMatch", ocl::features2d::brute_force_match_oclsrc, opts); ocl 313 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(uquery)); ocl 314 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(utrain)); ocl 316 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(trainIdx)); ocl 317 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(distance)); ocl 318 modules/features2d/src/matchers.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(nMatches)); ocl 751 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && ocl 895 modules/features2d/src/matchers.cpp if ( ocl::useOpenCL() && _queryDescriptors.isUMat() && _queryDescriptors.dims()<=2 && trainDescVectorSize == 1 && ocl 72 modules/features2d/src/orb.cpp ocl::Kernel hr_ker("ORB_HarrisResponses", ocl::features2d::orb_oclsrc, ocl 77 modules/features2d/src/orb.cpp return hr_ker.args(ocl::KernelArg::ReadOnlyNoSize(imgbuf), ocl 78 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(layerinfo), ocl 79 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(keypoints), ocl 80 modules/features2d/src/orb.cpp ocl::KernelArg::PtrWriteOnly(responses), ocl 91 modules/features2d/src/orb.cpp ocl::Kernel icangle_ker("ORB_ICAngle", ocl::features2d::orb_oclsrc, "-D ORB_ANGLES"); ocl 95 modules/features2d/src/orb.cpp return icangle_ker.args(ocl::KernelArg::ReadOnlyNoSize(imgbuf), ocl 96 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(layerinfo), ocl 97 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(keypoints), ocl 98 modules/features2d/src/orb.cpp ocl::KernelArg::PtrWriteOnly(responses), ocl 99 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(umax), ocl 111 modules/features2d/src/orb.cpp ocl::Kernel desc_ker("ORB_computeDescriptor", ocl::features2d::orb_oclsrc, ocl 116 modules/features2d/src/orb.cpp return desc_ker.args(ocl::KernelArg::ReadOnlyNoSize(imgbuf), ocl 117 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(layerInfo), ocl 118 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(keypoints), ocl 119 modules/features2d/src/orb.cpp ocl::KernelArg::PtrWriteOnly(desc), ocl 120 modules/features2d/src/orb.cpp ocl::KernelArg::PtrReadOnly(pattern), ocl 962 modules/features2d/src/orb.cpp bool useOCL = ocl::useOpenCL(); ocl 796 modules/imgproc/src/accum.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 799 modules/imgproc/src/accum.cpp int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; ocl 808 modules/imgproc/src/accum.cpp ocl::Kernel k("accumulate", ocl::imgproc::accumulate_oclsrc, ocl 811 modules/imgproc/src/accum.cpp ocl::typeToStr(sdepth), kercn, ocl::typeToStr(ddepth), ocl 813 modules/imgproc/src/accum.cpp ocl::convertTypeStr(sdepth, ddepth, 1, cvt))); ocl 819 modules/imgproc/src/accum.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 820 modules/imgproc/src/accum.cpp src2arg = ocl::KernelArg::ReadOnlyNoSize(src2), ocl 821 modules/imgproc/src/accum.cpp dstarg = ocl::KernelArg::ReadWrite(dst, cn, kercn), ocl 822 modules/imgproc/src/accum.cpp maskarg = ocl::KernelArg::ReadOnlyNoSize(mask); ocl 101 modules/imgproc/src/blend.cpp ocl::Kernel k("blendLinear", ocl::imgproc::blend_linear_oclsrc, ocl 102 modules/imgproc/src/blend.cpp format("-D T=%s -D cn=%d -D convertToT=%s", ocl::typeToStr(depth), ocl 103 modules/imgproc/src/blend.cpp cn, ocl::convertTypeStr(CV_32F, depth, 1, cvt))); ocl 110 modules/imgproc/src/blend.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1), ocl::KernelArg::ReadOnlyNoSize(src2), ocl 111 modules/imgproc/src/blend.cpp ocl::KernelArg::ReadOnlyNoSize(weights1), ocl::KernelArg::ReadOnlyNoSize(weights2), ocl 112 modules/imgproc/src/blend.cpp ocl::KernelArg::WriteOnly(dst)); ocl 103 modules/imgproc/src/canny.cpp const ocl::Device &dev = ocl::Device::getDefault(); ocl 141 modules/imgproc/src/canny.cpp ocl::Kernel with_sobel("stage1_with_sobel", ocl::imgproc::canny_oclsrc, ocl 143 modules/imgproc/src/canny.cpp cn, ocl::memopTypeToStr(_src.depth()), ocl 144 modules/imgproc/src/canny.cpp ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt), ocl 145 modules/imgproc/src/canny.cpp ocl::typeToStr(CV_MAKE_TYPE(CV_32F, cn)), ocl 153 modules/imgproc/src/canny.cpp with_sobel.args(ocl::KernelArg::ReadOnly(src), ocl 154 modules/imgproc/src/canny.cpp ocl::KernelArg::WriteOnlyNoSize(map), ocl 175 modules/imgproc/src/canny.cpp ocl::Kernel without_sobel("stage1_without_sobel", ocl::imgproc::canny_oclsrc, ocl 182 modules/imgproc/src/canny.cpp without_sobel.args(ocl::KernelArg::ReadOnlyNoSize(dx), ocl::KernelArg::ReadOnlyNoSize(dy), ocl 183 modules/imgproc/src/canny.cpp ocl::KernelArg::WriteOnly(map), ocl 205 modules/imgproc/src/canny.cpp ocl::Kernel edgesHysteresis("stage2_hysteresis", ocl::imgproc::canny_oclsrc, ocl 212 modules/imgproc/src/canny.cpp edgesHysteresis.args(ocl::KernelArg::ReadWrite(map)); ocl 218 modules/imgproc/src/canny.cpp ocl::Kernel getEdgesKernel("getEdges", ocl::imgproc::canny_oclsrc, ocl 226 modules/imgproc/src/canny.cpp getEdgesKernel.args(ocl::KernelArg::ReadOnly(map), ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 57 modules/imgproc/src/clahe.cpp cv::ocl::Kernel _k("calcLut", cv::ocl::imgproc::clahe_oclsrc); ocl 59 modules/imgproc/src/clahe.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; ocl 66 modules/imgproc/src/clahe.cpp cv::ocl::Kernel k("calcLut", cv::ocl::imgproc::clahe_oclsrc, opts); ocl 82 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); ocl 83 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 96 modules/imgproc/src/clahe.cpp cv::ocl::Kernel k("transform", cv::ocl::imgproc::clahe_oclsrc); ocl 113 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(src)); ocl 114 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::WriteOnlyNoSize(dst)); ocl 115 modules/imgproc/src/clahe.cpp idx = k.set(idx, cv::ocl::KernelArg::ReadOnlyNoSize(lut)); ocl 357 modules/imgproc/src/clahe.cpp bool useOpenCL = cv::ocl::useOpenCL() && _src.isUMat() && _src.dims()<=2 && _src.type() == CV_8UC1; ocl 6685 modules/imgproc/src/color.cpp ocl::Kernel k; ocl 6690 modules/imgproc/src/color.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 6691 modules/imgproc/src/color.cpp int pxPerWIy = dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU) ? 4 : 1; ocl 6706 modules/imgproc/src/color.cpp k.create("RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 6720 modules/imgproc/src/color.cpp k.create("RGB5x52RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 6733 modules/imgproc/src/color.cpp k.create("RGB2RGB5x5", ocl::imgproc::cvtcolor_oclsrc, ocl 6742 modules/imgproc/src/color.cpp k.create("BGR5x52Gray", ocl::imgproc::cvtcolor_oclsrc, ocl 6751 modules/imgproc/src/color.cpp k.create("Gray2BGR5x5", ocl::imgproc::cvtcolor_oclsrc, ocl 6761 modules/imgproc/src/color.cpp k.create("RGB2Gray", ocl::imgproc::cvtcolor_oclsrc, ocl 6772 modules/imgproc/src/color.cpp k.create("Gray2RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 6782 modules/imgproc/src/color.cpp k.create("RGB2YUV", ocl::imgproc::cvtcolor_oclsrc, ocl 6792 modules/imgproc/src/color.cpp k.create("YUV2RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 6810 modules/imgproc/src/color.cpp k.create("YUV2RGB_NVx", ocl::imgproc::cvtcolor_oclsrc, ocl 6828 modules/imgproc/src/color.cpp k.create("YUV2RGB_YV12_IYUV", ocl::imgproc::cvtcolor_oclsrc, ocl 6871 modules/imgproc/src/color.cpp k.create("RGB2YUV_YV12_IYUV", ocl::imgproc::cvtcolor_oclsrc, ocl 6873 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); ocl 6894 modules/imgproc/src/color.cpp k.create("YUV2RGB_422", ocl::imgproc::cvtcolor_oclsrc, ocl 6905 modules/imgproc/src/color.cpp k.create("RGB2YCrCb", ocl::imgproc::cvtcolor_oclsrc, ocl 6916 modules/imgproc/src/color.cpp k.create("YCrCb2RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 6962 modules/imgproc/src/color.cpp k.create("RGB2XYZ", ocl::imgproc::cvtcolor_oclsrc, ocl 6966 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(c)); ocl 7013 modules/imgproc/src/color.cpp k.create("XYZ2RGB", ocl::imgproc::cvtcolor_oclsrc, ocl 7017 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(c)); ocl 7069 modules/imgproc/src/color.cpp k.create("RGB2HSV", ocl::imgproc::cvtcolor_oclsrc, ocl 7075 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl 7076 modules/imgproc/src/color.cpp ocl::KernelArg::PtrReadOnly(sdiv_data), hrange == 256 ? ocl::KernelArg::PtrReadOnly(hdiv_data256) : ocl 7077 modules/imgproc/src/color.cpp ocl::KernelArg::PtrReadOnly(hdiv_data180)); ocl 7082 modules/imgproc/src/color.cpp k.create(kernelName.c_str(), ocl::imgproc::cvtcolor_oclsrc, ocl 7101 modules/imgproc/src/color.cpp k.create(kernelName.c_str(), ocl::imgproc::cvtcolor_oclsrc, ocl 7111 modules/imgproc/src/color.cpp k.create(code == COLOR_RGBA2mRGBA ? "RGBA2mRGBA" : "mRGBA2RGBA", ocl::imgproc::cvtcolor_oclsrc, ocl 7127 modules/imgproc/src/color.cpp ocl::imgproc::cvtcolor_oclsrc, ocl 7138 modules/imgproc/src/color.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 7139 modules/imgproc/src/color.cpp dstarg = ocl::KernelArg::WriteOnly(dst); ocl 7178 modules/imgproc/src/color.cpp ocl::KernelArg::PtrReadOnly(srgb ? usRGBGammaTab : ulinearGammaTab), ocl 7179 modules/imgproc/src/color.cpp ocl::KernelArg::PtrReadOnly(uLabCbrtTab), ocl::KernelArg::PtrReadOnly(ucoeffs), ocl 7215 modules/imgproc/src/color.cpp ocl::KernelArg ucoeffsarg = ocl::KernelArg::PtrReadOnly(ucoeffs); ocl 7220 modules/imgproc/src/color.cpp k.args(srcarg, dstarg, ocl::KernelArg::PtrReadOnly(usRGBGammaTab), ocl 7227 modules/imgproc/src/color.cpp ocl::KernelArg LabCbrtTabarg = ocl::KernelArg::PtrReadOnly(uLabCbrtTab); ocl 7229 modules/imgproc/src/color.cpp k.args(srcarg, dstarg, ocl::KernelArg::PtrReadOnly(usRGBGammaTab), ocl 7251 modules/imgproc/src/color.cpp ocl::imgproc::cvtcolor_oclsrc, ocl 7287 modules/imgproc/src/color.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 7288 modules/imgproc/src/color.cpp dstarg = ocl::KernelArg::WriteOnly(dst), ocl 7289 modules/imgproc/src/color.cpp coeffsarg = ocl::KernelArg::PtrReadOnly(ucoeffs); ocl 7294 modules/imgproc/src/color.cpp k.args(srcarg, dstarg, ocl::KernelArg::PtrReadOnly(usRGBInvGammaTab), ocl 7302 modules/imgproc/src/color.cpp k.args(srcarg, dstarg, ocl::KernelArg::PtrReadOnly(usRGBInvGammaTab), ocl 7318 modules/imgproc/src/color.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); ocl 407 modules/imgproc/src/corner.cpp ocl::Kernel k(format("sobel%d", aperture_size).c_str(), ocl::imgproc::covardata_oclsrc, ocl 409 modules/imgproc/src/corner.cpp (int)localsize[0], (int)localsize[1], borderTypes[borderType], ocl::typeToStr(depth), ocl 414 modules/imgproc/src/corner.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, src_offset_x, src_offset_y, ocl 415 modules/imgproc/src/corner.cpp ocl::KernelArg::WriteOnlyNoSize(Dx), ocl::KernelArg::WriteOnly(Dy), ocl 466 modules/imgproc/src/corner.cpp ocl::Kernel cornelKernel("corner", ocl::imgproc::corner_oclsrc, ocl 476 modules/imgproc/src/corner.cpp cornelKernel.args(ocl::KernelArg::ReadOnly(Dx), ocl::KernelArg::ReadOnly(Dy), ocl 477 modules/imgproc/src/corner.cpp ocl::KernelArg::WriteOnly(dst), (float)k); ocl 510 modules/imgproc/src/corner.cpp ocl::Kernel k("preCornerDetect", ocl::imgproc::precornerdetect_oclsrc); ocl 514 modules/imgproc/src/corner.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(Dx), ocl::KernelArg::ReadOnlyNoSize(Dy), ocl 515 modules/imgproc/src/corner.cpp ocl::KernelArg::ReadOnlyNoSize(D2x), ocl::KernelArg::ReadOnlyNoSize(D2y), ocl 516 modules/imgproc/src/corner.cpp ocl::KernelArg::ReadOnlyNoSize(Dxy), ocl::KernelArg::WriteOnly(dst), (float)factor); ocl 670 modules/imgproc/src/deriv.cpp const ocl::Device dev = ocl::Device::getDefault(); ocl 693 modules/imgproc/src/deriv.cpp int loc_mem_cn = dev.vendorID() == ocl::Device::VENDOR_NVIDIA && cn == 3 ? 4 : cn; ocl 728 modules/imgproc/src/deriv.cpp ocl::kernelToStr(kernelX, wdepth, "KERNEL_MATRIX_X").c_str(), ocl 729 modules/imgproc/src/deriv.cpp ocl::kernelToStr(kernelY, wdepth, "KERNEL_MATRIX_Y").c_str(), ocl 730 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), ocl 731 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), ocl 733 modules/imgproc/src/deriv.cpp ocl::typeToStr(sdepth), ocl::typeToStr(ddepth), ocl::typeToStr(wdepth), ocl 734 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKETYPE(sdepth, cn)), ocl 735 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKETYPE(ddepth, cn)), ocl 736 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKETYPE(wdepth, cn)), ocl 739 modules/imgproc/src/deriv.cpp ocl::Kernel k("laplacian", ocl::imgproc::laplacian5_oclsrc, opts); ocl 751 modules/imgproc/src/deriv.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src_step, src_offset_x, src_offset_y, ocl 752 modules/imgproc/src/deriv.cpp wholeSize.height, wholeSize.width, ocl::KernelArg::WriteOnly(dst), ocl 765 modules/imgproc/src/deriv.cpp ocl::Kernel k("sumConvert", ocl::imgproc::laplacian5_oclsrc, ocl 769 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), ocl 770 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), ocl 771 modules/imgproc/src/deriv.cpp ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), ocl 772 modules/imgproc/src/deriv.cpp ocl::typeToStr(wdepth), wdepth, ocl 773 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), ocl 774 modules/imgproc/src/deriv.cpp ocl::convertTypeStr(wdepth, ddepth, kercn, cvt[1]), ocl 785 modules/imgproc/src/deriv.cpp ocl::KernelArg d2xarg = ocl::KernelArg::ReadOnlyNoSize(d2x), ocl 786 modules/imgproc/src/deriv.cpp d2yarg = ocl::KernelArg::ReadOnlyNoSize(d2y), ocl 787 modules/imgproc/src/deriv.cpp dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); ocl 814 modules/imgproc/src/deriv.cpp ((stype == CV_8UC1 && ddepth == CV_16S) || (ddepth == CV_32F && stype == CV_32FC1)) && !ocl::useOpenCL()) ocl 94 modules/imgproc/src/featureselect.cpp int dbsize = ocl::Device::getDefault().maxComputeUnits(); ocl 95 modules/imgproc/src/featureselect.cpp size_t wgs = ocl::Device::getDefault().maxWorkGroupSize(); ocl 102 modules/imgproc/src/featureselect.cpp ocl::Kernel k("maxEigenVal", ocl::imgproc::gftt_oclsrc, ocl 111 modules/imgproc/src/featureselect.cpp ocl::KernelArg eigarg = ocl::KernelArg::ReadOnlyNoSize(eig), ocl 112 modules/imgproc/src/featureselect.cpp dbarg = ocl::KernelArg::PtrWriteOnly(maxEigenValue), ocl 113 modules/imgproc/src/featureselect.cpp maskarg = ocl::KernelArg::ReadOnlyNoSize(mask), ocl 114 modules/imgproc/src/featureselect.cpp cornersarg = ocl::KernelArg::PtrWriteOnly(corners_buffer); ocl 125 modules/imgproc/src/featureselect.cpp ocl::Kernel k2("maxEigenValTask", ocl::imgproc::gftt_oclsrc, ocl 139 modules/imgproc/src/featureselect.cpp ocl::Kernel k("findCorners", ocl::imgproc::gftt_oclsrc, ocl 144 modules/imgproc/src/featureselect.cpp ocl::KernelArg eigarg = ocl::KernelArg::ReadOnlyNoSize(eig), ocl 145 modules/imgproc/src/featureselect.cpp cornersarg = ocl::KernelArg::PtrWriteOnly(corners_buffer), ocl 146 modules/imgproc/src/featureselect.cpp thresholdarg = ocl::KernelArg::PtrReadOnly(maxEigenValue); ocl 154 modules/imgproc/src/featureselect.cpp k.args(eigarg, ocl::KernelArg::ReadOnlyNoSize(mask), ocl 4024 modules/imgproc/src/filter.cpp const cv::ocl::Device &device = cv::ocl::Device::getDefault(); ocl 4038 modules/imgproc/src/filter.cpp ocl::Kernel k; ocl 4054 modules/imgproc/src/filter.cpp if (device.isIntel() && (device.type() & ocl::Device::TYPE_GPU) && ocl 4059 modules/imgproc/src/filter.cpp String kerStr = ocl::kernelToStr(kernelMat, CV_32F); ocl 4108 modules/imgproc/src/filter.cpp ocl::typeToStr(type), ocl::typeToStr(sdepth), ocl::typeToStr(dtype), ocl 4109 modules/imgproc/src/filter.cpp ocl::typeToStr(ddepth), ocl::typeToStr(wtype), ocl::typeToStr(wdepth), ocl 4110 modules/imgproc/src/filter.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), ocl 4111 modules/imgproc/src/filter.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), kerStr.c_str()); ocl 4113 modules/imgproc/src/filter.cpp if (!k.create("filter2DSmall", cv::ocl::imgproc::filter2DSmall_oclsrc, build_options)) ocl 4121 modules/imgproc/src/filter.cpp String kerStr = ocl::kernelToStr(kernelMatDataFloat, CV_32F); ocl 4153 modules/imgproc/src/filter.cpp ocl::typeToStr(type), ocl::typeToStr(sdepth), ocl::typeToStr(dtype), ocl 4154 modules/imgproc/src/filter.cpp ocl::typeToStr(ddepth), ocl::typeToStr(wtype), ocl::typeToStr(wdepth), ocl 4155 modules/imgproc/src/filter.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), ocl 4156 modules/imgproc/src/filter.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1])); ocl 4162 modules/imgproc/src/filter.cpp if (!k.create("filter2D", cv::ocl::imgproc::filter2D_oclsrc, opts)) ocl 4182 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, srcOffsetX, srcOffsetY, ocl 4183 modules/imgproc/src/filter.cpp srcEndX, srcEndY, ocl::KernelArg::WriteOnly(dst), (float)delta); ocl 4194 modules/imgproc/src/filter.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 4228 modules/imgproc/src/filter.cpp ocl::typeToStr(type), ocl::typeToStr(buf_type), ocl 4229 modules/imgproc/src/filter.cpp ocl::convertTypeStr(sdepth, bdepth, cn, cvt), ocl 4230 modules/imgproc/src/filter.cpp ocl::typeToStr(sdepth), ocl::typeToStr(bdepth), ocl 4233 modules/imgproc/src/filter.cpp build_options += ocl::kernelToStr(kernelX, bdepth); ocl 4242 modules/imgproc/src/filter.cpp ocl::Kernel k(kernelName.c_str(), cv::ocl::imgproc::filterSepRow_oclsrc, ocl 4248 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)(src.step / src.elemSize()), srcOffset.x, ocl 4250 modules/imgproc/src/filter.cpp ocl::KernelArg::PtrWriteOnly(buf), (int)(buf.step / buf.elemSize()), ocl 4253 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, srcOffset.x, ocl 4255 modules/imgproc/src/filter.cpp ocl::KernelArg::PtrWriteOnly(buf), (int)buf.step, buf.cols, buf.rows, radiusY); ocl 4262 modules/imgproc/src/filter.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 4285 modules/imgproc/src/filter.cpp ocl::typeToStr(buf_type), ocl::typeToStr(dtype), ocl 4286 modules/imgproc/src/filter.cpp ocl::convertTypeStr(bdepth, ddepth, cn, cvt), ocl 4287 modules/imgproc/src/filter.cpp ocl::typeToStr(bdepth), ocl::typeToStr(ddepth), ocl 4290 modules/imgproc/src/filter.cpp build_options += ocl::kernelToStr(kernelY, bdepth); ocl 4292 modules/imgproc/src/filter.cpp ocl::Kernel k("col_filter", cv::ocl::imgproc::filterSepCol_oclsrc, ocl 4297 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::ReadOnly(buf), ocl::KernelArg::WriteOnly(dst), ocl 4316 modules/imgproc/src/filter.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 4335 modules/imgproc/src/filter.cpp ocl::kernelToStr(row_kernel, wdepth, "KERNEL_MATRIX_X").c_str(), ocl 4336 modules/imgproc/src/filter.cpp ocl::kernelToStr(col_kernel, wdepth, "KERNEL_MATRIX_Y").c_str(), ocl 4337 modules/imgproc/src/filter.cpp ocl::typeToStr(stype), ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), ocl 4338 modules/imgproc/src/filter.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), ocl::typeToStr(dtype), ocl 4339 modules/imgproc/src/filter.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), borderMap[borderType], ocl 4340 modules/imgproc/src/filter.cpp ocl::typeToStr(sdepth), ocl::typeToStr(ddepth), ocl::typeToStr(wdepth), ocl 4343 modules/imgproc/src/filter.cpp ocl::Kernel k("sep_filter", ocl::imgproc::filterSep_singlePass_oclsrc, opts); ocl 4356 modules/imgproc/src/filter.cpp k.args(ocl::KernelArg::PtrReadOnly(src), (int)src_step, src_offset_x, src_offset_y, ocl 4357 modules/imgproc/src/filter.cpp wholeSize.height, wholeSize.width, ocl::KernelArg::WriteOnly(dst), ocl 4367 modules/imgproc/src/filter.cpp const ocl::Device & d = ocl::Device::getDefault(); ocl 4400 modules/imgproc/src/filter.cpp if (ocl::Device::getDefault().isIntel()) ocl 1485 modules/imgproc/src/histogram.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 1490 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); ocl 1492 modules/imgproc/src/histogram.cpp ocl::Kernel k1("calculate_histogram", ocl::imgproc::histogram_oclsrc, ocl 1495 modules/imgproc/src/histogram.cpp kercn == 4 ? "int" : ocl::typeToStr(CV_8UC(kercn)), ocl 1504 modules/imgproc/src/histogram.cpp k1.args(ocl::KernelArg::ReadOnly(src), ocl 1505 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); ocl 1512 modules/imgproc/src/histogram.cpp ocl::Kernel k2("merge_histogram", ocl::imgproc::histogram_oclsrc, ocl 1514 modules/imgproc/src/histogram.cpp BINS, compunits, (int)wgs, ocl::convertTypeStr(CV_32S, ddepth, 1, cvt), ocl 1515 modules/imgproc/src/histogram.cpp ocl::typeToStr(ddepth))); ocl 1519 modules/imgproc/src/histogram.cpp k2.args(ocl::KernelArg::PtrReadOnly(ghist), ocl 1520 modules/imgproc/src/histogram.cpp ocl::KernelArg::WriteOnlyNoSize(hist)); ocl 2137 modules/imgproc/src/histogram.cpp ocl::Kernel lutk("calcLUT", ocl::imgproc::calc_back_project_oclsrc, opts); ocl 2144 modules/imgproc/src/histogram.cpp lutk.args(ocl::KernelArg::ReadOnlyNoSize(hist), hist.rows, ocl 2145 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(lut), scale, ocl::KernelArg::PtrReadOnly(uranges)); ocl 2149 modules/imgproc/src/histogram.cpp ocl::Kernel mapk("LUT", ocl::imgproc::calc_back_project_oclsrc, opts); ocl 2157 modules/imgproc/src/histogram.cpp mapk.args(ocl::KernelArg::ReadOnlyNoSize(im), ocl::KernelArg::PtrReadOnly(lut), ocl 2158 modules/imgproc/src/histogram.cpp ocl::KernelArg::WriteOnly(dst)); ocl 2173 modules/imgproc/src/histogram.cpp ocl::Kernel lutk1("calcLUT", ocl::imgproc::calc_back_project_oclsrc, opts); ocl 2180 modules/imgproc/src/histogram.cpp lutk1.args(hist.rows, ocl::KernelArg::PtrWriteOnly(lut), (int)0, ocl::KernelArg::PtrReadOnly(uranges), (int)0); ocl 2185 modules/imgproc/src/histogram.cpp ocl::Kernel lutk2("calcLUT", ocl::imgproc::calc_back_project_oclsrc, opts); ocl 2190 modules/imgproc/src/histogram.cpp lutk2.args(hist.cols, ocl::KernelArg::PtrWriteOnly(lut), (int)256, ocl::KernelArg::PtrReadOnly(uranges), (int)2); ocl 2195 modules/imgproc/src/histogram.cpp ocl::Kernel mapk("LUT", ocl::imgproc::calc_back_project_oclsrc, opts); ocl 2204 modules/imgproc/src/histogram.cpp mapk.args(ocl::KernelArg::ReadOnlyNoSize(im0), ocl::KernelArg::ReadOnlyNoSize(im1), ocl 2205 modules/imgproc/src/histogram.cpp ocl::KernelArg::ReadOnlyNoSize(hist), ocl::KernelArg::PtrReadOnly(lut), scale, ocl::KernelArg::WriteOnly(dst)); ocl 3577 modules/imgproc/src/histogram.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 3582 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); ocl 3584 modules/imgproc/src/histogram.cpp ocl::Kernel k1("calculate_histogram", ocl::imgproc::histogram_oclsrc, ocl 3587 modules/imgproc/src/histogram.cpp kercn == 4 ? "int" : ocl::typeToStr(CV_8UC(kercn)), ocl 3594 modules/imgproc/src/histogram.cpp k1.args(ocl::KernelArg::ReadOnly(src), ocl 3595 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrWriteOnly(ghist), (int)src.total()); ocl 3601 modules/imgproc/src/histogram.cpp wgs = std::min<size_t>(ocl::Device::getDefault().maxWorkGroupSize(), BINS); ocl 3603 modules/imgproc/src/histogram.cpp ocl::Kernel k2("calcLUT", ocl::imgproc::histogram_oclsrc, ocl 3606 modules/imgproc/src/histogram.cpp k2.args(ocl::KernelArg::PtrWriteOnly(lut), ocl 3607 modules/imgproc/src/histogram.cpp ocl::KernelArg::PtrReadOnly(ghist), (int)_src.total()); ocl 671 modules/imgproc/src/hough.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 675 modules/imgproc/src/hough.cpp ocl::Kernel pointListKernel("make_point_list", ocl::imgproc::hough_lines_oclsrc, ocl 680 modules/imgproc/src/hough.cpp pointListKernel.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(pointsList), ocl 681 modules/imgproc/src/hough.cpp ocl::KernelArg::PtrWriteOnly(counters)); ocl 694 modules/imgproc/src/hough.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 699 modules/imgproc/src/hough.cpp ocl::Kernel fillAccumKernel; ocl 707 modules/imgproc/src/hough.cpp fillAccumKernel.create("fill_accum_global", ocl::imgproc::hough_lines_oclsrc, ocl 712 modules/imgproc/src/hough.cpp fillAccumKernel.args(ocl::KernelArg::ReadOnlyNoSize(pointsList), ocl::KernelArg::WriteOnlyNoSize(accum), ocl 718 modules/imgproc/src/hough.cpp fillAccumKernel.create("fill_accum_local", ocl::imgproc::hough_lines_oclsrc, ocl 724 modules/imgproc/src/hough.cpp fillAccumKernel.args(ocl::KernelArg::ReadOnlyNoSize(pointsList), ocl::KernelArg::WriteOnlyNoSize(accum), ocl 767 modules/imgproc/src/hough.cpp ocl::Kernel getLinesKernel("get_lines", ocl::imgproc::hough_lines_oclsrc, ocl 775 modules/imgproc/src/hough.cpp getLinesKernel.args(ocl::KernelArg::ReadOnly(accum), ocl::KernelArg::WriteOnlyNoSize(lines), ocl 776 modules/imgproc/src/hough.cpp ocl::KernelArg::PtrWriteOnly(counters), linesMax, threshold, (float) rho, (float) theta); ocl 820 modules/imgproc/src/hough.cpp ocl::Kernel getLinesKernel("get_lines", ocl::imgproc::hough_lines_oclsrc, ocl 828 modules/imgproc/src/hough.cpp getLinesKernel.args(ocl::KernelArg::ReadOnly(accum), ocl::KernelArg::ReadOnly(src), ocl 829 modules/imgproc/src/hough.cpp ocl::KernelArg::WriteOnlyNoSize(lines), ocl::KernelArg::PtrWriteOnly(counters), ocl 2906 modules/imgproc/src/imgwarp.cpp ocl::Kernel k; ocl 2909 modules/imgproc/src/imgwarp.cpp ocl::Image2D srcImage; ocl 2913 modules/imgproc/src/imgwarp.cpp bool useSampler = (interpolation == INTER_LINEAR && ocl::Device::getDefault().imageSupport() && ocl 2914 modules/imgproc/src/imgwarp.cpp ocl::Image2D::canCreateAlias(src) && depth <= 4 && ocl 2915 modules/imgproc/src/imgwarp.cpp ocl::Image2D::isFormatSupported(depth, cn, true) && ocl 2923 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), ocl 2924 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), ocl 2926 modules/imgproc/src/imgwarp.cpp k.create("resizeSampler", ocl::imgproc::resize_oclsrc, compileOpts); ocl 2934 modules/imgproc/src/imgwarp.cpp srcImage = ocl::Image2D(src, true, true); ocl 2935 modules/imgproc/src/imgwarp.cpp k.args(srcImage, ocl::KernelArg::WriteOnly(dst), ocl 2985 modules/imgproc/src/imgwarp.cpp k.create("resizeLN", ocl::imgproc::resize_oclsrc, ocl 2989 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), ocl 2990 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, buf[0]), ocl 2991 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), ocl 2996 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl 2997 modules/imgproc/src/imgwarp.cpp ocl::KernelArg::PtrReadOnly(coeffs)); ocl 3002 modules/imgproc/src/imgwarp.cpp k.create("resizeLN", ocl::imgproc::resize_oclsrc, ocl 3006 modules/imgproc/src/imgwarp.cpp depth, ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), ocl 3007 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, buf[0]), ocl 3008 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, buf[1]), ocl 3013 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl 3019 modules/imgproc/src/imgwarp.cpp k.create("resizeNN", ocl::imgproc::resize_oclsrc, ocl 3021 modules/imgproc/src/imgwarp.cpp ocl::vecopTypeToStr(type), ocl::vecopTypeToStr(depth), cn)); ocl 3025 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl 3035 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), ocl 3036 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), cn); ocl 3046 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth2, depth, cn, cvt[0]), ocl 3047 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(wtype2), ocl::convertTypeStr(wdepth, wdepth2, cn, cvt[1]), ocl 3050 modules/imgproc/src/imgwarp.cpp k.create("resizeAREA_FAST", ocl::imgproc::resize_oclsrc, buildOption); ocl 3056 modules/imgproc/src/imgwarp.cpp buildOption = buildOption + format(" -D convertToT=%s", ocl::convertTypeStr(wdepth, depth, cn, cvt[0])); ocl 3057 modules/imgproc/src/imgwarp.cpp k.create("resizeAREA", ocl::imgproc::resize_oclsrc, buildOption); ocl 3079 modules/imgproc/src/imgwarp.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), dstarg = ocl::KernelArg::WriteOnly(dst); ocl 3084 modules/imgproc/src/imgwarp.cpp k.args(srcarg, dstarg, inv_fxf, inv_fyf, ocl::KernelArg::PtrReadOnly(tabofsOcl), ocl 3085 modules/imgproc/src/imgwarp.cpp ocl::KernelArg::PtrReadOnly(mapOcl), ocl::KernelArg::PtrReadOnly(alphaOcl)); ocl 4490 modules/imgproc/src/imgwarp.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 4531 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), rowsPerWI); ocl 4540 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), ocl 4541 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[0]), ocl 4542 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[1]), ocl 4543 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(CV_32S, wdepth, 2, cvt[2]), ocl 4544 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, 2))); ocl 4549 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl 4550 modules/imgproc/src/imgwarp.cpp cn, ocl::typeToStr(sctype), depth); ocl 4552 modules/imgproc/src/imgwarp.cpp ocl::Kernel k(kernelName.c_str(), ocl::imgproc::remap_oclsrc, buildOptions); ocl 4555 modules/imgproc/src/imgwarp.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnly(src), dstarg = ocl::KernelArg::WriteOnly(dst), ocl 4556 modules/imgproc/src/imgwarp.cpp map1arg = ocl::KernelArg::ReadOnlyNoSize(map1), ocl 4557 modules/imgproc/src/imgwarp.cpp scalararg = ocl::KernelArg::Constant((void*)scalar.ptr(), scalar.elemSize()); ocl 4562 modules/imgproc/src/imgwarp.cpp k.args(srcarg, dstarg, map1arg, ocl::KernelArg::ReadOnlyNoSize(map2), scalararg); ocl 5466 modules/imgproc/src/imgwarp.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 5482 modules/imgproc/src/imgwarp.cpp ocl::ProgramSource program = op_type == OCL_OP_AFFINE ? ocl 5483 modules/imgproc/src/imgwarp.cpp ocl::imgproc::warp_affine_oclsrc : ocl::imgproc::warp_perspective_oclsrc; ocl 5491 modules/imgproc/src/imgwarp.cpp ocl::Kernel k; ocl 5496 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(type), doubleSupport ? " -D DOUBLE_SUPPORT" : "", ocl 5497 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAT_DEPTH(type)), ocl 5498 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(sctype), cn, rowsPerWI); ocl 5505 modules/imgproc/src/imgwarp.cpp interpolationMap[interpolation], ocl::typeToStr(type), ocl 5506 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAT_DEPTH(type)), ocl 5507 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(sctype), ocl 5508 modules/imgproc/src/imgwarp.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), depth, ocl 5509 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), ocl 5510 modules/imgproc/src/imgwarp.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[1]), ocl 5550 modules/imgproc/src/imgwarp.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst), ocl::KernelArg::PtrReadOnly(M0), ocl 5551 modules/imgproc/src/imgwarp.cpp ocl::KernelArg(0, 0, 0, 0, borderBuf, CV_ELEM_SIZE(sctype))); ocl 487 modules/imgproc/src/moments.cpp ocl::Kernel k = ocl::Kernel("moments", ocl::imgproc::moments_oclsrc, ocl 503 modules/imgproc/src/moments.cpp bool ok = k.args(ocl::KernelArg::ReadOnly(src), ocl 504 modules/imgproc/src/moments.cpp ocl::KernelArg::PtrWriteOnly(umbuf), ocl 569 modules/imgproc/src/moments.cpp if( !(ocl::useOpenCL() && type == CV_8UC1 && ocl 1345 modules/imgproc/src/morph.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 1443 modules/imgproc/src/morph.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl 1444 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::typeToStr(wtype):"srcT",//to prevent overflow - WT ocl 1445 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::typeToStr(wdepth):"srcT1",//to prevent overflow - WT1 ocl 1446 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::convertTypeStr(depth, wdepth, cn, cvt[0]) : "noconvert",//to prevent overflow - src to WT ocl 1447 modules/imgproc/src/morph.cpp haveExtraMat ? ocl::convertTypeStr(wdepth, depth, cn, cvt[1]) : "noconvert",//to prevent overflow - WT to dst ocl 1448 modules/imgproc/src/morph.cpp ocl::typeToStr(CV_MAKE_TYPE(haveExtraMat ? wdepth : depth, pxLoadVecSize)), //PX_LOAD_FLOAT_VEC_CONV ocl 1452 modules/imgproc/src/morph.cpp ocl::Kernel kernel("filterSmall", cv::ocl::imgproc::filterSmall_oclsrc, opts); ocl 1477 modules/imgproc/src/morph.cpp int idxArg = kernel.set(0, ocl::KernelArg::PtrReadOnly(source)); ocl 1487 modules/imgproc/src/morph.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::WriteOnly(dst)); ocl 1491 modules/imgproc/src/morph.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::ReadOnlyNoSize(extraMat)); ocl 1502 modules/imgproc/src/morph.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 1532 modules/imgproc/src/morph.cpp if (dev.isIntel() && !(dev.type() & ocl::Device::TYPE_CPU) && ocl 1588 modules/imgproc/src/morph.cpp std::vector<ocl::Kernel> kernels(iterations); ocl 1597 modules/imgproc/src/morph.cpp ocl::typeToStr(type), depth, cn, ocl::typeToStr(depth), ocl 1598 modules/imgproc/src/morph.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), ocl 1599 modules/imgproc/src/morph.cpp ocl::convertTypeStr(wdepth, depth, cn, cvt[1]), ocl 1600 modules/imgproc/src/morph.cpp ocl::typeToStr(CV_MAKE_TYPE(depth, scalarcn)), ocl 1603 modules/imgproc/src/morph.cpp kernels[i].create("morph", ocl::imgproc::morph_oclsrc, buildOptions); ocl 1620 modules/imgproc/src/morph.cpp kernels[0].args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnlyNoSize(dst), ocl 1622 modules/imgproc/src/morph.cpp ocl::KernelArg::ReadOnlyNoSize(extraMat)); ocl 1624 modules/imgproc/src/morph.cpp kernels[0].args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnlyNoSize(dst), ocl 1661 modules/imgproc/src/morph.cpp kernels[i].args(ocl::KernelArg::ReadOnlyNoSize(source), ocl::KernelArg::WriteOnlyNoSize(dst), ocl 1663 modules/imgproc/src/morph.cpp ocl::KernelArg::ReadOnlyNoSize(extraMat)); ocl 1665 modules/imgproc/src/morph.cpp kernels[i].args(ocl::KernelArg::ReadOnlyNoSize(source), ocl::KernelArg::WriteOnlyNoSize(dst), ocl 1070 modules/imgproc/src/pyramids.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 1090 modules/imgproc/src/pyramids.cpp if (depth == CV_8U && float_depth == CV_32F && cn == 1 && ocl::Device::getDefault().isIntel()) ocl 1098 modules/imgproc/src/pyramids.cpp ocl::typeToStr(type), ocl::typeToStr(CV_MAKETYPE(float_depth, cn)), ocl 1099 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(float_depth, depth, cn, cvt[0]), ocl 1100 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(depth, float_depth, cn, cvt[1]), ocl 1101 modules/imgproc/src/pyramids.cpp doubleSupport ? " -D DOUBLE_SUPPORT" : "", ocl::typeToStr(depth), ocl 1104 modules/imgproc/src/pyramids.cpp ocl::Kernel k("pyrDown", ocl::imgproc::pyr_down_oclsrc, buildOptions); ocl 1108 modules/imgproc/src/pyramids.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst)); ocl 1122 modules/imgproc/src/pyramids.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 1141 modules/imgproc/src/pyramids.cpp ocl::typeToStr(type), ocl::typeToStr(CV_MAKETYPE(float_depth, channels)), ocl 1142 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(float_depth, depth, channels, cvt[0]), ocl 1143 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(depth, float_depth, channels, cvt[1]), ocl 1145 modules/imgproc/src/pyramids.cpp ocl::typeToStr(depth), channels, local_size ocl 1149 modules/imgproc/src/pyramids.cpp ocl::Kernel k; ocl 1150 modules/imgproc/src/pyramids.cpp if (ocl::Device::getDefault().isIntel() && channels == 1) ocl 1152 modules/imgproc/src/pyramids.cpp k.create("pyrUp_unrolled", ocl::imgproc::pyr_up_oclsrc, buildOptions); ocl 1156 modules/imgproc/src/pyramids.cpp k.create("pyrUp", ocl::imgproc::pyr_up_oclsrc, buildOptions); ocl 1161 modules/imgproc/src/pyramids.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnly(dst)); ocl 1035 modules/imgproc/src/smooth.cpp const ocl::Device & dev = ocl::Device::getDefault(); ocl 1051 modules/imgproc/src/smooth.cpp int computeUnits = ocl::Device::getDefault().maxComputeUnits(); ocl 1074 modules/imgproc/src/smooth.cpp ocl::Device::getDefault().maxWorkItemSizes(maxWorkItemSizes); ocl 1077 modules/imgproc/src/smooth.cpp ocl::Kernel kernel; ocl 1079 modules/imgproc/src/smooth.cpp if (dev.isIntel() && !(dev.type() & ocl::Device::TYPE_CPU) && ocl 1127 modules/imgproc/src/smooth.cpp ocl::typeToStr(type), ocl::typeToStr(sdepth), ocl::typeToStr(dtype), ocl 1128 modules/imgproc/src/smooth.cpp ocl::typeToStr(ddepth), ocl::typeToStr(wtype), ocl::typeToStr(wdepth), ocl 1129 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), ocl 1130 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), ocl 1132 modules/imgproc/src/smooth.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, pxLoadVecSize)) //PX_LOAD_FLOAT_VEC_CONV ocl 1136 modules/imgproc/src/smooth.cpp if (!kernel.create("filterSmall", cv::ocl::imgproc::filterSmall_oclsrc, build_options)) ocl 1158 modules/imgproc/src/smooth.cpp BLOCK_SIZE_X, BLOCK_SIZE_Y, ocl::typeToStr(type), ocl::typeToStr(CV_MAKE_TYPE(ddepth, cn)), ocl 1159 modules/imgproc/src/smooth.cpp ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), ocl 1160 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(wdepth, ddepth, cn, cvt[0]), ocl 1161 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(sdepth, wdepth, cn, cvt[1]), ocl 1165 modules/imgproc/src/smooth.cpp ocl::typeToStr(sdepth), ocl::typeToStr(ddepth), cn); ocl 1171 modules/imgproc/src/smooth.cpp kernel.create("boxFilter", cv::ocl::imgproc::boxFilter_oclsrc, opts); ocl 1188 modules/imgproc/src/smooth.cpp int idxArg = kernel.set(0, ocl::KernelArg::PtrReadOnly(src)); ocl 1198 modules/imgproc/src/smooth.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::WriteOnly(dst)); ocl 2597 modules/imgproc/src/smooth.cpp (ocl::Device::getDefault().isIntel()); ocl 2601 modules/imgproc/src/smooth.cpp format("-D T=%s -D T1=%s -D T4=%s%d -D cn=%d -D USE_4OPT", ocl::typeToStr(type), ocl 2602 modules/imgproc/src/smooth.cpp ocl::typeToStr(depth), ocl::typeToStr(depth), cn*4, cn) ocl 2604 modules/imgproc/src/smooth.cpp format("-D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn) ; ocl 2606 modules/imgproc/src/smooth.cpp ocl::Kernel k(kname.c_str(), ocl::imgproc::medianFilter_oclsrc, kdefs.c_str() ); ocl 2615 modules/imgproc/src/smooth.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst)); ocl 2970 modules/imgproc/src/smooth.cpp if (ocl::Device::getDefault().isNVidia()) ocl 3020 modules/imgproc/src/smooth.cpp if ((ocl::Device::getDefault().isIntel()) && ocl 3021 modules/imgproc/src/smooth.cpp (ocl::Device::getDefault().type() == ocl::Device::TYPE_GPU)) ocl 3030 modules/imgproc/src/smooth.cpp ocl::Kernel k(kernelName.c_str(), ocl::imgproc::bilateral_oclsrc, ocl 3033 modules/imgproc/src/smooth.cpp radius, maxk, cn, ocl::typeToStr(CV_32SC(cn)), cnstr.c_str(), ocl 3034 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(CV_8U, CV_32S, cn, cvt[0]), ocl 3035 modules/imgproc/src/smooth.cpp ocl::typeToStr(type), ocl::typeToStr(CV_32FC(cn)), ocl 3036 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(CV_32S, CV_32F, cn, cvt[1]), ocl 3037 modules/imgproc/src/smooth.cpp ocl::convertTypeStr(CV_32F, CV_8U, cn, cvt[2]), gauss_color_coeff)); ocl 3048 modules/imgproc/src/smooth.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(temp), ocl::KernelArg::WriteOnly(dst), ocl 3049 modules/imgproc/src/smooth.cpp ocl::KernelArg::PtrReadOnly(uspace_weight), ocl 3050 modules/imgproc/src/smooth.cpp ocl::KernelArg::PtrReadOnly(uspace_ofs)); ocl 342 modules/imgproc/src/sumpixels.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 351 modules/imgproc/src/sumpixels.cpp ocl::typeToStr(sdepth), tileSize, ocl 354 modules/imgproc/src/sumpixels.cpp ocl::Kernel kcols("integral_sum_cols", ocl::imgproc::integral_sum_oclsrc, build_opt); ocl 362 modules/imgproc/src/sumpixels.cpp kcols.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(buf)); ocl 367 modules/imgproc/src/sumpixels.cpp ocl::Kernel krows("integral_sum_rows", ocl::imgproc::integral_sum_oclsrc, build_opt); ocl 375 modules/imgproc/src/sumpixels.cpp krows.args(ocl::KernelArg::ReadOnlyNoSize(buf), ocl::KernelArg::WriteOnly(sum)); ocl 382 modules/imgproc/src/sumpixels.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 390 modules/imgproc/src/sumpixels.cpp ocl::typeToStr(sdepth), ocl::typeToStr(sqdepth), ocl 394 modules/imgproc/src/sumpixels.cpp ocl::Kernel kcols("integral_sum_cols", ocl::imgproc::integral_sum_oclsrc, build_opt); ocl 403 modules/imgproc/src/sumpixels.cpp kcols.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(buf), ocl::KernelArg::WriteOnlyNoSize(buf_sq)); ocl 408 modules/imgproc/src/sumpixels.cpp ocl::Kernel krows("integral_sum_rows", ocl::imgproc::integral_sum_oclsrc, build_opt); ocl 418 modules/imgproc/src/sumpixels.cpp krows.args(ocl::KernelArg::ReadOnlyNoSize(buf), ocl::KernelArg::ReadOnlyNoSize(buf_sq), ocl::KernelArg::WriteOnly(sum), ocl::KernelArg::WriteOnlyNoSize(sum_sq)); ocl 438 modules/imgproc/src/sumpixels.cpp if (ocl::useOpenCL() && _sum.isUMat() && !_tilted.needed()) ocl 442 modules/imgproc/src/sumpixels.cpp CV_OCL_RUN(ocl::useOpenCL(), ocl_integral(_src, _sum, sdepth)) ocl 445 modules/imgproc/src/sumpixels.cpp CV_OCL_RUN(ocl::useOpenCL(), ocl_integral(_src, _sum, _sqsum, sdepth, sqdepth)) ocl 63 modules/imgproc/src/templmatch.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 64 modules/imgproc/src/templmatch.cpp int pxPerWIy = (dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1; ocl 66 modules/imgproc/src/templmatch.cpp ocl::Kernel k("extractFirstChannel", ocl::imgproc::match_template_oclsrc, format("-D FIRST_CHANNEL -D T1=%s -D cn=%d -D PIX_PER_WI_Y=%d", ocl 67 modules/imgproc/src/templmatch.cpp ocl::typeToStr(depth), cn, pxPerWIy)); ocl 76 modules/imgproc/src/templmatch.cpp return k.args(ocl::KernelArg::ReadOnlyNoSize(image), ocl::KernelArg::WriteOnly(result)).run( 2, globalsize, NULL, false); ocl 83 modules/imgproc/src/templmatch.cpp size_t wgs = ocl::Device::getDefault().maxWorkGroupSize(); ocl 91 modules/imgproc/src/templmatch.cpp ocl::Kernel k("calcSum", ocl::imgproc::match_template_oclsrc, ocl 93 modules/imgproc/src/templmatch.cpp ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), cn, ocl 94 modules/imgproc/src/templmatch.cpp ocl::convertTypeStr(depth, wdepth, cn, cvt), ocl 102 modules/imgproc/src/templmatch.cpp ocl::KernelArg srcarg = ocl::KernelArg::ReadOnlyNoSize(src), ocl 103 modules/imgproc/src/templmatch.cpp resarg = ocl::KernelArg::PtrWriteOnly(result); ocl 259 modules/imgproc/src/templmatch.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 260 modules/imgproc/src/templmatch.cpp int pxPerWIx = (cn==1 && dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1; ocl 273 modules/imgproc/src/templmatch.cpp const char* convertToWT1 = ocl::convertTypeStr(depth, wdepth, cn, cvt); ocl 274 modules/imgproc/src/templmatch.cpp const char* convertToWT = ocl::convertTypeStr(depth, wdepth, rated_cn, cvt1); ocl 276 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_Naive_CCORR", ocl::imgproc::match_template_oclsrc, ocl 277 modules/imgproc/src/templmatch.cpp format("-D CCORR -D T=%s -D T1=%s -D WT=%s -D WT1=%s -D convertToWT=%s -D convertToWT1=%s -D cn=%d -D PIX_PER_WI_X=%d", ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype1), ocl::typeToStr(wtype), ocl 286 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image), ocl::KernelArg::ReadOnly(templ), ocl 287 modules/imgproc/src/templmatch.cpp ocl::KernelArg::WriteOnly(result)); ocl 322 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_CCORR_NORMED", ocl::imgproc::match_template_oclsrc, ocl 323 modules/imgproc/src/templmatch.cpp format("-D CCORR_NORMED -D T=%s -D cn=%d", ocl::typeToStr(type), cn)); ocl 338 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sqsums), ocl::KernelArg::ReadWrite(result), ocl 339 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); ocl 353 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_Naive_SQDIFF", ocl::imgproc::match_template_oclsrc, ocl 354 modules/imgproc/src/templmatch.cpp format("-D SQDIFF -D T=%s -D T1=%s -D WT=%s -D convertToWT=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), ocl 355 modules/imgproc/src/templmatch.cpp ocl::typeToStr(wtype), ocl::convertTypeStr(depth, wdepth, cn, cvt), cn)); ocl 363 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image), ocl::KernelArg::ReadOnly(templ), ocl 364 modules/imgproc/src/templmatch.cpp ocl::KernelArg::WriteOnly(result)); ocl 380 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_Prepared_SQDIFF", ocl::imgproc::match_template_oclsrc, ocl 381 modules/imgproc/src/templmatch.cpp format("-D SQDIFF_PREPARED -D T=%s -D cn=%d", ocl::typeToStr(type), cn)); ocl 396 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sqsums), ocl::KernelArg::ReadWrite(result), ocl 397 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); ocl 411 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_SQDIFF_NORMED", ocl::imgproc::match_template_oclsrc, ocl 412 modules/imgproc/src/templmatch.cpp format("-D SQDIFF_NORMED -D T=%s -D cn=%d", ocl::typeToStr(type), cn)); ocl 427 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sqsums), ocl::KernelArg::ReadWrite(result), ocl 428 modules/imgproc/src/templmatch.cpp templ.rows, templ.cols, ocl::KernelArg::PtrReadOnly(templ_sqsum)); ocl 446 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_Prepared_CCOEFF", ocl::imgproc::match_template_oclsrc, ocl 447 modules/imgproc/src/templmatch.cpp format("-D CCOEFF -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn)); ocl 459 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); ocl 466 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); } ocl 481 modules/imgproc/src/templmatch.cpp ocl::Kernel k("matchTemplate_CCOEFF_NORMED", ocl::imgproc::match_template_oclsrc, ocl 482 modules/imgproc/src/templmatch.cpp format("-D CCOEFF_NORMED -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn)); ocl 509 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadOnlyNoSize(image_sqsums), ocl 510 modules/imgproc/src/templmatch.cpp ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, templ_sum, templ_sqsum); ocl 532 modules/imgproc/src/templmatch.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadOnlyNoSize(image_sqsums), ocl 533 modules/imgproc/src/templmatch.cpp ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, ocl 1142 modules/imgproc/src/thresh.cpp kercn = ocl::predictOptimalVectorWidth(_src, _dst), ktype = CV_MAKE_TYPE(depth, kercn); ocl 1143 modules/imgproc/src/thresh.cpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 1152 modules/imgproc/src/thresh.cpp ocl::Device dev = ocl::Device::getDefault(); ocl 1153 modules/imgproc/src/thresh.cpp int stride_size = dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU) ? 4 : 1; ocl 1155 modules/imgproc/src/thresh.cpp ocl::Kernel k("threshold", ocl::imgproc::threshold_oclsrc, ocl 1157 modules/imgproc/src/thresh.cpp ocl::typeToStr(ktype), ocl::typeToStr(depth), stride_size, ocl 1172 modules/imgproc/src/thresh.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst, cn, kercn), ocl 1173 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(thresh))), ocl 1174 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(maxval))), ocl 1175 modules/imgproc/src/thresh.cpp ocl::KernelArg::Constant(Mat(1, 1, depth, Scalar::all(min_val)))); ocl 104 modules/imgproc/test/ocl/test_canny.cpp if (cv::ocl::Device::getDefault().isNVidia()) ocl 131 modules/imgproc/test/ocl/test_color.cpp OCL_TEST_P(CvtColor, BGRA2GRAY) { performTest(4, 1, CVTCODE(BGRA2GRAY), cv::ocl::Device::getDefault().isNVidia() ? 1 : 1e-3); } ocl 182 modules/imgproc/test/ocl/test_histogram.cpp if (cv::ocl::useOpenCL() && cv::ocl::Device::getDefault().isAMD()) ocl 325 modules/imgproc/test/ocl/test_warp.cpp if (cv::ocl::Device::getDefault().isNVidia()) ocl 50 modules/objdetect/perf/opencl/perf_cascades.cpp cvtest::ocl::perf::safeFinish(); ocl 595 modules/objdetect/src/cascadedetect.cpp if (ocl::haveOpenCL()) ocl 597 modules/objdetect/src/cascadedetect.cpp if (ocl::Device::getDefault().isAMD() || ocl::Device::getDefault().isIntel()) ocl 784 modules/objdetect/src/cascadedetect.cpp if (ocl::haveOpenCL()) ocl 1056 modules/objdetect/src/cascadedetect.cpp size_t globalsize[] = { grp_per_CU*ocl::Device::getDefault().maxComputeUnits()*localsize[0], localsize[1] }; ocl 1093 modules/objdetect/src/cascadedetect.cpp haarKernel.create("runHaarClassifier", ocl::objdetect::cascadedetect_oclsrc, opts); ocl 1102 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(bufs[0]), // scaleData ocl 1103 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::ReadOnlyNoSize(bufs[1]), // sum ocl 1104 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(bufs[2]), // optfeatures ocl 1107 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(ustages), ocl 1108 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(unodes), ocl 1109 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(uleaves), ocl 1111 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrWriteOnly(ufacepos), // positions ocl 1133 modules/objdetect/src/cascadedetect.cpp lbpKernel.create("runLBPClassifierStumpSimple", ocl::objdetect::cascadedetect_oclsrc, opts); ocl 1140 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(bufs[0]), // scaleData ocl 1141 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::ReadOnlyNoSize(bufs[1]), // sum ocl 1142 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(bufs[2]), // optfeatures ocl 1145 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(ustages), ocl 1146 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(unodes), ocl 1147 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrReadOnly(usubsets), ocl 1150 modules/objdetect/src/cascadedetect.cpp ocl::KernelArg::PtrWriteOnly(ufacepos), // positions ocl 1232 modules/objdetect/src/cascadedetect.cpp bool use_ocl = tryOpenCL && ocl::useOpenCL() && ocl 1234 modules/objdetect/src/cascadedetect.cpp ocl::Device::getDefault().type() != ocl::Device::TYPE_CPU && ocl 1531 modules/objdetect/src/cascadedetect.cpp haarKernel = ocl::Kernel(); ocl 1532 modules/objdetect/src/cascadedetect.cpp lbpKernel = ocl::Kernel(); ocl 221 modules/objdetect/src/cascadedetect.hpp ocl::Kernel haarKernel, lbpKernel; ocl 1088 modules/objdetect/src/hog.cpp ocl::Kernel k("compute_gradients_8UC1_kernel", ocl::objdetect::objdetect_hog_oclsrc); ocl 1107 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(img)); ocl 1108 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(grad)); ocl 1109 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(qangle)); ocl 1133 modules/objdetect/src/hog.cpp ocl::Kernel k("compute_hists_lut_kernel", ocl::objdetect::objdetect_hog_oclsrc); ocl 1136 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; ocl 1142 modules/objdetect/src/hog.cpp k.create("compute_hists_lut_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1173 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(grad)); ocl 1174 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(qangle)); ocl 1175 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(gauss_w_lut)); ocl 1176 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(block_hists)); ocl 1203 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; ocl 1205 modules/objdetect/src/hog.cpp ocl::Kernel k; ocl 1208 modules/objdetect/src/hog.cpp k.create("normalize_hists_36_kernel", ocl::objdetect::objdetect_hog_oclsrc, ""); ocl 1215 modules/objdetect/src/hog.cpp k.create("normalize_hists_36_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1227 modules/objdetect/src/hog.cpp k.create("normalize_hists_kernel", ocl::objdetect::objdetect_hog_oclsrc, ""); ocl 1234 modules/objdetect/src/hog.cpp k.create("normalize_hists_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1250 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadWrite(block_hists)); ocl 1261 modules/objdetect/src/hog.cpp ocl::Kernel k("extract_descrs_by_rows_kernel", ocl::objdetect::objdetect_hog_oclsrc); ocl 1285 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); ocl 1286 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(descriptors)); ocl 1295 modules/objdetect/src/hog.cpp ocl::Kernel k("extract_descrs_by_cols_kernel", ocl::objdetect::objdetect_hog_oclsrc); ocl 1320 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); ocl 1321 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(descriptors)); ocl 1333 modules/objdetect/src/hog.cpp int qangle_type = ocl::Device::getDefault().isIntel() ? CV_32SC2 : CV_8UC2; ocl 1645 modules/objdetect/src/hog.cpp bool is_cpu = cv::ocl::Device::getDefault().type() == cv::ocl::Device::TYPE_CPU; ocl 1648 modules/objdetect/src/hog.cpp ocl::Kernel k; ocl 1654 modules/objdetect/src/hog.cpp k.create("classify_hists_180_kernel", ocl::objdetect::objdetect_hog_oclsrc, ""); ocl 1661 modules/objdetect/src/hog.cpp k.create("classify_hists_180_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1670 modules/objdetect/src/hog.cpp k.create("classify_hists_252_kernel", ocl::objdetect::objdetect_hog_oclsrc, ""); ocl 1677 modules/objdetect/src/hog.cpp k.create("classify_hists_252_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1686 modules/objdetect/src/hog.cpp k.create("classify_hists_kernel", ocl::objdetect::objdetect_hog_oclsrc, ""); ocl 1693 modules/objdetect/src/hog.cpp k.create("classify_hists_kernel", ocl::objdetect::objdetect_hog_oclsrc, opts); ocl 1715 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(block_hists)); ocl 1716 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrReadOnly(detector)); ocl 1719 modules/objdetect/src/hog.cpp idx = k.set(idx, ocl::KernelArg::PtrWriteOnly(labels)); ocl 1735 modules/objdetect/src/hog.cpp int qangle_type = ocl::Device::getDefault().isIntel() ? CV_32SC2 : CV_8UC2; ocl 42 modules/photo/src/fast_nlmeans_denoising_opencl.hpp bool doubleSupport = ocl::Device::getDefault().doubleFPConfig() > 0; ocl 66 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::Kernel k("calcAlmostDist2Weight", ocl::photo::nlmeans_oclsrc, ocl 69 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(depth), ocl::typeToStr(CV_MAKE_TYPE(depth, hn)), ocl 70 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(CV_32SC(hn)), ocl::convertTypeStr(depth, CV_32S, hn, buf), ocl 76 modules/photo/src/fast_nlmeans_denoising_opencl.hpp k.args(ocl::KernelArg::PtrWriteOnly(almostDist2Weight), almostMaxDist, ocl 78 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::KernelArg::Constant(den, (hn == 3 ? 4 : hn)*sizeof(FT)), WEIGHT_THRESHOLD); ocl 88 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int ctaSize = ocl::Device::getDefault().isIntel() ? CTA_SIZE_INTEL : CTA_SIZE_DEFAULT; ocl 110 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(type), ocl::typeToStr(CV_32SC(cn)), ocl 111 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::typeToStr(CV_32SC(hn)), ocl 112 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(hn)) : ocl 114 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(CV_32S, CV_32S, hn, buf[0]) : ocl 116 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::typeToStr(CV_32SC(cn)) : ocl 118 modules/photo/src/fast_nlmeans_denoising_opencl.hpp depth == CV_8U ? ocl::convertTypeStr(depth, CV_32S, cn, buf[1]) : ocl 122 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::convertTypeStr(depth, CV_32S, cn, buf[2]), cn, ocl 124 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::convertTypeStr(CV_32S, depth, cn, buf[3]), ocl 127 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::Kernel k("fastNlMeansDenoising", ocl::photo::nlmeans_oclsrc, opts); ocl 171 modules/photo/src/fast_nlmeans_denoising_opencl.hpp k.args(ocl::KernelArg::ReadOnlyNoSize(srcex), ocl::KernelArg::WriteOnly(dst), ocl 172 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::KernelArg::PtrReadOnly(almostDist2Weight), ocl 173 modules/photo/src/fast_nlmeans_denoising_opencl.hpp ocl::KernelArg::PtrReadOnly(buffer), almostTemplateWindowSizeSqBinShift); ocl 12 modules/stitching/perf/opencl/perf_stitch.cpp using namespace cvtest::ocl; ocl 254 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "src", _src); ocl 255 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "weight", _weight); ocl 256 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "dst", _dst); ocl 257 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "dstWeight", _dst_weight); ocl 258 modules/stitching/src/blenders.cpp ocl::Kernel k("feed", ocl::stitching::multibandblend_oclsrc, buildOptions); ocl 264 modules/stitching/src/blenders.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl 265 modules/stitching/src/blenders.cpp ocl::KernelArg::ReadOnly(_weight.getUMat()), ocl 266 modules/stitching/src/blenders.cpp ocl::KernelArg::ReadWrite(_dst.getUMat()), ocl 267 modules/stitching/src/blenders.cpp ocl::KernelArg::ReadWrite(_dst_weight.getUMat()) ocl 371 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || ocl 460 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "mat", _mat); ocl 461 modules/stitching/src/blenders.cpp ocl::buildOptionsAddMatrixDescription(buildOptions, "weight", _weight); ocl 462 modules/stitching/src/blenders.cpp ocl::Kernel k("normalizeUsingWeightMap", ocl::stitching::multibandblend_oclsrc, buildOptions); ocl 468 modules/stitching/src/blenders.cpp k.args(ocl::KernelArg::ReadWrite(mat), ocl 469 modules/stitching/src/blenders.cpp ocl::KernelArg::ReadOnly(_weight.getUMat()) ocl 489 modules/stitching/src/blenders.cpp if ( !cv::ocl::useOpenCL() || ocl 159 modules/stitching/src/matchers.cpp if (ocl::useOpenCL()) ocl 113 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) ocl 115 modules/stitching/src/warpers.cpp ocl::Kernel k("buildWarpPlaneMaps", ocl::stitching::warpers_oclsrc); ocl 118 modules/stitching/src/warpers.cpp int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 123 modules/stitching/src/warpers.cpp k.args(ocl::KernelArg::WriteOnlyNoSize(uxmap), ocl::KernelArg::WriteOnly(uymap), ocl 124 modules/stitching/src/warpers.cpp ocl::KernelArg::PtrReadOnly(uk_rinv), ocl::KernelArg::PtrReadOnly(ut), ocl 313 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) ocl 315 modules/stitching/src/warpers.cpp ocl::Kernel k("buildWarpSphericalMaps", ocl::stitching::warpers_oclsrc); ocl 318 modules/stitching/src/warpers.cpp int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 331 modules/stitching/src/warpers.cpp k.args(ocl::KernelArg::WriteOnlyNoSize(uxmap), ocl::KernelArg::WriteOnly(uymap), ocl 332 modules/stitching/src/warpers.cpp ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, rowsPerWI); ocl 361 modules/stitching/src/warpers.cpp if (ocl::useOpenCL()) ocl 363 modules/stitching/src/warpers.cpp ocl::Kernel k("buildWarpCylindricalMaps", ocl::stitching::warpers_oclsrc); ocl 366 modules/stitching/src/warpers.cpp int rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; ocl 379 modules/stitching/src/warpers.cpp k.args(ocl::KernelArg::WriteOnlyNoSize(uxmap), ocl::KernelArg::WriteOnly(uymap), ocl 380 modules/stitching/src/warpers.cpp ocl::KernelArg::PtrReadOnly(uk_rinv), dst_tl.x, dst_tl.y, 1/projector_.scale, ocl 171 modules/superres/src/btv_l1.cpp ocl::Kernel k("buildMotionMaps", ocl::superres::superres_btvl1_oclsrc); ocl 183 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(forwardMotion), ocl 184 modules/superres/src/btv_l1.cpp ocl::KernelArg::ReadOnlyNoSize(backwardMotion), ocl 185 modules/superres/src/btv_l1.cpp ocl::KernelArg::WriteOnlyNoSize(forwardMap), ocl 186 modules/superres/src/btv_l1.cpp ocl::KernelArg::WriteOnly(backwardMap)); ocl 248 modules/superres/src/btv_l1.cpp ocl::Kernel k("upscale", ocl::superres::superres_btvl1_oclsrc, ocl 258 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnly(src), ocl 259 modules/superres/src/btv_l1.cpp ocl::KernelArg::ReadWriteNoSize(dst), scale); ocl 306 modules/superres/src/btv_l1.cpp ocl::Kernel k("diffSign", ocl::superres::superres_btvl1_oclsrc); ocl 315 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src1), ocl 316 modules/superres/src/btv_l1.cpp ocl::KernelArg::ReadOnlyNoSize(src2), ocl 317 modules/superres/src/btv_l1.cpp ocl::KernelArg::WriteOnly(dst, cn)); ocl 424 modules/superres/src/btv_l1.cpp ocl::Kernel k("calcBtvRegularization", ocl::superres::superres_btvl1_oclsrc, ocl 436 modules/superres/src/btv_l1.cpp k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst), ocl 437 modules/superres/src/btv_l1.cpp ksize, ocl::KernelArg::PtrReadOnly(ubtvWeights)); ocl 562 modules/ts/include/opencv2/ts.hpp #define TEST_DUMP_OCL_INFO cvtest::ocl::dumpOpenCLDevice(); ocl 100 modules/ts/include/opencv2/ts/ocl_perf.hpp for (cvtest::ocl::perf::safeFinish(); startTimer(), next(); cvtest::ocl::perf::safeFinish(), stopTimer()) ocl 103 modules/ts/include/opencv2/ts/ocl_perf.hpp for(declare.iterations(n), cvtest::ocl::perf::safeFinish(); startTimer(), next(); cvtest::ocl::perf::safeFinish(), stopTimer()) ocl 106 modules/ts/include/opencv2/ts/ocl_perf.hpp for (declare.runs(runsNum), cvtest::ocl::perf::safeFinish(); startTimer(), next(); cvtest::ocl::perf::safeFinish(), stopTimer()) \ ocl 107 modules/ts/include/opencv2/ts/ocl_perf.hpp for (int r = 0; r < runsNum; cvtest::ocl::perf::safeFinish(), ++r) ocl 121 modules/ts/include/opencv2/ts/ocl_perf.hpp if (cv::ocl::useOpenCL()) ocl 122 modules/ts/include/opencv2/ts/ocl_perf.hpp cv::ocl::finish(); ocl 353 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_OFF(fn) cv::ocl::setUseOpenCL(false); fn ocl 354 modules/ts/include/opencv2/ts/ocl_test.hpp #define OCL_ON(fn) cv::ocl::setUseOpenCL(true); fn ocl 102 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ ocl 118 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ ocl 132 modules/ts/include/opencv2/ts/ts_perf.hpp using namespace cv;using namespace cv::cuda; using namespace cv::ocl; \ ocl 276 modules/ts/include/opencv2/ts/ts_perf.hpp bool ocl; ocl 289 modules/ts/include/opencv2/ts/ts_perf.hpp ipp = icv = ocl = ipp_mt = false; ocl 350 modules/ts/include/opencv2/ts/ts_perf.hpp ocl = ((flags&CV_IMPL_OCL) > 0); ocl 615 modules/ts/include/opencv2/ts/ts_perf.hpp #define TEST_DUMP_OCL_INFO cvtest::ocl::dumpOpenCLDevice(); ocl 55 modules/ts/src/ocl_perf.cpp if (!cv::ocl::useOpenCL()) ocl 59 modules/ts/src/ocl_perf.cpp const cv::ocl::Device& dev = cv::ocl::Device::getDefault(); ocl 97 modules/ts/src/ocl_test.cpp using namespace cv::ocl; ocl 109 modules/ts/src/ocl_test.cpp cv::ocl::getPlatfomsInfo(platforms); ocl 1461 modules/ts/src/ts_perf.cpp RecordProperty("impl_ocl", (int)implConf.ocl); ocl 1517 modules/ts/src/ts_perf.cpp LOGD("impl_ocl =%11d", (int)implConf.ocl); ocl 1619 modules/ts/src/ts_perf.cpp if(implConf.ocl) {printf("OCL "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_OCL); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } ocl 1621 modules/ts/src/ts_perf.cpp if(!(implConf.ipp_mt || implConf.icv || implConf.ipp || implConf.ocl || implConf.plain)) ocl 193 modules/video/src/bgfg_gaussmix2.cpp if (ocl::useOpenCL() && opencl_ON) ocl 196 modules/video/src/bgfg_gaussmix2.cpp kernel_getBg.create("getBackgroundImage2_kernel", ocl::video::bgfg_mog2_oclsrc, format( "-D CN=%d -D NMIXTURES=%d", nchannels, nmixtures)); ocl 328 modules/video/src/bgfg_gaussmix2.cpp mutable ocl::Kernel kernel_apply; ocl 329 modules/video/src/bgfg_gaussmix2.cpp mutable ocl::Kernel kernel_getBg; ocl 769 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::ReadOnly(frame)); ocl 770 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_bgmodelUsedModes)); ocl 771 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_weight)); ocl 772 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_mean)); ocl 773 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_variance)); ocl 774 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_apply.set(idxArg, ocl::KernelArg::WriteOnlyNoSize(fgmask)); ocl 802 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_getBg.set(idxArg, ocl::KernelArg::PtrReadOnly(u_bgmodelUsedModes)); ocl 803 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_getBg.set(idxArg, ocl::KernelArg::PtrReadOnly(u_weight)); ocl 804 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_getBg.set(idxArg, ocl::KernelArg::PtrReadOnly(u_mean)); ocl 805 modules/video/src/bgfg_gaussmix2.cpp idxArg = kernel_getBg.set(idxArg, ocl::KernelArg::WriteOnly(dst)); ocl 819 modules/video/src/bgfg_gaussmix2.cpp kernel_apply.create("mog2_kernel", ocl::video::bgfg_mog2_oclsrc, opts); ocl 895 modules/video/src/lkpyramid.cpp int pitchAlign = (int)ocl::Device::getDefault().imagePitchAlignment(); ocl 947 modules/video/src/lkpyramid.cpp ocl::Kernel kernel; ocl 948 modules/video/src/lkpyramid.cpp if (!kernel.create("lkSparse", cv::ocl::video::pyrlk_oclsrc, "")) ocl 988 modules/video/src/lkpyramid.cpp ocl::Kernel kernel; ocl 989 modules/video/src/lkpyramid.cpp if (!kernel.create("lkSparse", cv::ocl::video::pyrlk_oclsrc, build_options)) ocl 993 modules/video/src/lkpyramid.cpp ocl::Image2D imageI(I, false, ocl::Image2D::canCreateAlias(I)); ocl 994 modules/video/src/lkpyramid.cpp ocl::Image2D imageJ(J, false, ocl::Image2D::canCreateAlias(J)); ocl 999 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(prevPts)); // __global const float2* prevPts ocl 1000 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(nextPts)); // __global const float2* nextPts ocl 1001 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(status)); // __global uchar* status ocl 1002 modules/video/src/lkpyramid.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(err)); // __global float* err ocl 1017 modules/video/src/lkpyramid.cpp return (cv::ocl::Device::TYPE_CPU == cv::ocl::Device::getDefault().type()); ocl 1031 modules/video/src/lkpyramid.cpp if (!cv::ocl::Device::getDefault().imageSupport()) ocl 1095 modules/video/src/lkpyramid.cpp bool use_opencl = ocl::useOpenCL() && ocl 1097 modules/video/src/lkpyramid.cpp ocl::Image2D::isFormatSupported(CV_32F, 1, false); ocl 850 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 851 modules/video/src/optflowgf.cpp if (!kernel.create("gaussianBlur", cv::ocl::video::optical_flow_farneback_oclsrc, "")) ocl 856 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); ocl 858 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dst)); ocl 862 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(m_gKer)); ocl 877 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 878 modules/video/src/optflowgf.cpp if (!kernel.create("gaussianBlur5", cv::ocl::video::optical_flow_farneback_oclsrc, "")) ocl 882 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); ocl 884 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dst)); ocl 888 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(m_gKer)); ocl 903 modules/video/src/optflowgf.cpp const cv::ocl::Device &device = cv::ocl::Device::getDefault(); ocl 910 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 911 modules/video/src/optflowgf.cpp if (!kernel.create("polynomialExpansion", cv::ocl::video::optical_flow_farneback_oclsrc, build_options)) ocl 916 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); ocl 918 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dst)); ocl 922 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(m_g)); ocl 923 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(m_xg)); ocl 924 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(m_xxg)); ocl 939 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 940 modules/video/src/optflowgf.cpp if (!kernel.create("boxFilter5", cv::ocl::video::optical_flow_farneback_oclsrc, "")) ocl 946 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src)); ocl 948 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dst)); ocl 966 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 967 modules/video/src/optflowgf.cpp if (!kernel.create("updateFlow", cv::ocl::video::optical_flow_farneback_oclsrc, "")) ocl 971 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(M)); ocl 973 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowx)); ocl 975 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowy)); ocl 990 modules/video/src/optflowgf.cpp ocl::Kernel kernel; ocl 991 modules/video/src/optflowgf.cpp if (!kernel.create("updateMatrices", cv::ocl::video::optical_flow_farneback_oclsrc, "")) ocl 995 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowx)); ocl 997 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowy)); ocl 1001 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(R0)); ocl 1003 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(R1)); ocl 1005 modules/video/src/optflowgf.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(M)); ocl 1082 modules/video/src/optflowgf.cpp bool use_opencl = ocl::useOpenCL() && _flow0.isUMat(); ocl 221 modules/video/src/tvl1flow.cpp ocl::Kernel kernel; ocl 222 modules/video/src/tvl1flow.cpp if (!kernel.create("centeredGradientKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) ocl 226 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src));//src mat ocl 230 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dx));//res mat dx ocl 231 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dy));//res mat dy ocl 242 modules/video/src/tvl1flow.cpp ocl::Kernel kernel; ocl 243 modules/video/src/tvl1flow.cpp if (!kernel.create("warpBackwardKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) ocl 247 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(I0));//I0 mat ocl 252 modules/video/src/tvl1flow.cpp ocl::Image2D imageI1(I1); ocl 253 modules/video/src/tvl1flow.cpp ocl::Image2D imageI1x(I1x); ocl 254 modules/video/src/tvl1flow.cpp ocl::Image2D imageI1y(I1y); ocl 258 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u1));//const float* u1 ocl 260 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u2));//const float* u2 ocl 261 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(I1w));///float* I1w ocl 262 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(I1wx));//float* I1wx ocl 263 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(I1wy));//float* I1wy ocl 264 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(grad));//float* grad ocl 265 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(rho));//float* rho ocl 286 modules/video/src/tvl1flow.cpp ocl::Kernel kernel; ocl 287 modules/video/src/tvl1flow.cpp if (!kernel.create("estimateUKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) ocl 291 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(I1wx)); //const float* I1wx ocl 295 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(I1wy)); //const float* I1wy ocl 296 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(grad)); //const float* grad ocl 297 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(rho_c)); //const float* rho_c ocl 298 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(p11)); //const float* p11 ocl 299 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(p12)); //const float* p12 ocl 300 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(p21)); //const float* p21 ocl 301 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(p22)); //const float* p22 ocl 302 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(u1)); //float* u1 ocl 304 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(u2)); //float* u2 ocl 305 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(error)); //float* error ocl 327 modules/video/src/tvl1flow.cpp ocl::Kernel kernel; ocl 328 modules/video/src/tvl1flow.cpp if (!kernel.create("estimateDualVariablesKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) ocl 332 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u1));// const float* u1 ocl 336 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u2)); // const float* u2 ocl 337 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(p11)); // float* p11 ocl 339 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(p12)); // float* p12 ocl 340 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(p21)); // float* p21 ocl 341 modules/video/src/tvl1flow.cpp idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(p22)); // float* p22 ocl 376 modules/video/src/tvl1flow.cpp ocl::Image2D::isFormatSupported(CV_32F, 1, false), ocl 242 samples/cpp/ufacedetect.cpp putText(canvas, format("OpenCL: %s, fps: %.1f", ocl::useOpenCL() ? "ON" : "OFF", avgfps), Point(50, 30), ocl 117 samples/directx/d3d10_interop.cpp if (cv::ocl::haveOpenCL()) ocl 119 samples/directx/d3d10_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromD3D10Device(m_pD3D10Dev); ocl 122 samples/directx/d3d10_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? ocl 123 samples/directx/d3d10_interop.cpp cv::ocl::Context::getDefault().device(0).name() : ocl 300 samples/directx/d3d10_interop.cpp cv::ocl::Context m_oclCtx; ocl 121 samples/directx/d3d11_interop.cpp if (cv::ocl::haveOpenCL()) ocl 123 samples/directx/d3d11_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromD3D11Device(m_pD3D11Dev); ocl 126 samples/directx/d3d11_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? ocl 127 samples/directx/d3d11_interop.cpp cv::ocl::Context::getDefault().device(0).name() : ocl 306 samples/directx/d3d11_interop.cpp cv::ocl::Context m_oclCtx; ocl 90 samples/directx/d3d9_interop.cpp if (cv::ocl::haveOpenCL()) ocl 92 samples/directx/d3d9_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromDirect3DDevice9(m_pD3D9Dev); ocl 95 samples/directx/d3d9_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? ocl 96 samples/directx/d3d9_interop.cpp cv::ocl::Context::getDefault().device(0).name() : ocl 298 samples/directx/d3d9_interop.cpp cv::ocl::Context m_oclCtx; ocl 90 samples/directx/d3d9ex_interop.cpp if (cv::ocl::haveOpenCL()) ocl 92 samples/directx/d3d9ex_interop.cpp m_oclCtx = cv::directx::ocl::initializeContextFromDirect3DDevice9(m_pD3D9DevEx); ocl 95 samples/directx/d3d9ex_interop.cpp m_oclDevName = cv::ocl::useOpenCL() ? ocl 96 samples/directx/d3d9ex_interop.cpp cv::ocl::Context::getDefault().device(0).name() : ocl 299 samples/directx/d3d9ex_interop.cpp cv::ocl::Context m_oclCtx; ocl 117 samples/tapi/bgfg_segm.cpp ocl::setUseOpenCL(!ocl::useOpenCL()); ocl 118 samples/tapi/bgfg_segm.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; ocl 220 samples/tapi/camshift.cpp cv::ocl::setUseOpenCL(!cv::ocl::useOpenCL()); ocl 104 samples/tapi/clahe.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); ocl 105 samples/tapi/clahe.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; ocl 228 samples/tapi/hog.cpp putText(img_to_show, ocl::useOpenCL() ? "Mode: OpenCL" : "Mode: CPU", Point(5, 25), FONT_HERSHEY_SIMPLEX, 1., Scalar(255, 100, 0), 2); ocl 274 samples/tapi/hog.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); ocl 275 samples/tapi/hog.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL enabled" : "CPU") << " mode\n"; ocl 191 samples/tapi/pyrlk_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); ocl 192 samples/tapi/pyrlk_optical_flow.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n"; ocl 202 samples/tapi/pyrlk_optical_flow.cpp ocl::setUseOpenCL(false); ocl 160 samples/tapi/squares.cpp ocl::setUseOpenCL(false); ocl 188 samples/tapi/tvl1_optical_flow.cpp ocl::setUseOpenCL(!cv::ocl::useOpenCL()); ocl 189 samples/tapi/tvl1_optical_flow.cpp cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n"; ocl 200 samples/tapi/tvl1_optical_flow.cpp ocl::setUseOpenCL(false);