Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 2163) sorted by relevance

12345678910>>...87

/external/valgrind/none/tests/amd64/
Dbug156404-amd64.stdout.exp1 depth 0: r = 1
2 depth 1: r = 1
3 depth 2: r = 1
4 depth 3: r = 1
5 depth 4: r = 1
6 depth 5: r = 1
7 depth 6: r = 1
8 depth 7: r = 1
9 depth 8: r = 1
10 depth 9: r = 1
[all …]
/external/opencv3/modules/core/include/opencv2/core/
Dtraits.hpp114 depth = -1, enumerator
117 type = CV_MAKETYPE(depth, channels)
129 depth = CV_8U, enumerator
132 type = CV_MAKETYPE(depth, channels)
144 depth = CV_8U, enumerator
147 type = CV_MAKETYPE(depth, channels)
159 depth = CV_8S, enumerator
162 type = CV_MAKETYPE(depth, channels)
174 depth = CV_8S, enumerator
177 type = CV_MAKETYPE(depth, channels)
[all …]
/external/autotest/client/site_tests/graphics_dEQP/expectations/baytrail/
DdEQP-GLES3.performance.Flaky.bz2 ... 1dEQP-GLES3.performance.depth.cull_efficiency.frag_depth.occluded_dynamic 2dEQP-GLES3
/external/opencv3/modules/cudaimgproc/src/
Dcolor.cpp91 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_RGB()
94 _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 3)); in BGR_to_RGB()
97 funcs[src.depth()](src, dst, stream); in BGR_to_RGB()
107 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_BGRA()
110 _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); in BGR_to_BGRA()
113 funcs[src.depth()](src, dst, stream); in BGR_to_BGRA()
123 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGR_to_RGBA()
126 _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), 4)); in BGR_to_RGBA()
129 funcs[src.depth()](src, dst, stream); in BGR_to_RGBA()
139 CV_Assert( src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32F ); in BGRA_to_BGR()
[all …]
/external/opencv3/modules/cudaarithm/test/
Dtest_element_operations.cpp56 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
67 depth = GET_PARAM(2); in PARAM_TEST_CASE()
73 stype = CV_MAKE_TYPE(depth.first, channels); in PARAM_TEST_CASE()
74 dtype = CV_MAKE_TYPE(depth.second, channels); in PARAM_TEST_CASE()
83 …if ((depth.first == CV_64F || depth.second == CV_64F) && !supportFeature(devInfo, cv::cuda::NATIVE… in CUDA_TEST_P()
88 cv::cuda::add(loadMat(mat1), loadMat(mat2), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
99 …cv::cuda::add(loadMat(mat1, useRoi), loadMat(mat2, useRoi), dst, cv::cuda::GpuMat(), depth.second); in CUDA_TEST_P()
102 cv::add(mat1, mat2, dst_gold, cv::noArray(), depth.second); in CUDA_TEST_P()
104 … EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
119 std::pair<MatDepth, MatDepth> depth; in PARAM_TEST_CASE() local
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java27 private static final void printMessage(MessagePatternUtil.MessageNode msg, int depth) { in printMessage() argument
28 String indent = manySpaces.substring(0, depth * 2); in printMessage()
36 printArg((MessagePatternUtil.ArgNode)contents, depth); in printMessage() local
45 private static final void printArg(MessagePatternUtil.ArgNode arg, int depth) { in printArg() argument
46 System.out.print(manySpaces.substring(0, depth * 2) + "arg: «" + arg.getName() + "»"); in printArg()
61 printComplexArgStyle(arg.getComplexStyle(), depth + 1); in printArg() local
67 int depth) { in printComplexArgStyle() argument
69 System.out.println(manySpaces.substring(0, depth * 2) + "offset: " + style.getOffset()); in printComplexArgStyle()
71 String indent = manySpaces.substring(0, depth * 2); in printComplexArgStyle()
92 printMessage(variant.getMessage(), depth + 1); in printComplexArgStyle() local
[all …]
/external/compiler-rt/test/asan/TestCases/
Dheavy_uar_test.cc27 void RecursiveFunctionWithStackFrame(int depth) { in RecursiveFunctionWithStackFrame() argument
28 if (depth <= 0) return; in RecursiveFunctionWithStackFrame()
30 x[0] = depth; in RecursiveFunctionWithStackFrame()
32 RecursiveFunctionWithStackFrame<kFrameSize>(depth - 1); in RecursiveFunctionWithStackFrame()
43 int depth = argc >= 3 ? atoi(argv[2]) : 500; in main() local
45 RecursiveFunctionWithStackFrame<10>(depth); in main()
46 RecursiveFunctionWithStackFrame<100>(depth); in main()
47 RecursiveFunctionWithStackFrame<500>(depth); in main()
48 RecursiveFunctionWithStackFrame<1024>(depth); in main()
49 RecursiveFunctionWithStackFrame<2000>(depth); in main()
[all …]
/external/llvm/tools/llvm-c-test/
Dcalc.c46 int depth = 0; in build_from_tokens() local
59 if (depth < 2) { in build_from_tokens()
64 stack[depth - 2] = LLVMBuildBinOp(builder, op_to_opcode(tok), in build_from_tokens()
65 stack[depth - 1], stack[depth - 2], ""); in build_from_tokens()
66 depth--; in build_from_tokens()
73 if (depth < 1) { in build_from_tokens()
78 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
79 stack[depth - 1] = LLVMBuildLoad(builder, off, ""); in build_from_tokens()
92 if (depth >= MAX_DEPTH) { in build_from_tokens()
97 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1); in build_from_tokens()
[all …]
/external/opencv3/modules/core/test/
Dtest_hal_core.cpp58 int depth = hcase % 2 == 0 ? CV_32F : CV_64F; in TEST() local
59 double eps = depth == CV_32F ? 1e-5 : 1e-10; in TEST()
63 Mat src(1, n, depth), dst(1, n, depth), dst0(1, n, depth); in TEST()
74 if( depth == CV_32F ) in TEST()
80 if( depth == CV_32F ) in TEST()
86 if( depth == CV_32F ) in TEST()
120 n, (depth == CV_32F ? "f32" : "f64"), min_hal_t*1e6/freq, min_ocv_t*1e6/freq); in TEST()
134 int depth = hcase % 2 == 0 ? CV_32F : CV_64F; in TEST() local
138 double eps = depth == CV_32F ? 1e-5 : 1e-10; in TEST()
143 …Mat a0(size, size, depth), a(size, size, depth), b(size, 1, depth), x(size, 1, depth), x0(size, 1,… in TEST()
[all …]
Dtest_rand.cpp106 int depth = cvtest::randInt(rng) % (CV_64F+1); in run() local
108 int type = CV_MAKETYPE(depth, cn); in run()
114 if (depth == CV_64F) in run()
123 bool fast_algo = dist_type == CV_RAND_UNI && depth < CV_32F; in run()
130 a = (int)(cvtest::randInt(rng) % (_ranges[depth][1] - in run()
131 _ranges[depth][0])) + _ranges[depth][0]; in run()
134 b = (int)(cvtest::randInt(rng) % (_ranges[depth][1] - in run()
135 _ranges[depth][0])) + _ranges[depth][0]; in run()
148 int vrange = _ranges[depth][1] - _ranges[depth][0]; in run()
154 (_ranges[depth][0] + _ranges[depth][1])/2; in run()
[all …]
/external/dbus/tools/
Ddbus-print-message.c50 indent (int depth) in indent() argument
52 while (depth-- > 0) in indent()
57 print_hex (unsigned char *bytes, unsigned int len, int depth) in print_hex() argument
63 indent (depth + 1); in print_hex()
66 columns = (80 - ((depth + 1) * INDENT)) / 3; in print_hex()
83 indent (depth + 1); in print_hex()
93 indent (depth); in print_hex()
100 print_ay (DBusMessageIter *iter, int depth) in print_ay() argument
139 print_hex (bytes, len, depth); in print_ay()
146 print_iter (DBusMessageIter *iter, dbus_bool_t literal, int depth) in print_iter() argument
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/values/
DRectangleSpawnShapeValue.java20 float depth = spawnDepth + (spawnDepthDiff * spawnDepthValue.getScale(percent)); in spawnAux() local
30 tz = MathUtils.random(1)==0 ? -depth/2 : depth/2; in spawnAux()
34 tz = MathUtils.random(depth) - depth / 2; in spawnAux()
39 tz = MathUtils.random(1)==0 ? -depth/ 2 : depth/ 2; in spawnAux()
54 tz = MathUtils.random(1)==0 ? -depth/2 : depth/2; in spawnAux()
58 tz = MathUtils.random(depth) - depth / 2; in spawnAux()
66 vector.z = MathUtils.random(depth) - depth/2; in spawnAux()
/external/opencv3/modules/viz/src/vtk/
DvtkCloudMatSource.cpp71 CV_Assert(_cloud.depth() == CV_32F || _cloud.depth() == CV_64F); in SetCloud()
76 … int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); in SetCloud()
94 CV_Assert(_colors.depth() == CV_8U && _colors.channels() <= 4 && _colors.channels() != 2); in SetColorCloud()
100 if (cloud.depth() == CV_32F) in SetColorCloud()
102 else if (cloud.depth() == CV_64F) in SetColorCloud()
115 CV_Assert(_normals.depth() == CV_32F || _normals.depth() == CV_64F); in SetColorCloudNormals()
122 if (n.depth() == CV_32F && c.depth() == CV_32F) in SetColorCloudNormals()
124 else if (n.depth() == CV_32F && c.depth() == CV_64F) in SetColorCloudNormals()
126 else if (n.depth() == CV_64F && c.depth() == CV_32F) in SetColorCloudNormals()
128 else if (n.depth() == CV_64F && c.depth() == CV_64F) in SetColorCloudNormals()
[all …]
/external/opencv3/modules/cudaimgproc/test/
Dtest_color.cpp56 int depth; in PARAM_TEST_CASE() local
65 depth = GET_PARAM(2); in PARAM_TEST_CASE()
70 img = randomMat(size, CV_MAKE_TYPE(depth, 3), 0.0, depth == CV_32F ? 1.0 : 255.0); in PARAM_TEST_CASE()
239 if (depth != CV_8U) in CUDA_TEST_P()
255 if (depth != CV_8U) in CUDA_TEST_P()
271 if (depth != CV_8U) in CUDA_TEST_P()
288 if (depth != CV_8U) in CUDA_TEST_P()
305 if (depth != CV_8U) in CUDA_TEST_P()
322 if (depth != CV_8U) in CUDA_TEST_P()
339 if (depth != CV_8U) in CUDA_TEST_P()
[all …]
/external/opencv3/modules/superres/src/
Dinput_array_utility.cpp201 void convertToDepth(InputArray src, OutputArray dst, int depth) in convertToDepth() argument
203 CV_Assert( src.depth() <= CV_64F ); in convertToDepth()
204 CV_Assert( depth == CV_8U || depth == CV_32F ); in convertToDepth()
217 const double scale = maxVals[depth] / maxVals[src.depth()]; in convertToDepth()
222 src.getGpuMat().convertTo(dst.getGpuMatRef(), depth, scale); in convertToDepth()
226 src.getUMat().convertTo(dst, depth, scale); in convertToDepth()
230 src.getMat().convertTo(dst, depth, scale); in convertToDepth()
241 const int depth = CV_MAT_DEPTH(type); in convertToType() local
244 if (src.depth() == depth) in convertToType()
252 convertToDepth(src, buf1, depth); in convertToType()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_thresh.cpp78 int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1; in get_test_array_types_and_sizes() local
80 depth = depth == 0 ? CV_8U : depth == 1 ? CV_16S : CV_32F; in get_test_array_types_and_sizes()
82 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
85 if( depth == CV_8U ) in get_test_array_types_and_sizes()
92 else if( depth == CV_16S ) in get_test_array_types_and_sizes()
126 int depth = _src.depth(), cn = _src.channels(); in test_threshold() local
131 if( depth == CV_8U ) in test_threshold()
136 else if( depth == CV_16S ) in test_threshold()
147 assert( depth == CV_8U || depth == CV_16S || depth == CV_32F ); in test_threshold()
154 if( depth == CV_8U ) in test_threshold()
[all …]
Dtest_color.cpp112 int depth = CV_MAT_DEPTH(type); in get_minmax_bounds() local
114 high = Scalar::all( depth == CV_8U ? 256 : depth == CV_16U ? 65536 : 1. ); in get_minmax_bounds()
123 int depth, cn; in get_test_array_types_and_sizes() local
128 depth = cvtest::randInt(rng) % 3; in get_test_array_types_and_sizes()
129 depth = depth == 0 ? CV_8U : depth == 1 ? CV_16U : CV_32F; in get_test_array_types_and_sizes()
133 depth = cvtest::randInt(rng) % 2; in get_test_array_types_and_sizes()
134 depth = depth == 0 ? CV_8U : allow_16u ? CV_16U : CV_32F; in get_test_array_types_and_sizes()
137 depth = CV_8U; in get_test_array_types_and_sizes()
142 types[INPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
143 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, 3); in get_test_array_types_and_sizes()
[all …]
/external/opencv3/modules/imgproc/test/ocl/
Dtest_color.cpp59 int depth; in PARAM_TEST_CASE() local
67 depth = GET_PARAM(0); in PARAM_TEST_CASE()
73 const int srcType = CV_MAKE_TYPE(depth, channelsIn); in PARAM_TEST_CASE()
74 const int dstType = CV_MAKE_TYPE(depth, channelsOut); in PARAM_TEST_CASE()
159 #define IPP_EPS depth <= CV_32S ? 1 : 5e-5
179 #define IPP_EPS depth <= CV_32S ? 1 : 4e-5
198 OCL_TEST_P(CvtColor8u32f, HSV2RGB) { performTest(3, 3, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1)… in OCL_TEST_P()
199 OCL_TEST_P(CvtColor8u32f, HSV2BGR) { performTest(3, 3, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1)… in OCL_TEST_P()
200 OCL_TEST_P(CvtColor8u32f, HSV2RGBA) { performTest(3, 4, CVTCODE(HSV2RGB), depth == CV_8U ? 1 : 4e-1… in OCL_TEST_P()
201 OCL_TEST_P(CvtColor8u32f, HSV2BGRA) { performTest(3, 4, CVTCODE(HSV2BGR), depth == CV_8U ? 1 : 4e-1… in OCL_TEST_P()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_gdal.cpp224 double newValue = range_cast(gdalType, image.depth(), pixelValue ); in write_pixel()
228 if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } in write_pixel()
229 else if( image.depth() == CV_16U ){ image.at<unsigned short>(row,col) = newValue; } in write_pixel()
230 else if( image.depth() == CV_16S ){ image.at<short>(row,col) = newValue; } in write_pixel()
231 else if( image.depth() == CV_32S ){ image.at<int>(row,col) = newValue; } in write_pixel()
232 else if( image.depth() == CV_32F ){ image.at<float>(row,col) = newValue; } in write_pixel()
233 else if( image.depth() == CV_64F ){ image.at<double>(row,col) = newValue; } in write_pixel()
239 … if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col) = Vec3b(newValue,newValue,newValue); } in write_pixel()
240 …else if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue);… in write_pixel()
241 …else if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue);… in write_pixel()
[all …]
/external/libdivsufsort/lib/
Dsssort.c143 saidx_t depth) { in ss_compare() argument
146 for(U1 = T + depth + *p1, in ss_compare()
147 U2 = T + depth + *p2, in ss_compare()
168 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_insertionsort() argument
174 for(t = *i, j = i + 1; 0 < (r = ss_compare(T, PA + t, PA + *j, depth));) { in ss_insertionsort()
292 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_partition() argument
296 for(; (++a < b) && ((PA[*a] + depth) >= (PA[*a + 1] + 1));) { *a = ~*a; } in ss_partition()
297 for(; (a < --b) && ((PA[*b] + depth) < (PA[*b + 1] + 1));) { } in ss_partition()
312 saidx_t depth) { in ss_mintrosort() argument
326 if(1 < (last - first)) { ss_insertionsort(T, PA, first, last, depth); } in ss_mintrosort()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-2055.js31 function test1(depth) { argument
32 if (--depth < 0) {
35 return [ 0, test1(depth) ];
40 function test2(depth) { argument
41 if (--depth < 0) {
44 var o = [ 0, test2(depth) ];
45 return (depth == 0) ? 0.5 : o;
/external/opencv3/modules/cudaarithm/perf/
Dperf_element_operations.cpp59 const int depth = GET_PARAM(1); in PERF_TEST_P() local
61 cv::Mat src1(size, depth); in PERF_TEST_P()
64 cv::Mat src2(size, depth); in PERF_TEST_P()
95 const int depth = GET_PARAM(1); in PERF_TEST_P() local
97 cv::Mat src(size, depth); in PERF_TEST_P()
130 const int depth = GET_PARAM(1); in PERF_TEST_P() local
132 cv::Mat src1(size, depth); in PERF_TEST_P()
135 cv::Mat src2(size, depth); in PERF_TEST_P()
166 const int depth = GET_PARAM(1); in PERF_TEST_P() local
168 cv::Mat src(size, depth); in PERF_TEST_P()
[all …]
/external/libpng/contrib/gregbook/
Drpng-x.c143 static int depth; variable
455 depth = DisplayPlanes(display, screen); in rpng_x_create_window()
464 if (/* depth != 8 && */ depth != 16 && depth != 24 && depth != 32) { in rpng_x_create_window()
467 depth); in rpng_x_create_window()
471 XMatchVisualInfo(display, screen, depth, in rpng_x_create_window()
472 (depth == 8)? PseudoColor : TrueColor, &visual_info); in rpng_x_create_window()
475 if (depth != 16 && depth != 24 && depth != 32) { in rpng_x_create_window()
479 depth)) in rpng_x_create_window()
483 visual_info.depth = 24; in rpng_x_create_window()
489 " 24-bit visuals found\n", depth); in rpng_x_create_window()
[all …]
/external/opencv3/modules/photo/src/
Dfast_nlmeans_denoising_opencl.hpp41 int depth = DataType<FT>::depth; in ocl_calcAlmostDist2Weight() local
44 if (depth == CV_64F && !doubleSupport) in ocl_calcAlmostDist2Weight()
69 ocl::typeToStr(depth), ocl::typeToStr(CV_MAKE_TYPE(depth, hn)), in ocl_calcAlmostDist2Weight()
70 ocl::typeToStr(CV_32SC(hn)), ocl::convertTypeStr(depth, CV_32S, hn, buf), in ocl_calcAlmostDist2Weight()
87 int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in ocl_fastNlMeansDenoising() local
91 if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) && in ocl_fastNlMeansDenoising()
92 (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) in ocl_fastNlMeansDenoising()
112 depth == CV_8U ? ocl::typeToStr(CV_32SC(hn)) : in ocl_fastNlMeansDenoising()
114 depth == CV_8U ? ocl::convertTypeStr(CV_32S, CV_32S, hn, buf[0]) : in ocl_fastNlMeansDenoising()
116 depth == CV_8U ? ocl::typeToStr(CV_32SC(cn)) : in ocl_fastNlMeansDenoising()
[all …]
/external/proguard/src/proguard/shrink/
DShortestUsageMark.java40 private final int depth; field in ShortestUsageMark
53 this.depth = 0; in ShortestUsageMark()
88 this.depth = previousUsageMark.depth + cost; in ShortestUsageMark()
104 this.depth = otherUsageMark.depth; in ShortestUsageMark()
134 return this.depth < otherUsageMark.depth; in isShorter()
178 return "certain=" + certain + ", depth="+depth+": " + in toString()

12345678910>>...87