Home
last modified time | relevance | path

Searched refs:sdepth (Results 1 – 25 of 36) sorted by relevance

12

/external/opencv3/modules/imgproc/perf/
Dperf_integral.cpp22 int sdepth = get<2>(GetParam()); in PERF_TEST_P() local
25 Mat sum(sz, sdepth); in PERF_TEST_P()
29 TEST_CYCLE() integral(src, sum, sdepth); in PERF_TEST_P()
44 int sdepth = get<2>(GetParam()); in PERF_TEST_P() local
47 Mat sum(sz, sdepth); in PERF_TEST_P()
48 Mat sqsum(sz, sdepth); in PERF_TEST_P()
53 TEST_CYCLE() integral(src, sum, sqsum, sdepth); in PERF_TEST_P()
69 int sdepth = get<2>(GetParam()); in PERF_TEST_P() local
72 Mat sum(sz, sdepth); in PERF_TEST_P()
73 Mat sqsum(sz, sdepth); in PERF_TEST_P()
[all …]
/external/opencv3/modules/imgproc/src/
Dsumpixels.cpp340 static bool ocl_integral( InputArray _src, OutputArray _sum, int sdepth ) in ocl_integral() argument
345 !(sdepth == CV_32S || sdepth == CV_32F || (doubleSupport && sdepth == CV_64F))) in ocl_integral()
351 ocl::typeToStr(sdepth), tileSize, in ocl_integral()
361 UMat buf(bufsize, sdepth); in ocl_integral()
372 _sum.create(sumsize, sdepth); in ocl_integral()
380 static bool ocl_integral( InputArray _src, OutputArray _sum, OutputArray _sqsum, int sdepth, int sq… in ocl_integral() argument
384 if ( _src.type() != CV_8UC1 || (!doubleSupport && (sdepth == CV_64F || sqdepth == CV_64F)) ) in ocl_integral()
390 ocl::typeToStr(sdepth), ocl::typeToStr(sqdepth), in ocl_integral()
401 UMat buf(bufsize, sdepth); in ocl_integral()
413 _sum.create(sumsize, sdepth); in ocl_integral()
[all …]
Daccum.cpp769 inline int getAccTabIdx(int sdepth, int ddepth) in getAccTabIdx() argument
771 return sdepth == CV_8U && ddepth == CV_32F ? 0 : in getAccTabIdx()
772 sdepth == CV_8U && ddepth == CV_64F ? 1 : in getAccTabIdx()
773 sdepth == CV_16U && ddepth == CV_32F ? 2 : in getAccTabIdx()
774 sdepth == CV_16U && ddepth == CV_64F ? 3 : in getAccTabIdx()
775 sdepth == CV_32F && ddepth == CV_32F ? 4 : in getAccTabIdx()
776 sdepth == CV_32F && ddepth == CV_64F ? 5 : in getAccTabIdx()
777 sdepth == CV_64F && ddepth == CV_64F ? 6 : -1; in getAccTabIdx()
798 …int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth(… in ocl_accumulate() local
801 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) in ocl_accumulate()
[all …]
Dderiv.cpp204 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); in IPPDerivScharr() local
206 ddepth = sdepth; in IPPDerivScharr()
558 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); in Sobel() local
560 ddepth = sdepth; in Sobel()
596 int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); in Sobel()
616 int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype); in Scharr() local
618 ddepth = sdepth; in Scharr()
641 int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); in Scharr()
673 int sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), esz = CV_ELEM_SIZE(stype); in ocl_Laplacian5() local
676 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) in ocl_Laplacian5()
[all …]
Dfilter.cpp3628 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(bufType); in getLinearRowFilter() local
3631 ddepth >= std::max(sdepth, CV_32S) && in getLinearRowFilter()
3637 if( sdepth == CV_8U && ddepth == CV_32S ) in getLinearRowFilter()
3640 if( sdepth == CV_32F && ddepth == CV_32F ) in getLinearRowFilter()
3645 if( sdepth == CV_8U && ddepth == CV_32S ) in getLinearRowFilter()
3648 if( sdepth == CV_8U && ddepth == CV_32F ) in getLinearRowFilter()
3650 if( sdepth == CV_8U && ddepth == CV_64F ) in getLinearRowFilter()
3652 if( sdepth == CV_16U && ddepth == CV_32F ) in getLinearRowFilter()
3654 if( sdepth == CV_16U && ddepth == CV_64F ) in getLinearRowFilter()
3656 if( sdepth == CV_16S && ddepth == CV_32F ) in getLinearRowFilter()
[all …]
Dsmooth.cpp1036 …int type = _src.type(), sdepth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type… in ocl_boxFilter() local
1040 ddepth = sdepth; in ocl_boxFilter()
1042 if (cn > 4 || (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) || in ocl_boxFilter()
1056 int wdepth = std::max(CV_32F, std::max(ddepth, sdepth)), in ocl_boxFilter()
1127 ocl::typeToStr(type), ocl::typeToStr(sdepth), ocl::typeToStr(dtype), in ocl_boxFilter()
1129 ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), in ocl_boxFilter()
1161 ocl::convertTypeStr(sdepth, wdepth, cn, cvt[1]), in ocl_boxFilter()
1165 ocl::typeToStr(sdepth), ocl::typeToStr(ddepth), cn); in ocl_boxFilter()
1214 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(sumType); in getRowSumFilter() local
1220 if( sdepth == CV_8U && ddepth == CV_32S ) in getRowSumFilter()
[all …]
/external/opencv/cxcore/src/
Dcxsumpixels.cpp888 int sdepth, ddepth, cn, op0 = op; in cvReduce() local
900 sdepth = CV_MAT_DEPTH(src->type); in cvReduce()
919 int ttype = sdepth == CV_8U ? CV_MAKETYPE(CV_32S,cn) : dst->type; in cvReduce()
933 (sdepth == CV_8U && ddepth == CV_32S ? (CvReduceToRowFunc)icvSumRows_8u32s_C1R : in cvReduce()
934 sdepth == CV_8U && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_8u32f_C1R : in cvReduce()
935 sdepth == CV_16U && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_16u32f_C1R : in cvReduce()
936 sdepth == CV_16U && ddepth == CV_64F ? (CvReduceToRowFunc)icvSumRows_16u64f_C1R : in cvReduce()
937 sdepth == CV_16S && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_16s32f_C1R : in cvReduce()
938 sdepth == CV_16S && ddepth == CV_64F ? (CvReduceToRowFunc)icvSumRows_16s64f_C1R : in cvReduce()
939 sdepth == CV_32F && ddepth == CV_32F ? (CvReduceToRowFunc)icvSumRows_32f_C1R : in cvReduce()
[all …]
/external/opencv3/modules/cudaarithm/src/cuda/
Dadd_mat.cu185 const int sdepth = src1.depth(); in addMat() local
188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in addMat()
194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) in addMat()
204 if (sdepth == CV_8U && (src1_.cols & 3) == 0) in addMat()
209 else if (sdepth == CV_16U && (src1_.cols & 1) == 0) in addMat()
217 const func_t func = funcs[sdepth][ddepth]; in addMat()
Dsub_mat.cu185 const int sdepth = src1.depth(); in subMat() local
188 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in subMat()
194 if (mask.empty() && (sdepth == CV_8U || sdepth == CV_16U) && ddepth == sdepth) in subMat()
204 if (sdepth == CV_8U && (src1_.cols & 3) == 0) in subMat()
209 else if (sdepth == CV_16U && (src1_.cols & 1) == 0) in subMat()
217 const func_t func = funcs[sdepth][ddepth]; in subMat()
Dmul_mat.cu176 const int sdepth = src1.depth(); in mulMat() local
179 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in mulMat()
185 const func_t func = funcs[sdepth][ddepth]; in mulMat()
Ddiv_mat.cu190 const int sdepth = src1.depth(); in divMat() local
193 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in divMat()
199 const func_t func = funcs[sdepth][ddepth]; in divMat()
Dmul_scalar.cu163 const int sdepth = src.depth(); in mulScalar() local
167 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 ); in mulScalar()
174 const func_t func = funcs[sdepth][ddepth][cn - 1]; in mulScalar()
Dadd_scalar.cu166 const int sdepth = src.depth(); in addScalar() local
170 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 ); in addScalar()
172 const func_t func = funcs[sdepth][ddepth][cn - 1]; in addScalar()
Dsub_scalar.cu189 const int sdepth = src.depth(); in subScalar() local
193 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 ); in subScalar()
195 const func_t func = funcs[sdepth][ddepth][cn - 1]; in subScalar()
Ddiv_scalar.cu231 const int sdepth = src.depth(); in divScalar() local
235 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 ); in divScalar()
252 const func_t func = funcs[sdepth][ddepth][cn - 1]; in divScalar()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_imgproc.cpp287 int sdepth, sqdepth; member
294 sdepth = GET_PARAM(1); in SetUp()
308 randomSubMat(dst, dst_roi, isize, dstBorder, sdepth, 5, 16); in random_roi()
333 OCL_OFF(cv::integral(src_roi, dst_roi, sdepth)); in OCL_TEST_P()
334 OCL_ON(cv::integral(usrc_roi, udst_roi, sdepth)); in OCL_TEST_P()
346 OCL_OFF(cv::integral(src_roi, dst_roi, dst2_roi, sdepth, sqdepth)); in OCL_TEST_P()
347 OCL_ON(cv::integral(usrc_roi, udst_roi, udst2_roi, sdepth, sqdepth)); in OCL_TEST_P()
Dtest_accumulate.cpp57 int sdepth, ddepth, channels; in PARAM_TEST_CASE() local
69 sdepth = depths.first, ddepth = depths.second; in PARAM_TEST_CASE()
76 const int stype = CV_MAKE_TYPE(sdepth, channels), in PARAM_TEST_CASE()
/external/opencv3/modules/core/src/
Dmatrix.cpp3384 sdepth = CV_MAT_DEPTH(stype), ddepth = dstmat.depth(); in reduceSumC_8u16u16s32f_64f() local
3409 sdepth == CV_8U ? (cv::ReduceFunc)cv::reduceC_<uchar, double, cv::OpAdd<double> > : in reduceSumC_8u16u16s32f_64f()
3410 sdepth == CV_16U ? (cv::ReduceFunc)cv::reduceC_<ushort, double, cv::OpAdd<double> > : in reduceSumC_8u16u16s32f_64f()
3411 sdepth == CV_16S ? (cv::ReduceFunc)cv::reduceC_<short, double, cv::OpAdd<double> > : in reduceSumC_8u16u16s32f_64f()
3412sdepth == CV_32F ? (cv::ReduceFunc)cv::reduceC_<float, double, cv::OpAdd<double> > : 0; in reduceSumC_8u16u16s32f_64f()
3530 int sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), in ocl_reduce() local
3538 if (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) in ocl_reduce()
3543 if (sdepth < CV_32S && ddepth < CV_32S) in ocl_reduce()
3564 ocl::typeToStr(sdepth), in ocl_reduce()
3568 ocl::convertTypeStr(sdepth, ddepth, 1, cvt[1]), in ocl_reduce()
[all …]
Dumatrix.cpp720 int sdepth = CV_MAT_DEPTH(stype), ddepth = CV_MAT_DEPTH(_type); in convertTo() local
721 if( sdepth == ddepth && noScale ) in convertTo()
728 bool needDouble = sdepth == CV_64F || ddepth == CV_64F; in convertTo()
732 int wdepth = std::max(CV_32F, sdepth), rowsPerWI = 4; in convertTo()
737 ocl::typeToStr(sdepth), ocl::typeToStr(wdepth), ocl::typeToStr(ddepth), in convertTo()
738 ocl::convertTypeStr(sdepth, wdepth, 1, cvt[0]), in convertTo()
/external/opencv3/modules/core/src/cuda/
Dgpu_mat.cu477 const int sdepth = depth(); in convertTo() local
479 if (sdepth == ddepth) in convertTo()
489 CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F ); in convertTo()
508 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), stream); in convertTo()
518 const int sdepth = depth(); in convertTo() local
538 funcs[sdepth][ddepth](reshape(1), dst.reshape(1), alpha, beta, stream); in convertTo()
/external/opencv3/modules/cudaimgproc/src/
Dcorners.cpp88 const int sdepth = CV_MAT_DEPTH(srcType_); in CornerBase() local
98 if (sdepth == CV_8U) in CornerBase()
Dmatch_template.cpp596 const int sdepth = CV_MAT_DEPTH(srcType); in createTemplateMatching() local
598 CV_Assert( sdepth == CV_8U || sdepth == CV_32F ); in createTemplateMatching()
600 if (sdepth == CV_32F) in createTemplateMatching()
/external/opencv3/modules/cudafilters/src/
Dfiltering.cpp211 const int sdepth = CV_MAT_DEPTH(srcType); in LinearFilter() local
216 CV_Assert( sdepth == CV_8U || sdepth == CV_16U || sdepth == CV_32F ); in LinearFilter()
365 const int sdepth = CV_MAT_DEPTH(srcType); in SeparableLinearFilter() local
372 CV_Assert( sdepth <= CV_64F && cn <= 4 ); in SeparableLinearFilter()
394 rowFilter_ = rowFilterFuncs[sdepth][cn - 1]; in SeparableLinearFilter()
/external/opencv3/modules/cudaarithm/src/
Delement_operations.cpp131 const int sdepth = src1.empty() ? src2.depth() : src1.depth(); in arithm_op() local
136 dtype = sdepth; in arithm_op()
140 CV_Assert( sdepth <= CV_64F && ddepth <= CV_64F ); in arithm_op()
144 if (sdepth == CV_64F || ddepth == CV_64F) in arithm_op()
/external/opencv3/doc/py_tutorials/py_bindings/py_bindings_basics/
Dpy_bindings_basics.markdown99 CV_EXPORTS_W void integral( InputArray src, OutputArray sum, int sdepth = -1 );
103 OutputArray sqsum, int sdepth = -1, int sqdepth = -1 );
108 int sdepth = -1, int sqdepth = -1 );

12