Home
last modified time | relevance | path

Searched refs:quad1 (Results 1 – 15 of 15) sorted by relevance

/external/skia/tests/
DPathOpsQuadIntersectionTest.cpp18 SkDQuad quad1; in standardTestCases() local
19 quad1.debugSet(q1.fPts); in standardTestCases()
20 SkASSERT(ValidQuad(quad1)); in standardTestCases()
26 int order1 = reduce1.reduce(quad1); in standardTestCases()
40 intersections.intersect(quad1, quad2); in standardTestCases()
44 SkDPoint xy1 = quad1.ptAtT(tt1); in standardTestCases()
337 SkDQuad quad1; in oneOffTest1() local
338 quad1.debugSet(q1.fPts); in oneOffTest1()
339 SkASSERT(ValidQuad(quad1)); 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
131 setQuadHullSweep(quad1, sweep); in checkParallel()
149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel()
153 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in checkParallel()
163 static int quadHullsOverlap(skiatest::Reporter* reporter, const SkDQuad& quad1, in quadHullsOverlap() argument
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
197 SkDVector m0 = quad1.ptAtT(0.5) - quad1[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
231 orderQuads(reporter, quad1, r, &t1Array); in orderTRange()
[all …]
DPathOpsDebug.cpp469 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument
471 quad1.dumpInner(); in dumpTestCase()
490 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument
492 dumpTestCase(quad1, quad2, testNo); in DumpQ()
/external/skqp/tests/
DPathOpsQuadIntersectionTest.cpp18 SkDQuad quad1; in standardTestCases() local
19 quad1.debugSet(q1.fPts); in standardTestCases()
20 SkASSERT(ValidQuad(quad1)); in standardTestCases()
26 int order1 = reduce1.reduce(quad1); in standardTestCases()
40 intersections.intersect(quad1, quad2); in standardTestCases()
44 SkDPoint xy1 = quad1.ptAtT(tt1); in standardTestCases()
337 SkDQuad quad1; in oneOffTest1() local
338 quad1.debugSet(q1.fPts); in oneOffTest1()
339 SkASSERT(ValidQuad(quad1)); 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
131 setQuadHullSweep(quad1, sweep); in checkParallel()
149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel()
153 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in checkParallel()
163 static int quadHullsOverlap(skiatest::Reporter* reporter, const SkDQuad& quad1, in quadHullsOverlap() argument
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
197 SkDVector m0 = quad1.ptAtT(0.5) - quad1[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
231 orderQuads(reporter, quad1, r, &t1Array); in orderTRange()
[all …]
DPathOpsDebug.cpp469 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument
471 quad1.dumpInner(); in dumpTestCase()
490 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument
492 dumpTestCase(quad1, quad2, testNo); in DumpQ()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp220 …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()
380 const ColorQuad& quad1, in isReductionValid() argument
388 …reductionMode == tcu::Sampler::MIN ? tcu::min(quad0.p00, quad1.p00) : tcu::max(quad0.p00, quad1.p0… in isReductionValid()
389 …reductionMode == tcu::Sampler::MIN ? tcu::min(quad0.p01, quad1.p01) : tcu::max(quad0.p01, quad1.p0… in isReductionValid()
390 …reductionMode == tcu::Sampler::MIN ? tcu::min(quad0.p10, quad1.p10) : tcu::max(quad0.p10, quad1.p1… in isReductionValid()
[all …]
/external/skqp/src/pathops/
DSkAddIntersections.cpp286 SkDQuad quad1, quad2; in AddIntersectTs() local
404 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
411 quad1.set(wt.pts())); in AddIntersectTs()
417 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
DSkPathOpsDebug.h488 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
DSkPathOpsTSect.cpp2086 SkTQuad quad1(q1); in intersect() local
2088 SkTSect sect1(quad1 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
/external/skia/src/pathops/
DSkAddIntersections.cpp286 SkDQuad quad1, quad2; in AddIntersectTs() local
404 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
411 quad1.set(wt.pts())); in AddIntersectTs()
417 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
DSkPathOpsDebug.h488 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
DSkPathOpsTSect.cpp2086 SkTQuad quad1(q1); in intersect() local
2088 SkTSect sect1(quad1 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
/external/webrtc/talk/media/base/
Dvideoframe_unittest.h304 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/mesa3d/src/gallium/drivers/swr/rasterizer/memory/
DStoreTile.h229 simd4scalari quad1 = SIMD128::load_si(&pSrc128[1]); // 4 5 6 7
233 SIMD128::storeu_si(ppDsts128[0], SIMD128::unpacklo_epi64(quad0, quad1)); // 0 1 4 5
234 SIMD128::storeu_si(ppDsts128[1], SIMD128::unpackhi_epi64(quad0, quad1)); // 2 3 6 7