/external/opencv3/modules/core/src/opencl/ |
set_identity.cl | 46 #if kercn != 3 66 #if kercn == cn 71 #elif kercn == 4 && cn == 1 94 #error "Incorrect combination of cn && kercn"
|
inrange.cl | 67 int src1_index = mad24(y0, src1_step, mad24(x, (int)sizeof(srcT1) * kercn, src1_offset)); 70 int src2_index = mad24(y0, src2_step, mad24(x, (int)sizeof(srcT1) * kercn, src2_offset)); 71 int src3_index = mad24(y0, src3_step, mad24(x, (int)sizeof(srcT1) * kercn, src3_offset)); 76 #if kercn >= cn && kercn == 4 && depth <= 4 && !defined HAVE_SCALAR 116 #endif // kercn >= cn
|
flip.cl | 42 #if kercn != 3 103 #if kercn == 2 108 #elif kercn == 4 149 #if kercn == 2 154 #elif kercn == 4
|
/external/opencv3/modules/features2d/src/opencl/ |
brute_force_match.cl | 65 # define SHARED_MEM_SZ (kercn * (BLOCK_SIZE * MAX_DESC_LEN + BLOCK_SIZE * BLOCK_SIZE)) 67 # define SHARED_MEM_SZ (kercn * 2 * BLOCK_SIZE_ODD * BLOCK_SIZE) 79 # if (8 == kercn) 82 # elif (4 == kercn) 91 # if (8 == kercn) 94 # elif (4 == kercn) 105 # if (8 == kercn) 108 # elif (4 == kercn) 117 # if (8 == kercn) 119 # elif (4 == kercn) [all...] |
/external/opencv3/modules/imgproc/src/opencl/ |
pyr_down.cl | 82 #if kercn == 4 110 #if kercn == 4 134 const int x = get_global_id(0)*kercn; 152 #if kercn == 1 184 #if kercn == 1 216 #if kercn == 1
|
/external/opencv3/modules/core/src/ |
umatrix.cpp | 779 int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), 780 kertp = CV_MAKE_TYPE(d, kercn); 784 convertAndUnrollScalar(value, tp, (uchar *)buf, kercn / cn); 786 int scalarcn = kercn == 3 ? 4 : kercn, rowsPerWI = ocl::Device::getDefault().isIntel() ? 4 : 1; 790 ocl::memopTypeToStr(d), kercn); 808 ocl::KernelArg dstarg = ocl::KernelArg::WriteOnly(*this, cn, kercn); 812 size_t globalsize[] = { cols * cn / kercn, (rows + rowsPerWI - 1) / rowsPerWI }; 860 kercn = ocl::predictOptimalVectorWidth(src1, src2); 878 "-D WGS=%d -D WGS2_ALIGNED=%d%s%s%s -D kercn=%d" [all...] |
copy.cpp | 680 flipType, kercn = std::min(ocl::predictOptimalVectorWidth(_src, _dst), 4); local 684 kercn = cn; 698 kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn; 701 format( "-D T=%s -D T1=%s -D cn=%d -D PIX_PER_WI_Y=%d -D kercn=%d", 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)); 850 kercn = ocl::predictOptimalVectorWidth(_src, _dst); local [all...] |
arithm.cpp | 1452 int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); local 1827 int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); local 4902 int kercn = haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; local 4960 convertAndUnrollScalar(Mat(1, 1, CV_32S, &ival), depth1, (uchar *)buf, kercn); local 5600 int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn); local [all...] |
matmul.cpp | 838 int kercn = ocl::checkOptimalVectorWidth(vectorWidths, B, D); local 840 String opts = format("-D T=%s -D T1=%s -D WT=%s -D cn=%d -D kercn=%d -D LOCAL_SIZE=%d %s %s %s", 841 ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), 842 cn, kercn, block_size, 853 ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), 854 ocl::KernelArg::ReadWrite(D, cn, kercn), 858 ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn), 859 ocl::KernelArg::ReadWrite(D, cn, kercn), 862 size_t globalsize[2] = { sizeD.width * cn / kercn, sizeD.height}; 2279 int kercn = ocl::predictOptimalVectorWidthMax(_src1, _src2, _dst), local [all...] |
stat.cpp | 1058 kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1, local [all...] |
mathfuncs.cpp | 67 int kercn = oclop == OCL_OP_PHASE_DEGREES || local 78 oclop2str[oclop], ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), rowsPerWI, 89 dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); 96 size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI }; [all...] |
convert.cpp | [all...] |
matrix.cpp | [all...] |
ocl.cpp | 5495 int kercn = *std::min_element(kercns.begin(), kercns.end()); local [all...] |
/external/opencv3/modules/features2d/src/ |
matchers.cpp | 78 int kercn = 1; local 82 kercn = 4; 88 max_desc_len = 64 / kercn; 90 max_desc_len = 128 / kercn; 94 opts = cv::format("-D T=%s -D TN=%s -D kercn=%d %s -D DIST_TYPE=%d -D BLOCK_SIZE=%d -D MAX_DESC_LEN=%d", 95 ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_FLOAT" : "", distType, block_size, max_desc_len); 178 int kercn = 1; local 182 kercn = 4; 188 max_desc_len = 64 / kercn; 294 int kercn = 1; local [all...] |
/external/opencv3/modules/imgproc/src/ |
deriv.cpp | 759 int wdepth = std::max(depth, floatCoeff ? CV_32F : CV_32S), kercn = 1; local 769 ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)), 770 ocl::typeToStr(CV_MAKE_TYPE(wdepth, kercn)), 771 ocl::typeToStr(CV_MAKE_TYPE(ddepth, kercn)), 773 ocl::convertTypeStr(depth, wdepth, kercn, cvt[0]), 774 ocl::convertTypeStr(wdepth, ddepth, kercn, cvt[1]), 787 dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn); 794 size_t globalsize[] = { dst.cols * cn / kercn, dst.rows }; [all...] |
pyramids.cpp | 1089 int kercn = 1; local [all...] |
accum.cpp | 799 int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1; local 811 ocl::typeToStr(sdepth), kercn, ocl::typeToStr(ddepth), 821 dstarg = ocl::KernelArg::ReadWrite(dst, cn, kercn), 838 size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI }; [all...] |
thresh.cpp | 1142 kercn = ocl::predictOptimalVectorWidth(_src, _dst), ktype = CV_MAKE_TYPE(depth, kercn); local [all...] |
histogram.cpp | [all...] |