/external/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 127 static bool checkParallel(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2)… in checkParallel() argument 129 setQuadHullSweep(quad1, sweep); in checkParallel() 147 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel() 151 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in checkParallel() 161 static int quadHullsOverlap(skiatest::Reporter* reporter, const SkDQuad& quad1, in quadHullsOverlap() argument 164 setQuadHullSweep(quad1, sweep); in quadHullsOverlap() 195 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in quadHullsOverlap() 205 return checkParallel(reporter, quad1, quad2); in quadHullsOverlap() 226 static bool orderTRange(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in orderTRange() argument 229 orderQuads(reporter, quad1, r, &t1Array); in orderTRange() [all …]
|
D | PathOpsQuadIntersectionTest.cpp | 17 const SkDQuad& quad1 = quadraticTests[index][0]; in standardTestCases() local 18 SkASSERT(ValidQuad(quad1)); in standardTestCases() 22 int order1 = reduce1.reduce(quad1); in standardTestCases() 36 intersections.intersect(quad1, quad2); in standardTestCases() 40 SkDPoint xy1 = quad1.ptAtT(tt1); in standardTestCases() 326 const SkDQuad& quad1 = testSet[outer]; in oneOffTest1() local 327 SkASSERT(ValidQuad(quad1)); in oneOffTest1() 331 intersections.intersect(quad1, quad2); in oneOffTest1() 334 SkDPoint xy1 = quad1.ptAtT(tt1); in oneOffTest1() 374 const SkDQuad& quad1 = coincidentTestSet[test1]; in coincidentTestOne() local [all …]
|
D | PathOpsDebug.cpp | 752 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument 754 quad1.dumpInner(); in dumpTestCase() 773 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument 775 dumpTestCase(quad1, quad2, testNo); in DumpQ()
|
/external/jmonkeyengine/engine/src/test/jme3test/conversion/ |
D | TestMipMapGen.java | 66 Geometry quad1 = new Geometry("Textured Quad", quadMesh); in simpleInitApp() local 83 quad1.setMaterial(mat1); in simpleInitApp() 89 rootNode.attachChild(quad1); in simpleInitApp()
|
/external/opencv/cvaux/src/ |
D | cvepilines.cpp | 195 int icvComputeCoeffForStereoV3( double quad1[4][2], in icvComputeCoeffForStereoV3() 222 point1.x = (1.0 - alpha) * quad1[0][0] + alpha * quad1[3][0]; in icvComputeCoeffForStereoV3() 223 point1.y = (1.0 - alpha) * quad1[0][1] + alpha * quad1[3][1]; in icvComputeCoeffForStereoV3() 225 point2.x = (1.0 - alpha) * quad1[1][0] + alpha * quad1[2][0]; in icvComputeCoeffForStereoV3() 226 point2.y = (1.0 - alpha) * quad1[1][1] + alpha * quad1[2][1]; in icvComputeCoeffForStereoV3() 251 int icvComputeCoeffForStereoNew( double quad1[4][2], in icvComputeCoeffForStereoNew() 292 int status = icvComputeCoeffForStereoV3( quad1, in icvComputeCoeffForStereoNew() 311 double quad1[4][2]; in icvComputeCoeffForStereo() local 317 quad1[i][0] = stereoCamera->quad[0][i].x; in icvComputeCoeffForStereo() 318 quad1[i][1] = stereoCamera->quad[0][i].y; in icvComputeCoeffForStereo() [all …]
|
/external/skia/src/pathops/ |
D | SkPathOpsTSect.cpp | 10 int SkIntersections::intersect(const SkDQuad& quad1, const SkDQuad& quad2) { in intersect() argument 11 SkTSect<SkDQuad, SkDQuad> sect1(quad1 PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
|
D | SkAddIntersections.cpp | 285 SkDQuad quad1, quad2; in AddIntersectTs() local 403 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs() 410 quad1.set(wt.pts())); in AddIntersectTs() 416 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
|
D | SkPathOpsDebug.h | 236 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
|
/external/deqp/framework/common/ |
D | tcuTexLookupVerifier.cpp | 220 …ds (const LookupPrecision& prec, const ColorQuad& quad0, const ColorQuad& quad1, const Vec4& resul… in isInColorBounds() argument 222 const tcu::Vec4 minVal = min(min(quad0), min(quad1)) - prec.colorThreshold; in isInColorBounds() 223 const tcu::Vec4 maxVal = max(max(quad0), max(quad1)) + prec.colorThreshold; in isInColorBounds() 317 const ColorQuad& quad1, in isTrilinearRangeValid() argument 332 if (!isInColorBounds(prec, quad0, quad1, result)) in isTrilinearRangeValid() 342 …const Vec4 c1 = quad1.p00*(1.0f-a)*(1.0f-b) + quad1.p10*a*(1.0f-b) + quad1.p01*(1.0f-a)*b + quad1… in isTrilinearRangeValid() 391 const ColorQuad& quad1, in is2DTrilinearFilterResultValid() argument 413 if (!isInColorBounds(prec, quad0, quad1, result)) in is2DTrilinearFilterResultValid() 430 …const Vec4 c1 = quad1.p00*(1.0f-a1)*(1.0f-b1) + quad1.p10*a1*(1.0f-b1) + quad1.p01*(1.0f-a1)*b1 +… in is2DTrilinearFilterResultValid() 780 ColorQuad quad0, quad1; in isLinearSampleResultValid() local [all …]
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainQuad.java | 717 TerrainQuad quad1 = new TerrainQuad(getName() + "Quad1", blockSize, 720 quad1.setLocalTranslation(origin1); 721 quad1.quadrant = 1; 722 this.attachChild(quad1); 1240 Spatial quad1 = null; 1256 quad1 = spat; 1294 if (quad1 instanceof TerrainQuad) 1295 ((TerrainQuad)quad1).setHeight(quadLH1, overrideHeight); 1296 else if(quad1 instanceof TerrainPatch) 1297 ((TerrainPatch)quad1).setHeight(quadLH1, overrideHeight);
|
/external/webrtc/talk/media/base/ |
D | videoframe_unittest.h | 304 const uint8_t* quad1 = start + (y * awidth + x) * 2; in ConvertYuv422() local 305 frame->GetYPlane()[stride_y * y + x] = quad1[y1_pos]; in ConvertYuv422() 307 frame->GetYPlane()[stride_y * y + x + 1] = quad1[y2_pos]; in ConvertYuv422() 310 const uint8_t* quad2 = quad1 + awidth * 2; in ConvertYuv422() 312 quad2 = quad1; in ConvertYuv422() 315 (quad1[u_pos] + quad2[u_pos] + 1) / 2; in ConvertYuv422() 317 (quad1[v_pos] + quad2[v_pos] + 1) / 2; in ConvertYuv422()
|
/external/opencv/cvaux/include/ |
D | cvaux.h | 694 double quad1[4][2],
|