Home
last modified time | relevance | path

Searched refs:src_depth (Results 1 – 11 of 11) sorted by relevance

/external/opencv3/modules/cudaarithm/src/cuda/
Dminmax.cu107 const int src_depth = src.depth(); in findMinMax() local
108 const int dst_depth = src_depth < CV_32F ? CV_32S : src_depth; in findMinMax()
178 const int src_depth = src.depth(); in findMaxAbs() local
179 const int dst_depth = src_depth < CV_32F ? CV_32S : src_depth; in findMaxAbs()
Dsum.cu126 const int src_depth = src.depth(); in calcSum() local
131 const func_t func = funcs[src_depth][channels - 1]; in calcSum()
171 const int src_depth = src.depth(); in calcAbsSum() local
176 const func_t func = funcs[src_depth][channels - 1]; in calcAbsSum()
216 const int src_depth = src.depth(); in calcSqrSum() local
221 const func_t func = funcs[src_depth][channels - 1]; in calcSqrSum()
Dnormalize.cu254 const int src_depth = src.depth(); in normalize() local
255 const int tmp_depth = src_depth <= CV_32F ? CV_32F : src_depth; in normalize()
271 const func_minmax_t func = funcs_minmax[src_depth]; in normalize()
276 const func_norm_t func = funcs_norm[src_depth]; in normalize()
Dminmaxloc.cu95 const int src_depth = src.depth(); in findMinMaxLoc() local
101 const func_t func = funcs[src_depth]; in findMinMaxLoc()
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_operation.cpp59 int src_depth, cn, dstType; in PARAM_TEST_CASE() local
67 src_depth = GET_PARAM(0); in PARAM_TEST_CASE()
78 …randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(src_depth, cn), -MAX_VALUE, MAX_VALUE); in PARAM_TEST_CASE()
Dtest_arithm.cpp56 int src_depth, lut_depth; in PARAM_TEST_CASE() local
66 src_depth = GET_PARAM(0); in PARAM_TEST_CASE()
75 const int src_type = CV_MAKE_TYPE(src_depth, cn); in PARAM_TEST_CASE()
/external/opencv/otherlibs/highgui/
Dutils.cpp600 int src_depth = CV_MAT_DEPTH(src->type); in cvConvertImage() local
601 double scale = src_depth <= CV_8S ? 1 : src_depth <= CV_32S ? 1./256 : 255; in cvConvertImage()
602 double shift = src_depth == CV_8S || src_depth == CV_16S ? 128 : 0; in cvConvertImage()
/external/opencv3/modules/imgcodecs/src/
Dutils.cpp621 int src_depth = CV_MAT_DEPTH(src->type); in cvConvertImage() local
622 double scale = src_depth <= CV_8S ? 1 : src_depth <= CV_32S ? 1./256 : 255; in cvConvertImage()
623 double shift = src_depth == CV_8S || src_depth == CV_16S ? 128 : 0; in cvConvertImage()
/external/opencv/cxcore/src/
Dcxmathfuncs.cpp1027 int coi1 = 0, coi2 = 0, src_depth, dst_depth; in cvExp() local
1041 src_depth = CV_MAT_DEPTH(src->type); in cvExp()
1044 if( !CV_ARE_CNS_EQ( src, dst ) || src_depth < CV_32F || dst_depth < src_depth ) in cvExp()
1070 if( src_depth == CV_64F ) in cvExp()
1074 else if( src_depth == dst_depth ) in cvExp()
1586 int coi1 = 0, coi2 = 0, src_depth, dst_depth; in cvLog() local
1600 src_depth = CV_MAT_DEPTH(src->type); in cvLog()
1603 if( !CV_ARE_CNS_EQ( src, dst ) || dst_depth < CV_32F || src_depth < dst_depth ) in cvLog()
1633 else if( src_depth == dst_depth ) in cvLog()
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp.cpp1167 int src_depth = cvtest::randInt(rng) % 2, dst_depth; in get_test_array_types_and_sizes() local
1171 dst_depth = src_depth = src_depth == 0 ? CV_8U : CV_32F; in get_test_array_types_and_sizes()
1172 if( src_depth < CV_32F && cvtest::randInt(rng) % 2 ) in get_test_array_types_and_sizes()
1175 types[INPUT][0] = CV_MAKETYPE(src_depth,cn); in get_test_array_types_and_sizes()
1275 int msz, src_depth = cvtest::randInt(rng) % 2, dst_depth; in get_test_array_types_and_sizes() local
1278 dst_depth = src_depth = src_depth == 0 ? CV_8U : CV_32F; in get_test_array_types_and_sizes()
1279 if( src_depth < CV_32F && cvtest::randInt(rng) % 2 ) in get_test_array_types_and_sizes()
1282 types[INPUT][0] = CV_MAKETYPE(src_depth,cn); in get_test_array_types_and_sizes()
/external/opencv/cv/src/
Dcvderiv.cpp407 int src_depth = CV_MAT_DEPTH(_src_type), dst_depth = CV_MAT_DEPTH(_dst_type); in init() local
413 if( ((src_depth != CV_8U || (dst_depth != CV_16S && dst_depth != CV_32F)) && in init()
414 (src_depth != CV_32F || dst_depth != CV_32F)) || in init()
433 if( src_depth == CV_8U ) in init()
446 else if( src_depth == CV_32F ) in init()