/external/opencv3/modules/stitching/src/ |
blenders.cpp | 254 ocl::buildOptionsAddMatrixDescription(buildOptions, "src", _src); 255 ocl::buildOptionsAddMatrixDescription(buildOptions, "weight", _weight); 256 ocl::buildOptionsAddMatrixDescription(buildOptions, "dst", _dst); 257 ocl::buildOptionsAddMatrixDescription(buildOptions, "dstWeight", _dst_weight); 258 ocl::Kernel k("feed", ocl::stitching::multibandblend_oclsrc, buildOptions); 264 k.args(ocl::KernelArg::ReadOnly(src), 265 ocl::KernelArg::ReadOnly(_weight.getUMat()), 266 ocl::KernelArg::ReadWrite(_dst.getUMat()), 267 ocl::KernelArg::ReadWrite(_dst_weight.getUMat() [all...] |
/external/opencv3/modules/core/src/ |
mathfuncs.cpp | 68 oclop == OCL_OP_PHASE_RADIANS ? 1 : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); 70 const ocl::Device d = ocl::Device::getDefault(); 76 ocl::Kernel k("KF", ocl::core::arithm_oclsrc, 78 oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, 87 ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1), 88 src2arg = ocl::KernelArg::ReadOnlyNoSize(src2), 89 dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn) [all...] |
opencl_kernels_core.cpp | 8 namespace ocl namespace in namespace:cv [all...] |
opencl_kernels_core.hpp | 3 #include "opencv2/core/ocl.hpp" 9 namespace ocl namespace in namespace:cv
|
copy.cpp | 678 const ocl::Device & dev = ocl::Device::getDefault(); 680 flipType, kercn = std::min(ocl::predictOptimalVectorWidth(_src, _dst), 4); 697 int pxPerWIy = (dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1; 700 ocl::Kernel k(kernelName, ocl::core::flip_oclsrc, 702 kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)), 703 kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), cn, pxPerWIy, kercn)) [all...] |
stat.cpp | [all...] |
/external/opencv3/modules/features2d/src/ |
orb.cpp | 72 ocl::Kernel hr_ker("ORB_HarrisResponses", ocl::features2d::orb_oclsrc, 77 return hr_ker.args(ocl::KernelArg::ReadOnlyNoSize(imgbuf), 78 ocl::KernelArg::PtrReadOnly(layerinfo), 79 ocl::KernelArg::PtrReadOnly(keypoints), 80 ocl::KernelArg::PtrWriteOnly(responses), 91 ocl::Kernel icangle_ker("ORB_ICAngle", ocl::features2d::orb_oclsrc, "-D ORB_ANGLES"); 95 return icangle_ker.args(ocl::KernelArg::ReadOnlyNoSize(imgbuf), 96 ocl::KernelArg::PtrReadOnly(layerinfo) [all...] |
fast.cpp | 267 ocl::Kernel fastKptKernel("FAST_findKeypoints", ocl::features2d::fast_oclsrc); 276 if( !fastKptKernel.args(ocl::KernelArg::ReadOnly(img), 277 ocl::KernelArg::PtrReadWrite(kp1), 305 ocl::Kernel fastNMSKernel("FAST_nonmaxSupression", ocl::features2d::fast_oclsrc); 310 if( !fastNMSKernel.args(ocl::KernelArg::PtrReadOnly(kp1), 311 ocl::KernelArg::PtrReadWrite(kp2), 312 ocl::KernelArg::ReadOnly(img), 333 if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 & [all...] |
/external/opencv3/modules/imgproc/src/ |
canny.cpp | 103 const ocl::Device &dev = ocl::Device::getDefault(); 141 ocl::Kernel with_sobel("stage1_with_sobel", ocl::imgproc::canny_oclsrc, 143 cn, ocl::memopTypeToStr(_src.depth()), 144 ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt), 145 ocl::typeToStr(CV_MAKE_TYPE(CV_32F, cn)), 153 with_sobel.args(ocl::KernelArg::ReadOnly(src), 154 ocl::KernelArg::WriteOnlyNoSize(map), 175 ocl::Kernel without_sobel("stage1_without_sobel", ocl::imgproc::canny_oclsrc [all...] |
hough.cpp | 671 ocl::Device dev = ocl::Device::getDefault(); 675 ocl::Kernel pointListKernel("make_point_list", ocl::imgproc::hough_lines_oclsrc, 680 pointListKernel.args(ocl::KernelArg::ReadOnly(src), ocl::KernelArg::WriteOnlyNoSize(pointsList), 681 ocl::KernelArg::PtrWriteOnly(counters)); 694 ocl::Device dev = ocl::Device::getDefault(); 699 ocl::Kernel fillAccumKernel [all...] |
corner.cpp | 407 ocl::Kernel k(format("sobel%d", aperture_size).c_str(), ocl::imgproc::covardata_oclsrc, 409 (int)localsize[0], (int)localsize[1], borderTypes[borderType], ocl::typeToStr(depth), 414 k.args(ocl::KernelArg::PtrReadOnly(src), (int)src.step, src_offset_x, src_offset_y, 415 ocl::KernelArg::WriteOnlyNoSize(Dx), ocl::KernelArg::WriteOnly(Dy), 466 ocl::Kernel cornelKernel("corner", ocl::imgproc::corner_oclsrc, 476 cornelKernel.args(ocl::KernelArg::ReadOnly(Dx), ocl::KernelArg::ReadOnly(Dy) [all...] |
/external/opencv3/modules/calib3d/test/opencl/ |
test_stereobm.cpp | 50 namespace ocl { namespace in namespace:cvtest 94 }//ocl
|
/external/opencv3/modules/core/perf/opencl/ |
perf_gemm.cpp | 53 namespace ocl { namespace in namespace:cvtest 82 } } // namespace cvtest::ocl
|
/external/opencv3/modules/core/test/ocl/ |
test_matrix_expr.cpp | 14 namespace ocl { namespace in namespace:cvtest 83 } } // namespace cvtest::ocl
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_medianfilter.cpp | 50 namespace ocl { namespace in namespace:cvtest 109 } } // namespace cvtest::ocl
|
/external/opencv3/modules/objdetect/perf/opencl/ |
perf_cascades.cpp | 50 cvtest::ocl::perf::safeFinish();
|
perf_hogdetect.cpp | 53 namespace ocl { namespace in namespace:cvtest
|
/external/opencv3/modules/video/perf/opencl/ |
perf_optflow_dualTVL1.cpp | 55 namespace ocl { namespace in namespace:cvtest 110 } // namespace cvtest::ocl
|
perf_optflow_pyrlk.cpp | 55 namespace ocl { namespace in namespace:cvtest 98 } } // namespace cvtest::ocl
|
/external/opencv3/modules/video/test/ocl/ |
test_optflow_tvl1flow.cpp | 50 namespace ocl { namespace in namespace:cvtest 115 } } // namespace cvtest::ocl
|
/external/opencv3/samples/tapi/ |
pyrlk_optical_flow.cpp | 9 #include "opencv2/core/ocl.hpp" 191 ocl::setUseOpenCL(!cv::ocl::useOpenCL()); 192 cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n"; 202 ocl::setUseOpenCL(false);
|
tvl1_optical_flow.cpp | 5 #include "opencv2/core/ocl.hpp" 188 ocl::setUseOpenCL(!cv::ocl::useOpenCL()); 189 cout << "Switched to " << (ocl::useOpenCL() ? "OpenCL" : "CPU") << " mode\n"; 200 ocl::setUseOpenCL(false);
|
/external/opencv3/modules/video/src/ |
tvl1flow.cpp | 221 ocl::Kernel kernel; 222 if (!kernel.create("centeredGradientKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) 226 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(src));//src mat 230 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dx));//res mat dx 231 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(dy));//res mat dy 242 ocl::Kernel kernel; 243 if (!kernel.create("warpBackwardKernel", cv::ocl::video::optical_flow_tvl1_oclsrc, "")) 247 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(I0));//I0 mat 252 ocl::Image2D imageI1(I1); 253 ocl::Image2D imageI1x(I1x) [all...] |
bgfg_gaussmix2.cpp | 193 if (ocl::useOpenCL() && opencl_ON) 196 kernel_getBg.create("getBackgroundImage2_kernel", ocl::video::bgfg_mog2_oclsrc, format( "-D CN=%d -D NMIXTURES=%d", nchannels, nmixtures)); 319 //for OCL 328 mutable ocl::Kernel kernel_apply; 329 mutable ocl::Kernel kernel_getBg; 769 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::ReadOnly(frame)); 770 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_bgmodelUsedModes)); 771 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_weight)); 772 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_mean)); 773 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::PtrReadWrite(u_variance)) [all...] |
/external/opencv3/modules/superres/src/ |
btv_l1.cpp | 171 ocl::Kernel k("buildMotionMaps", ocl::superres::superres_btvl1_oclsrc); 183 k.args(ocl::KernelArg::ReadOnlyNoSize(forwardMotion), 184 ocl::KernelArg::ReadOnlyNoSize(backwardMotion), 185 ocl::KernelArg::WriteOnlyNoSize(forwardMap), 186 ocl::KernelArg::WriteOnly(backwardMap)); 248 ocl::Kernel k("upscale", ocl::superres::superres_btvl1_oclsrc, 258 k.args(ocl::KernelArg::ReadOnly(src), 259 ocl::KernelArg::ReadWriteNoSize(dst), scale) [all...] |