Home
last modified time | relevance | path

Searched refs:quad2 (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
DPathOpsQuadIntersectionTest.cpp22 SkDQuad quad2; in standardTestCases() local
23 quad2.debugSet(q2.fPts); in standardTestCases()
24 SkASSERT(ValidQuad(quad2)); in standardTestCases()
27 int order2 = reduce2.reduce(quad2); in standardTestCases()
40 intersections.intersect(quad1, quad2); in standardTestCases()
46 SkDPoint xy2 = quad2.ptAtT(tt2); in standardTestCases()
341 SkDQuad quad2; in oneOffTest1() local
342 quad2.debugSet(q2.fPts); in oneOffTest1()
343 SkASSERT(ValidQuad(quad2)); in oneOffTest1()
345 intersections.intersect(quad1, quad2); in oneOffTest1()
[all …]
DPathOpsAngleIdeas.cpp129 static bool checkParallel(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2)… in checkParallel() argument
132 setQuadHullSweep(quad2, tweep); in checkParallel()
149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel()
154 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in checkParallel()
164 const SkDQuad& quad2) { in quadHullsOverlap() argument
167 setQuadHullSweep(quad2, tweep); in quadHullsOverlap()
198 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in quadHullsOverlap()
207 return checkParallel(reporter, quad1, quad2); in quadHullsOverlap()
228 static bool orderTRange(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in orderTRange() argument
232 orderQuads(reporter,quad2, r, &t2Array); in orderTRange()
[all …]
DPathOpsDebug.cpp785 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument
789 quad2.dump(); in dumpTestCase()
806 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument
808 dumpTestCase(quad1, quad2, testNo); in DumpQ()
/external/opencv/cvaux/src/
Dcvepilines.cpp196 double quad2[4][2], in icvComputeCoeffForStereoV3()
228 point3.x = (1.0 - alpha) * quad2[0][0] + alpha * quad2[3][0]; in icvComputeCoeffForStereoV3()
229 point3.y = (1.0 - alpha) * quad2[0][1] + alpha * quad2[3][1]; in icvComputeCoeffForStereoV3()
231 point4.x = (1.0 - alpha) * quad2[1][0] + alpha * quad2[2][0]; in icvComputeCoeffForStereoV3()
232 point4.y = (1.0 - alpha) * quad2[1][1] + alpha * quad2[2][1]; in icvComputeCoeffForStereoV3()
252 double quad2[4][2], in icvComputeCoeffForStereoNew()
293 quad2, in icvComputeCoeffForStereoNew()
312 double quad2[4][2]; in icvComputeCoeffForStereo() local
320 quad2[i][0] = stereoCamera->quad[1][i].x; in icvComputeCoeffForStereo()
321 quad2[i][1] = stereoCamera->quad[1][i].y; in icvComputeCoeffForStereo()
[all …]
/external/skia/src/pathops/
DSkPathOpsTSect.cpp10 int SkIntersections::intersect(const SkDQuad& quad1, const SkDQuad& quad2) { in intersect() argument
13 SkTSect<SkDQuad, SkDQuad> sect2(quad2 in intersect()
DSkAddIntersections.cpp284 SkDQuad quad1, quad2; in AddIntersectTs() local
402 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
441 quad2.set(wn.pts())); in AddIntersectTs()
479 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
DSkPathOpsDebug.h406 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h310 const uint8_t* quad2 = quad1 + awidth * 2; in ConvertYuv422() local
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/
Dcvaux.h695 double quad2[4][2],