Home
last modified time | relevance | path

Searched refs:haveMask (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dfeatureselect.cpp86 bool haveMask = !_mask.empty(); in ocl_goodFeaturesToTrack() local
104 (int)wgs, dbsize, wgs2_aligned, haveMask ? " -D HAVE_MASK" : "")); in ocl_goodFeaturesToTrack()
116 if (haveMask) in ocl_goodFeaturesToTrack()
140 format("-D OP_FIND_CORNERS%s", haveMask ? " -D HAVE_MASK" : "")); in ocl_goodFeaturesToTrack()
148 if (!haveMask) in ocl_goodFeaturesToTrack()
Daccum.cpp797 bool haveMask = !_mask.empty(), doubleSupport = dev.doubleFPConfig() > 0; in ocl_accumulate() local
799 …int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.… in ocl_accumulate()
810 opMap[op_type], haveMask ? " -D HAVE_MASK" : "", in ocl_accumulate()
835 if (haveMask) in ocl_accumulate()
/external/opencv3/modules/core/src/
Dstat.cpp1055 haveMask = _mask.kind() != _InputArray::NONE, in ocl_sum() local
1058 kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1, in ocl_sum()
1071 CV_Assert(!haveMask || _mask.type() == CV_8UC1); in ocl_sum()
1088 haveMask ? " -D HAVE_MASK" : "", in ocl_sum()
1090 haveMask && _mask.isContinuous() ? " -D HAVE_MASK_CONT" : "", kercn, in ocl_sum()
1107 if (haveMask) in ocl_sum()
1507 bool haveMask = _mask.kind() != _InputArray::NONE; in ocl_meanStdDev() local
1508 int nz = haveMask ? -1 : (int)_src.total(); in ocl_meanStdDev()
1528 CV_Assert(!haveMask || _mask.type() == CV_8UC1); in ocl_meanStdDev()
1549 (int)wgs, wgs2_aligned, haveMask ? " -D HAVE_MASK" : "", in ocl_meanStdDev()
[all …]
Darithm.cpp1440 bool haveMask = !_mask.empty(); in ocl_binary_op() local
1447 if( oclop < 0 || ((haveMask || haveScalar) && cn > 4) || in ocl_binary_op()
1452 int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst); in ocl_binary_op()
1457 haveMask ? "MASK_" : "", haveScalar ? "UNARY_OP" : "BINARY_OP", oclop2str[oclop], in ocl_binary_op()
1474 ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) : in ocl_binary_op()
1491 if( !haveMask ) in ocl_binary_op()
1501 if( !haveMask ) in ocl_binary_op()
1528 bool haveMask = !_mask.empty(), haveScalar = false; in binary_op() local
1531 if( dims1 <= 2 && dims2 <= 2 && kind1 == kind2 && sz1 == sz2 && type1 == type2 && !haveMask ) in binary_op()
1586 if( haveMask ) in binary_op()
[all …]
Dumatrix.cpp771 bool haveMask = !_mask.empty(); in setTo() local
779 int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), in setTo()
792 ocl::Kernel setK(haveMask ? "setMask" : "set", ocl::core::copyset_oclsrc, opts); in setTo()
798 if( haveMask ) in setTo()
821 Mat m = getMat(haveMask ? ACCESS_RW : ACCESS_WRITE); in setTo()
/external/opencv3/modules/core/test/
Dtest_arithm.cpp1340 … bool haveMask = (op->flags & cvtest::BaseElemWiseOp::SUPPORT_MASK) != 0 && rng.uniform(0, 4) == 0; in TEST_P() local
1349 if( haveMask ) in TEST_P()
1352 if( (haveMask || ninputs == 0) && !(op->flags & cvtest::BaseElemWiseOp::SCALAR_OUTPUT)) in TEST_P()