/external/opencv3/modules/imgproc/perf/ |
D | perf_pyramids.cpp | 17 const double eps = CV_MAT_DEPTH(matType) <= CV_32S ? 1 : 1e-5; in PERF_TEST_P() 18 perf::ERROR_TYPE error_type = CV_MAT_DEPTH(matType) <= CV_32S ? ERROR_ABSOLUTE : ERROR_RELATIVE; in PERF_TEST_P() 38 const double eps = CV_MAT_DEPTH(matType) <= CV_32S ? 1 : 1e-5; in PERF_TEST_P() 39 perf::ERROR_TYPE error_type = CV_MAT_DEPTH(matType) <= CV_32S ? ERROR_ABSOLUTE : ERROR_RELATIVE; in PERF_TEST_P() 60 const double eps = CV_MAT_DEPTH(matType) <= CV_32S ? 1 : 1e-5; in PERF_TEST_P() 61 perf::ERROR_TYPE error_type = CV_MAT_DEPTH(matType) <= CV_32S ? ERROR_ABSOLUTE : ERROR_RELATIVE; in PERF_TEST_P()
|
/external/opencv3/modules/core/perf/ |
D | perf_arithm.cpp | 83 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 105 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 128 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 150 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 172 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 194 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 213 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P() 234 if (CV_MAT_DEPTH(type) == CV_32S) in PERF_TEST_P()
|
D | perf_reduce.cpp | 28 if( CV_MAT_DEPTH(matType) < CV_32S && (reduceOp == CV_REDUCE_SUM || reduceOp == CV_REDUCE_AVG) ) in PERF_TEST_P() 56 if( CV_MAT_DEPTH(matType)< CV_32S && (reduceOp == CV_REDUCE_SUM || reduceOp == CV_REDUCE_AVG) ) in PERF_TEST_P()
|
/external/opencv/cv/src/ |
D | cvtemplmatch.cpp | 70 if( CV_MAT_DEPTH( img->type ) != CV_8U && in icvCrossCorr() 71 CV_MAT_DEPTH( img->type ) != CV_16U && in icvCrossCorr() 72 CV_MAT_DEPTH( img->type ) != CV_32F ) in icvCrossCorr() 76 if( !CV_ARE_DEPTHS_EQ( img, templ ) && CV_MAT_DEPTH( templ->type ) != CV_32F ) in icvCrossCorr() 80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F && in icvCrossCorr() 81 CV_MAT_DEPTH( corr->type ) != CV_64F ) in icvCrossCorr() 91 depth = CV_MAT_DEPTH(img->type); in icvCrossCorr() 93 templ_depth = CV_MAT_DEPTH(templ->type); in icvCrossCorr() 95 corr_depth = CV_MAT_DEPTH(corr->type); in icvCrossCorr() 357 if( CV_MAT_DEPTH( img->type ) != CV_8U && in cvMatchTemplate() [all …]
|
D | cvsumpixels.cpp | 345 if( (CV_MAT_DEPTH( sum->type ) != CV_64F && in cvIntegral() 346 (CV_MAT_DEPTH( src->type ) != CV_8U || in cvIntegral() 347 CV_MAT_DEPTH( sum->type ) != CV_32S )) || in cvIntegral() 358 if( CV_MAT_DEPTH( sqsum->type ) != CV_64F || !CV_ARE_CNS_EQ( src, sqsum )) in cvIntegral() 384 depth = CV_MAT_DEPTH(src->type); in cvIntegral() 387 if( CV_MAT_DEPTH( sum->type ) == CV_32S ) in cvIntegral() 408 if( depth == CV_8U && !tilted && CV_MAT_DEPTH(sum->type) == CV_32S ) in cvIntegral()
|
D | cvaccum.cpp | 414 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) 420 sumdepth = CV_MAT_DEPTH( sum->type ); 435 CvFunc2D_2A func=(CvFunc2D_2A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; 516 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvSquareAcc() 530 CvFunc2D_2A func = (CvFunc2D_2A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvSquareAcc() 615 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvMultiplyAcc() 630 CvFunc2D_3A func = (CvFunc2D_3A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvMultiplyAcc() 724 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvRunningAvg() 738 CvAddWeightedFunc func = (CvAddWeightedFunc)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvRunningAvg()
|
D | cvundistort.cpp | 138 if( CV_MAT_DEPTH(src->type) != CV_8U ) in cvUndistort2() 157 (CV_MAT_DEPTH(dist_coeffs->type) != CV_64F && in cvUndistort2() 158 CV_MAT_DEPTH(dist_coeffs->type) != CV_32F) ) in cvUndistort2() 220 (CV_MAT_DEPTH(dist_coeffs->type) != CV_64F && in cvInitUndistortMap() 221 CV_MAT_DEPTH(dist_coeffs->type) != CV_32F) ) in cvInitUndistortMap() 327 (CV_MAT_DEPTH(distCoeffs->type) == CV_64F || in cvInitUndistortRectifyMap() 328 CV_MAT_DEPTH(distCoeffs->type) == CV_32F) ); in cvInitUndistortRectifyMap()
|
/external/opencv3/modules/imgproc/perf/opencl/ |
D | perf_imgwarp.cpp | 75 … const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : interpolation == INTER_CUBIC ? 2e-3 : 1e-4; in OCL_PERF_TEST_P() 107 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-4; in OCL_PERF_TEST_P() 134 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-4; 158 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-4; 183 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-4; in OCL_PERF_TEST_P()
|
D | perf_pyramid.cpp | 66 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5; in OCL_PERF_TEST_P() 90 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5; in OCL_PERF_TEST_P() 113 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5; in OCL_PERF_TEST_P()
|
D | perf_filters.cpp | 68 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5; 91 const int type = get<1>(params), depth = CV_MAT_DEPTH(type), 115 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 2e-5; 227 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5; in OCL_PERF_TEST_P() 249 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 2 + DBL_EPSILON : 3e-4; 271 const double eps = CV_MAT_DEPTH(type) <= CV_32S ? 1 : 1e-5;
|
D | perf_3vs4.cpp | 33 const int type = get<1>(params), depth = CV_MAT_DEPTH(type); in OCL_PERF_TEST_P() 86 const int type = get<1>(params), depth = CV_MAT_DEPTH(type); in OCL_PERF_TEST_P()
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | cvdef.h | 111 #define CV_MAT_DEPTH(flags) ((flags) & CV_MAT_DEPTH_MASK) macro 113 #define CV_MAKETYPE(depth,cn) (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT)) 173 ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) 177 (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3))
|
/external/opencv/cvaux/src/ |
D | cvmat.cpp | 52 switch( CV_MAT_DEPTH(type) ) 82 switch( CV_MAT_DEPTH(type)) 114 switch( CV_MAT_DEPTH(type)) 142 switch( CV_MAT_DEPTH(type)) 186 switch( CV_MAT_DEPTH(type)) 404 if( CV_MAT_DEPTH(a->type) >= CV_32F && CV_MAT_CN(a->type) <= 2 ) 724 CV_MAT_CN(src->type)|CV_MAT_DEPTH(depth)); 837 switch( CV_MAT_DEPTH(type))
|
/external/opencv3/modules/imgcodecs/src/ |
D | loadsave.cpp | 285 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imread_() 287 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imread_() 372 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imreadmulti_() 374 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imreadmulti_() 511 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imdecode_() 513 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imdecode_()
|
/external/opencv3/modules/cudaarithm/test/ |
D | test_gpumat.cpp | 87 if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P() 112 if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P() 139 if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P() 206 if (CV_MAT_DEPTH(type) == CV_64F && !supportFeature(devInfo, cv::cuda::NATIVE_DOUBLE)) in CUDA_TEST_P()
|
/external/opencv3/modules/cudaimgproc/test/ |
D | test_blend.cpp | 99 int depth = CV_MAT_DEPTH(type); in CUDA_TEST_P() 115 EXPECT_MAT_NEAR(result_gold, result, CV_MAT_DEPTH(type) == CV_8U ? 1.0 : 1e-5); in CUDA_TEST_P()
|
/external/opencv/cxcore/src/ |
D | cxconvert.cpp | 521 CvExtractPlaneFunc func = (CvExtractPlaneFunc)pxplcoi_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvSplit() 626 CvInsertPlaneFunc func = (CvInsertPlaneFunc)plpxcoi_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvMerge() 807 depth = CV_MAT_DEPTH(mat->type); in cvMixChannels() 812 if( CV_MAT_DEPTH(mat->type) != depth ) in cvMixChannels() 957 int srcdepth = CV_MAT_DEPTH(srctype); in icvCvtScaleAbsTo_8u_C1R() 1082 if( CV_MAT_DEPTH( dst->type ) != CV_8U ) in cvConvertScaleAbs() 1149 switch( CV_MAT_DEPTH(srctype) ) \ 1267 switch( CV_MAT_DEPTH(srctype) ) \ 1394 switch( CV_MAT_DEPTH(srctype) ) \ 1563 CvCvtFunc func = (CvCvtFunc)(cvt_tab.fn_2d[CV_MAT_DEPTH(dsttype)]); in cvConvertScale() [all …]
|
D | cxarithm.cpp | 322 depth = CV_MAT_DEPTH(type); 375 depth = CV_MAT_DEPTH(type); 590 if( CV_MAT_DEPTH(sctype) < CV_32S ) in cvSubRS() 594 func = (CvFunc2D_2A1P)(subr_tab.fn_2d[CV_MAT_DEPTH(type)]); in cvSubRS() 617 depth = CV_MAT_DEPTH(type); in cvSubRS() 794 depth = CV_MAT_DEPTH(type); in cvAdd() 847 depth = CV_MAT_DEPTH(type); in cvAdd() 1062 if( CV_MAT_DEPTH(sctype) < CV_32S ) in cvAddS() 1066 func = (CvFunc2D_2A1P)(add_tab.fn_2d[CV_MAT_DEPTH(type)]); in cvAddS() 1089 depth = CV_MAT_DEPTH(type); in cvAddS() [all …]
|
D | cxsumpixels.cpp | 426 pass_hint = CV_MAT_DEPTH(type) == CV_32F; in CV_DEF_INIT_BIG_FUNC_TAB_2D() 513 int pass_hint = CV_MAT_DEPTH(type) == CV_32F; in CV_DEF_INIT_BIG_FUNC_TAB_2D() 539 CvFunc2DnC_1A1P func = (CvFunc2DnC_1A1P)(sumcoi_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_BIG_FUNC_TAB_2D() 619 func = (CvFunc2D_1A1P)(nz_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 651 CvFunc2D_1A1P func = (CvFunc2D_1A1P)(nz_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 664 CvFunc2DnC_1A1P func = (CvFunc2DnC_1A1P)(nzcoi_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 900 sdepth = CV_MAT_DEPTH(src->type); in cvReduce() 901 ddepth = CV_MAT_DEPTH(dst->type); in cvReduce() 923 ddepth = CV_MAT_DEPTH(ttype); in cvReduce()
|
D | cxlut.cpp | 259 if( CV_MAT_DEPTH( src->type ) > CV_8S ) in cvLUT() 262 depth = CV_MAT_DEPTH( dst->type ); in cvLUT() 286 if( CV_MAT_DEPTH( src->type ) == CV_8S ) in cvLUT()
|
/external/opencv3/modules/superres/src/ |
D | input_array_utility.cpp | 241 const int depth = CV_MAT_DEPTH(type); in convertToType() 266 const int depth = CV_MAT_DEPTH(type); in convertToType() 291 const int depth = CV_MAT_DEPTH(type); in convertToType()
|
/external/opencv3/modules/imgproc/src/ |
D | blend.cpp | 98 int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in ocl_blendLinear() 124 int type = _src1.type(), depth = CV_MAT_DEPTH(type); in blendLinear()
|
/external/opencv3/modules/photo/src/ |
D | denoising.cpp | 114 int hn = (int)h.size(), type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in fastNlMeansDenoising() 172 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in fastNlMeansDenoisingColored() 328 int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in fastNlMeansDenoisingMulti() 391 int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type); in fastNlMeansDenoisingColoredMulti()
|
/external/opencv3/modules/imgproc/test/ocl/ |
D | test_filters.cpp | 109 int depth = CV_MAT_DEPTH(type); in PARAM_TEST_CASE() 228 Near(CV_MAT_DEPTH(type) >= CV_32F ? 7e-5 : 1, false); in OCL_TEST_P() 319 int depth = CV_MAT_DEPTH(type); in IMPLEMENT_PARAM_CLASS()
|
/external/opencv3/modules/ts/src/ |
D | ts_arrtest.cpp | 191 icvTsTypeToDepth[CV_MAT_DEPTH(types[i][j])], CV_MAT_CN(types[i][j]) ); in prepare_test_case() 231 int depth = CV_MAT_DEPTH(type); in get_minmax_bounds() 270 int elem_depth = CV_MAT_DEPTH(cvGetElemType(test_array[i][j])); in get_success_error_level()
|