/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | array_util_unittest.cc | 83 std::vector<Point> geometry; in TEST() local 84 geometry.push_back(Point(0.f, 0.f, 0.f)); in TEST() 85 geometry.push_back(Point(0.1f, 0.f, 0.f)); in TEST() 86 EXPECT_FLOAT_EQ(0.1f, GetMinimumSpacing(geometry)); in TEST() 87 geometry.push_back(Point(0.f, 0.05f, 0.f)); in TEST() 88 EXPECT_FLOAT_EQ(0.05f, GetMinimumSpacing(geometry)); in TEST() 89 geometry.push_back(Point(0.f, 0.f, 0.02f)); in TEST() 90 EXPECT_FLOAT_EQ(0.02f, GetMinimumSpacing(geometry)); in TEST() 91 geometry.push_back(Point(-0.003f, -0.004f, 0.02f)); in TEST() 92 EXPECT_FLOAT_EQ(0.005f, GetMinimumSpacing(geometry)); in TEST() [all …]
|
D | covariance_matrix_generator.cc | 44 const std::vector<Point>& geometry, in UniformCovarianceMatrix() argument 46 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in UniformCovarianceMatrix() 47 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in UniformCovarianceMatrix() 50 for (size_t i = 0; i < geometry.size(); ++i) { in UniformCovarianceMatrix() 51 for (size_t j = 0; j < geometry.size(); ++j) { in UniformCovarianceMatrix() 54 BesselJ0(wave_number * Distance(geometry[i], geometry[j])); in UniformCovarianceMatrix() 69 const std::vector<Point>& geometry, in AngledCovarianceMatrix() argument 71 RTC_CHECK_EQ(geometry.size(), mat->num_rows()); in AngledCovarianceMatrix() 72 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in AngledCovarianceMatrix() 74 ComplexMatrix<float> interf_cov_vector(1, geometry.size()); in AngledCovarianceMatrix() [all …]
|
D | covariance_matrix_generator_unittest.cc | 29 std::vector<Point> geometry; in TEST() local 32 geometry.push_back(Point(i * kMicSpacing - first_mic, 0.f, 0.f)); in TEST() 36 geometry, in TEST() 57 std::vector<Point> geometry; in TEST() local 60 geometry.push_back(Point(i * kMicSpacing - first_mic, 0.f, 0.f)); in TEST() 64 geometry, in TEST() 94 std::vector<Point> geometry; in TEST() local 95 geometry.push_back(Point(-0.025f, -0.05f, -0.075f)); in TEST() 96 geometry.push_back(Point(0.075f, -0.05f, -0.075f)); in TEST() 97 geometry.push_back(Point(-0.025f, 0.15f, -0.075f)); in TEST() [all …]
|
D | covariance_matrix_generator.h | 27 const std::vector<Point>& geometry, 37 const std::vector<Point>& geometry, 47 const std::vector<Point>& geometry,
|
/external/deqp/data/gles31/shaders/ |
D | linkage_geometry_uniform_types.test | 6 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 20 geometry "" 50 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 64 geometry "" 94 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 108 geometry "" 138 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 152 geometry "" 182 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 196 geometry "" [all …]
|
D | linkage_geometry.test | 8 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 20 geometry "" 52 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 62 geometry "" 92 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 104 geometry "" 135 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 145 geometry "" 176 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 186 geometry "" [all …]
|
D | linkage_geometry_varying_types.test | 6 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 22 geometry "" 53 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 69 geometry "" 100 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 116 geometry "" 147 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 163 geometry "" 194 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 210 geometry "" [all …]
|
D | linkage_tessellation_geometry.test | 7 desc "Tessellation output and geometry input type mismatch" 10 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 48 geometry "" 78 desc "Tessellation output and geometry input precisions are different" 80 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 118 geometry "" 151 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 189 geometry "" 222 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 262 geometry "" [all …]
|
D | linkage_tessellation_geometry_varying_types.test | 7 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 45 geometry "" 77 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 115 geometry "" 147 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 185 geometry "" 217 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 255 geometry "" 287 require extension { "GL_OES_geometry_shader" | "GL_EXT_geometry_shader" } in { geometry } 325 geometry "" [all …]
|
/external/skia/src/gpu/batches/ |
D | GrAALinearizingConvexPathRenderer.cpp | 131 static GrDrawBatch* Create(const Geometry& geometry) { in Create() argument 132 return new AAFlatteningConvexPathBatch(geometry); in Create() 261 AAFlatteningConvexPathBatch(const Geometry& geometry) : INHERITED(ClassID()) { in AAFlatteningConvexPathBatch() argument 262 fGeoData.push_back(geometry); in AAFlatteningConvexPathBatch() 265 fBounds = geometry.fPath.getBounds(); in AAFlatteningConvexPathBatch() 266 SkScalar w = geometry.fStrokeWidth; in AAFlatteningConvexPathBatch() 270 if (SkPaint::kMiter_Join == geometry.fJoin && w > 1.f) { in AAFlatteningConvexPathBatch() 271 w *= geometry.fMiterLimit; in AAFlatteningConvexPathBatch() 275 geometry.fViewMatrix.mapRect(&fBounds); in AAFlatteningConvexPathBatch() 329 AAFlatteningConvexPathBatch::Geometry geometry; in onDrawPath() local [all …]
|
D | GrAADistanceFieldPathRenderer.cpp | 151 static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, in Create() argument 153 return new AADistanceFieldPathBatch(geometry, viewMatrix, atlas, pathCache, pathList); in Create() 300 AADistanceFieldPathBatch(const Geometry& geometry, in AADistanceFieldPathBatch() argument 306 fGeoData.push_back(geometry); in AADistanceFieldPathBatch() 313 fBounds = geometry.fPath.getBounds(); in AADistanceFieldPathBatch() 558 AADistanceFieldPathBatch::Geometry geometry(*args.fStroke); in onDrawPath() local 560 geometry.fPath = *args.fPath; in onDrawPath() 562 args.fStroke->applyToPath(&geometry.fPath, *args.fPath); in onDrawPath() 564 geometry.fColor = args.fColor; in onDrawPath() 565 geometry.fAntiAlias = args.fAntiAlias; in onDrawPath() [all …]
|
D | GrDefaultPathRenderer.cpp | 223 static GrDrawBatch* Create(const Geometry& geometry, uint8_t coverage, in Create() argument 226 return new DefaultPathBatch(geometry, coverage, viewMatrix, isHairline, devBounds); in Create() 381 DefaultPathBatch(const Geometry& geometry, uint8_t coverage, const SkMatrix& viewMatrix, in DefaultPathBatch() argument 387 fGeoData.push_back(geometry); in DefaultPathBatch() 709 DefaultPathBatch::Geometry geometry; in internalDrawPath() local 710 geometry.fColor = color; in internalDrawPath() 711 geometry.fPath = path; in internalDrawPath() 712 geometry.fTolerance = srcSpaceTol; in internalDrawPath() 714 SkAutoTUnref<GrDrawBatch> batch(DefaultPathBatch::Create(geometry, newCoverage, in internalDrawPath() 768 DefaultPathBatch::Geometry geometry; in DRAW_BATCH_TEST_DEFINE() local [all …]
|
D | GrDrawAtlasBatch.h | 24 static GrDrawBatch* Create(const Geometry& geometry, const SkMatrix& viewMatrix, in Create() argument 27 return new GrDrawAtlasBatch(geometry, viewMatrix, spriteCount, xforms, rects, colors); in Create() 51 GrDrawAtlasBatch(const Geometry& geometry, const SkMatrix& viewMatrix, int spriteCount,
|
D | GrNonAAStrokeRectBatch.cpp | 67 Geometry& geometry = fGeoData.push_back(); in append() local 68 geometry.fViewMatrix = viewMatrix; in append() 69 geometry.fRect = rect; in append() 70 geometry.fStrokeWidth = strokeWidth; in append() 71 geometry.fColor = color; in append() 74 geometry.fRect.sort(); in append()
|
D | GrDrawVerticesBatch.h | 33 static GrDrawBatch* Create(const Geometry& geometry, GrPrimitiveType primitiveType, in Create() argument 39 return new GrDrawVerticesBatch(geometry, primitiveType, viewMatrix, positions, vertexCount, in Create() 55 GrDrawVerticesBatch(const Geometry& geometry, GrPrimitiveType primitiveType,
|
/external/deqp/doc/testspecs/GLES31/ |
D | functional.tessellation_geometry_interaction.txt | 27 geometry shading stages. 28 + Render tests with maximum geometry amplification in different stages 36 + SSBO memory access ordering test between tessellation and geometry shaders 42 attached tessellation and geometry shaders. Tests verify that attaching either a 43 passthrough geometry or tessellation shader does not change the result image. In 44 *_passthrough_geometry_* cases, the pattern is first rendered without a geometry 45 shader and then with a passthrough geometry shader. In 50 shader that uses the maximum number of geometry output vertices, uses maximum 51 number geometry shader instances, or sets the maximum tessellation level. 61 the same time. Due to the extreme geometry amplification in certain tests, the [all …]
|
D | functional.geometry_shading.txt | 38 + Primitive render order with geometry shader instancing 42 Geometry shader tests test geometry shader functionality by rendering 43 a scene using geometry shaders and comparing the resulting image to 51 geometry shader related limits and states. primitives_generated_* cases 56 basic.* tests test basic geometry shader usage: output_* cases emit 64 input.* tests verify geometry shader behavior with different input types 65 by drawing a separate triangle for each geometry shader input vertex. 69 conversion.* tests verify functionality of geometry shaders with different 72 emit.* tests test geometry shaders with different number of EmitVertex() 73 and EndPrimitive() calls, ranging from too few to superfluous. A geometry [all …]
|
/external/skia/src/gpu/ |
D | GrOvalRenderer.cpp | 620 static GrDrawBatch* Create(const Geometry& geometry) { return new CircleBatch(geometry); } in Create() argument 729 CircleBatch(const Geometry& geometry) : INHERITED(ClassID()) { in CircleBatch() argument 730 fGeoData.push_back(geometry); in CircleBatch() 732 this->setBounds(geometry.fDevBounds); in CircleBatch() 812 CircleBatch::Geometry geometry; in create_circle_batch() local 813 geometry.fViewMatrix = viewMatrix; in create_circle_batch() 814 geometry.fColor = color; in create_circle_batch() 815 geometry.fInnerRadius = innerRadius; in create_circle_batch() 816 geometry.fOuterRadius = outerRadius; in create_circle_batch() 817 geometry.fStroke = isStrokeOnly && innerRadius > 0; in create_circle_batch() [all …]
|
/external/deqp/doc/testspecs/GL3/ |
D | stress.conditional_render.txt | 26 + Query and conditional geometry significantly apart 38 the same scene with geometry culled either by conditional rendering or the 44 Call count test use many occlusion queries and simple occluder geometry. Every 45 second occlusion query is set to fail. Failing occlusion query geometry is 46 limited within a small region of the screen. Passing query geometry is evenly 47 spread around the screen. Conditionally rendered geometry is evenly spread. 49 Distant query tests have maximal screen distance between the query geometry 52 Occlusion query geometry is roughly on the opposing edge of the screen as the 53 geometry it controls. All edges have occluders.
|
/external/skia/gm/ |
D | convexpolyeffect.cpp | 201 ConvexPolyTestBatch::Geometry geometry; in onDraw() local 202 geometry.fColor = color.fColor; in onDraw() 203 geometry.fRect = p.getBounds(); in onDraw() 204 geometry.fBounds = p.getBounds(); in onDraw() 206 SkAutoTUnref<GrDrawBatch> batch(ConvexPolyTestBatch::Create(gp, geometry)); in onDraw() 247 ConvexPolyTestBatch::Geometry geometry; in onDraw() local 248 geometry.fColor = color.fColor; in onDraw() 249 geometry.fRect = rect; in onDraw() 250 geometry.fBounds = rect; in onDraw() 251 geometry.fBounds.sort(); in onDraw() [all …]
|
D | beziereffects.cpp | 222 BezierCubicOrConicTestBatch::Geometry geometry; in onDraw() local 223 geometry.fColor = color; in onDraw() 224 geometry.fBounds = bounds; in onDraw() 227 BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, klmSigns[c])); in onDraw() 363 BezierCubicOrConicTestBatch::Geometry geometry; in onDraw() local 364 geometry.fColor = color; in onDraw() 365 geometry.fBounds = bounds; in onDraw() 368 BezierCubicOrConicTestBatch::Create(gp, geometry, klmEqs, 1.f)); in onDraw() 599 BezierQuadTestBatch::Geometry geometry; in onDraw() local 600 geometry.fColor = color; in onDraw() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | app_ui_test.py | 13 from devil.utils import geometry 100 self.assertEquals(node.bounds, geometry.Rectangle([121, 50], [1424, 178])) 109 self.assertEquals(node.bounds, geometry.Rectangle([16, 466], [128, 578])) 132 self.assertEquals(node.bounds, geometry.Rectangle([16, 578], [128, 690])) 161 node.Tap(geometry.Point(0, 0)) 166 node.Tap(geometry.Point(10, 20)) 171 node.Tap(geometry.Point(10, 20), dp_units=True)
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 265 static GrDrawBatch* Create(const Geometry& geometry, SkPaint::Cap cap, DashAAMode aaMode, in Create() argument 267 return new DashBatch(geometry, cap, aaMode, fullDash); in Create() 283 DashBatch(const Geometry& geometry, SkPaint::Cap cap, DashAAMode aaMode, bool fullDash) in DashBatch() argument 285 fGeoData.push_back(geometry); in DashBatch() 292 SkScalar halfStrokeWidth = 0.5f * geometry.fSrcStrokeWidth; in DashBatch() 294 fBounds.set(geometry.fPtsRot[0], geometry.fPtsRot[1]); in DashBatch() 299 combinedMatrix.postConcat(geometry.fViewMatrix); in DashBatch() 703 DashBatch::Geometry geometry; in create_batch() local 704 geometry.fSrcStrokeWidth = strokeInfo.getWidth(); in create_batch() 712 align_to_x_axis(pts, &rotMatrix, geometry.fPtsRot); in create_batch() [all …]
|
/external/gptfdisk/ |
D | diskio-unix.cc | 185 struct hd_geometry geometry; in GetNumHeads() local 191 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumHeads() 192 numHeads = (uint32_t) geometry.heads; in GetNumHeads() 203 struct hd_geometry geometry; in GetNumSecsPerTrack() local 209 if (!ioctl(fd, HDIO_GETGEO, &geometry)) in GetNumSecsPerTrack() 210 numSecs = (uint32_t) geometry.sectors; in GetNumSecsPerTrack()
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | geometry_unittest.py | 16 from geometry.elements import Circle, Point 17 from geometry.minicircle import minicircle 18 from geometry.two_farthest_clusters import get_two_farthest_clusters
|